NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 13 14 15 16 17 … 56 Next »
mTranscode BETA - automatic encoding of recordings

 
  • 0 Vote(s) - 0 Average
mTranscode BETA - automatic encoding of recordings
kayleigh
Offline

Senior Member

Posts: 321
Threads: 18
Joined: Oct 2004
#11
2005-12-14, 06:21 PM
Do you have your default script engine specified? Try putting Wscript.exe or Cscript.exe in front of the command to troubleshoot. (Put //X at the end of the commandline to run in debug mode.)
Code:
start /low cscript "c:\program files\devnz\gbpvr\transcoder\mtranscode.vbs" //Nologo
[SIZE=1]
HD PVR: nPVR 4.2.2 with VLC 3.0.3 Std Skin
ASRock H170M Pro4 LGA 1151 Intel H170 HDMI-out, Intel Core i3-6100 3.7GHz, 16GB DDR4 2400, Win7 Ultimate x64, Hauppauge Colossus, 1x250GB SSD (System), 1x1TB SATA (Recordings), DirecTV HD22 STB, dtvTune.exe Ethernet channel changer

Running Samsung Smart TV plugin from Fred250
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#12
2005-12-14, 10:11 PM
hey sorry guys, my bad for not testing this thoroughly.

here's the fix...I just tried it at home in a batch file.

cd "{directory of mtranscode.vbs"}
start /min /low mtranscode.vbs

Note, if you have mtranscode in a different drive then you will have to change drives as well in the batch file.

Hope you guys can get it working.
SniperDude
Offline

Member

Posts: 185
Threads: 6
Joined: Dec 2005
#13
2005-12-15, 04:56 AM
reboot... verify your system can execute VBS scripts... most security patches/programs will disable them...
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#14
2005-12-15, 03:58 PM (This post was last modified: 2005-12-15, 04:30 PM by reboot.)
No, I know I can. I have a couple of other .vbs scripts I run.
It was the directory problem I think.
I'll test some more and let you know.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#15
2005-12-15, 04:33 PM (This post was last modified: 2005-12-15, 04:57 PM by reboot.)
Latest test threw this up.
OK, I solved that error somehow, but looking through the log, I found a new problem.

I have comskip, then videoredo removes commercials, then renamerecordings, then mencoder.
Renamerecordings is changing the whole procedure.
It's renaming the file, then changing the name of the original to include "_original.mpg" at the end of the filename.
mtranscode.vbs (or whatever) can't find the file, because of the added extention.
Is there a way to have mencoder do it's thing on the already renamed (thus commercials removed) file?
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#16
2005-12-15, 05:20 PM
Reboot, does this thread help?

http://forums.nextpvr.com/showthread.php...recordings

Essentially, you want to make the queue after rename recordings...I don't use that so I'm not sure how it works. I'll look into it though.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#17
2005-12-15, 05:22 PM (This post was last modified: 2005-12-15, 05:27 PM by reboot.)
Partial Success!
Modified the naming scheme thus:
Code:
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
RenameRecordings %1 > renamerecordings.log
move "%~dpn1_original.mpg" "%~dpn1.mpg"
I now get a commercial free mpg, and a transcoded avi, but with the commercials still in it Sad
There's gotta be a way...

Edit: I looked at that thread, and I'm not sure it works for me, for a couple of reasons.
I run everything in parallelprocessing.bat, so comskip is done when the recording ends, and I use videoredo to "see" the comskip output, and remove the commercials automatically, then renamerecordings, then mencoder.
Because of the videoredo.vbs file, I need things in this order. I may be able to modify it (working on that now), to see if it will pick up the renamed file.
If you have any ideas, this is the code that calls videoredo:
Code:
cscript //nologo "C:\Program Files\VideoReDoPlus\vp.vbs" "%~dpn1.VPrj" "%~dpn1_Cleaned.mpg" /t1 /q
I really need to have renamerecordings, it's essential, so if anyone has a workaround...
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#18
2005-12-15, 05:27 PM
Huh? Reboot, if you have access to the new name after it's cleaned so readily, why don't you use:

echo %newname_cleaned% >> transcode_queue.txt
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#19
2005-12-15, 05:36 PM
reboot,

can you post or mail a log file of renamerecordings where it actually renamed a file so I can check my script that tries to pick up the new name so you can run all the tools after renamerecordins?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#20
2005-12-15, 05:55 PM (This post was last modified: 2005-12-15, 06:10 PM by reboot.)
Here's a log of one of my tests.
Code:
File 'D:\The Secret World of Benjamin Bear\The Secret World of Benjamin Bear_20051215_09110936.csv' renamed to
     'D:\The Secret World of Benjamin Bear\Take It Away Ben; Auctioning Edgar.csv'
File 'D:\The Secret World of Benjamin Bear\The Secret World of Benjamin Bear_20051215_09110936.log' renamed to
     'D:\The Secret World of Benjamin Bear\Take It Away Ben; Auctioning Edgar.log'
File 'D:\The Secret World of Benjamin Bear\The Secret World of Benjamin Bear_20051215_09110936.mpg' renamed to
     'D:\The Secret World of Benjamin Bear\Take It Away Ben; Auctioning Edgar.mpg'
File 'D:\The Secret World of Benjamin Bear\The Secret World of Benjamin Bear_20051215_09110936.txt' renamed to
     'D:\The Secret World of Benjamin Bear\Take It Away Ben; Auctioning Edgar.txt'
File 'D:\The Secret World of Benjamin Bear\The Secret World of Benjamin Bear_20051215_09110936.VPrj' renamed to
     'D:\The Secret World of Benjamin Bear\Take It Away Ben; Auctioning Edgar.VPrj'
As you can see. I put each recording into it's own folder via gbpvr, then renamerecordings renames everything.

What I'm testing right now, is doing the transcode after comskip/videoredo, but BEFORE renamerecordings, and it should work, and I'll have to manually move the transcoded file to it's other location (same drive, different folder) which isn't really a problem, as I can append something like:
Code:
move *.avi d:\avis\*.*
after renamerecordings (I haven't really worked out the syntax yet).

Edit: Doesn't work having renamerecordings after the transcode Sad
I mean, transcoding works, but renaming doesn't.
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 2 3 4 5 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  New LG and Samsung NextPVR Web Smart TV App available for beta testing. fred250 388 137,981 2017-04-10, 10:46 AM
Last Post: fred250
  Bluray Player Beta whurlston 23 11,985 2015-10-05, 09:32 AM
Last Post: Lao Pan
  Movies beta vik 66 30,735 2015-03-31, 03:13 AM
Last Post: Lao Pan
  Need beta testers for "NextPVR for Samsung" (client for samsung smart tvs/blurays) reven 61 27,281 2013-12-03, 10:21 AM
Last Post: martint123
  imageGrabLite Beta mvallevand 84 61,684 2013-10-04, 06:40 PM
Last Post: mvallevand
  SSPlus Screensaver - Photo Slideshow Beta ACTCMS 40 13,928 2012-12-07, 01:49 AM
Last Post: ACTCMS
  New External App : Channel Logo Tools For NPVR (Beta) systemshark 0 1,679 2011-09-03, 08:15 AM
Last Post: systemshark
  SSPlus 0.9.1 BETA - a screensaver for NPVR ACTCMS 18 6,014 2011-07-18, 12:52 AM
Last Post: johnsonx42
  System Plugin for nPVR - Early Beta imilne 176 47,423 2011-07-16, 04:31 PM
Last Post: johnsonx42
  NPVR Rename Recordings Batch File raceviper13 8 8,006 2011-04-23, 11:52 PM
Last Post: raceviper13

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode