2007-02-18, 08:50 PM
-Oz- Wrote:i was having that problem so i'm still using the 0.2 bat script one 1pass.
The output from the scripts shouldn't be very different. Mencoder1.0pre8 fixed the junk data for me.
2007-02-18, 08:50 PM
-Oz- Wrote:i was having that problem so i'm still using the 0.2 bat script one 1pass. The output from the scripts shouldn't be very different. Mencoder1.0pre8 fixed the junk data for me.
2007-02-22, 01:46 PM
Hey stattik,
I got the latest 0.4b and have a few questions: The directory that contains the files I need transcoded is: d:\research\hidden camera shows Inside of that I have one subdirectory called: d:\research\hidden camera shows\THE_GAGS_ON_YOU Inside this directory I have 3 files that I wanted transcoded: the gags on you [DVD] - 01.mpg the gags on you [DVD] - 02.mpg the gags on you [DVD] - 03.mpg I made my settings like this: set recordings_path=D:\research\hidden~1\ :: AUTO-TRANSCODE SETTINGS SET directory_monitoring=yes SET transcode_directories="THE_GAGS_ON_YOU" SET secondary_transcode_directory=D:\research\hidden~1\ SET target_extension=edl SET transcode_extension=mpg SET secondary_transcode_extension=null SET script_wait=30 When I ran the batch file, it did not find anything to transcode?? I am guessing my settings are wrong somehow: stattik's Mencoder Automation Script Version 0.4b . Variables Loaded. Script is starting. . Automated Directory Scanning has been enabled. . There are no files to transcode at this time....checking again in 30 minutes. Can you point me in the right direction here??? Thanks!!
2007-02-22, 01:56 PM
Hey sttatik,
I changed: SET target_extension=edl to SET target_extension=mpg and something different happened. Here is the latest output: stattik's Mencoder Automation Script Version 0.4b . Variables Loaded. Script is starting. . Automated Directory Scanning has been enabled. . . The following files will be transcoded... . "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 01.mpg" "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 02.mpg" "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 03.mpg" "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 01.mpg" "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 02.mpg" "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 03.mpg" . . stattik's Mencoder Automation Script Version 0.4b . Variables Loaded. Script is starting. . Now Processing "D:\research\hidden~1\THE_GAGS_ON_YOU\the gags on you [DVD] - 01. mpg" . Copying EDL file to create PTL file. . Getting source file info... Ignore any errors for the next 4-6 lines ![]() . . The system cannot find the path specified. Divide by zero error. Missing operand. Missing operand. Missing operand. Missing operand. . . Checking to see if source file matches any transcode profiles. . Applying automatic encoding logic to source file. and then the window closes... but nothing seems to happen as far as transcoding.. help!
I'll do some testing. In the meantime if you're in a hurry, you can SET target_extension=edl and create some blank edl files for the shows you want to transcode. Then the script should work fine.
The reason that the script lists the shows twice is because of this part of the config: SET transcode_directories="THE_GAGS_ON_YOU" SET secondary_transcode_directory=D:\research\hidden~1 \ SET transcode_directories will add any files found in the listed directories. SET secondary_transcode_directory will add any file found in any subdirectories. Since you configured both, it found the files in each sweep and added them to the list. I'll be back with more info.
2007-02-22, 03:52 PM
Hey,
I copied your script to another machine and changed the directories and used the same settings and its working over there!!! no idea what went wrong on this machine though.. No big deal now because the files I needed to transcode were on the other machine anyway ![]() Thanks!
2007-02-22, 07:48 PM
curt1s Wrote:Hey, Interesting. I wonder what the difference was. The following output... Code: Missing operand. ...typically means that mplayer was unable to get file info. That could be due to a buggy file or a buggy version of mplayer.
2007-03-14, 06:11 AM
I noticed that the scripts was overwriting the ".avi" files I tried to transcode, and found out that I just had to change this line:
:: Change filename if source and destination extensions are the same. IF /I "%~x1" == ".%dest_ext%" ( the original was: :: Change filename if source and destination extensions are the same. IF /I "%~x1" == %dest_ext% ( Now everything works fine. By the way, why does it call another window to run memcoder.exe? If I remove every "start /wait /low", I´ll get into trouble? And another one. For DVP-642, I think the best option for audio is "cbr" instead of "abr". Actually never had any problems with "abr", but it was on every DVP-642 docs I´ve read across the net. Anyway "cbr" is easier to cut and join with VirtualDub. [EOM]
2007-03-15, 04:26 PM
psicotron3 Wrote:I noticed that the scripts was overwriting the ".avi" files I tried to transcode, and found out that I just had to change this line: Thanks for the info. That's fixed in the next version. psicotron3 Wrote:By the way, why does it call another window to run memcoder.exe? If I remove every "start /wait /low", I´ll get into trouble? It was a matter of preference for me. I choose it because I was able to spawn it off minimalized and at low priority. Plus in auto mode, it acts as sort of log file that shows what files have been transcoded and at what settings. I've never tried running it from inside the script. Tell me how it works out if you attempt it. psicotron3 Wrote:And another one. For DVP-642, I think the best option for audio is "cbr" instead of "abr". Actually never had any problems with "abr", but it was on every DVP-642 docs I´ve read across the net. Anyway "cbr" is easier to cut and join with VirtualDub. The DVP-642 profile has always been off-and-on for me. Sometimes transcodes would be fine. Other times, I would have problems with AV synch. I never really got too much feedback so I left it as is. So you transcode with the script and then cut/join with virtualdub? What is the source material that you use with the profile?
2007-03-16, 03:06 AM
psicotron3 Wrote:By the way, why does it call another window to run memcoder.exe? If I remove every "start /wait /low", I´ll get into trouble? -stattik- Wrote:It was a matter of preference for me. I choose it because I was able to spawn it off minimalized and at low priority. Plus in auto mode, it acts as sort of log file that shows what files have been transcoded and at what settings. I've never tried running it from inside the script. Tell me how it works out if you attempt it. I tried and it worked, but it seems that mencoder doesn´t aceppt the documented "-priority" option, it will always run with normal priority. To bypass that issue, I´m using PRIO software (free for personal use, can be found at http://www.prnwatch.com/prio.html). This programs atachs itself to the default Windows Task Manager and saves every priority I set. So if I set mencoder to run at "idle" once, it´ll always open with that priority. Now, I can run the script from Windows Scheduler, and configure the job to end 4 hours after it have started. The batch will stop (killing mencoder process too, if it´s still running) at the desired time. psicotron3 Wrote:And another one. For DVP-642, I think the best option for audio is "cbr" instead of "abr". Actually never had any problems with "abr", but it was on every DVP-642 docs I´ve read across the net. Anyway "cbr" is easier to cut and join with VirtualDub. -stattik- Wrote:The DVP-642 profile has always been off-and-on for me. Sometimes transcodes would be fine. Other times, I would have problems with AV synch. I never really got too much feedback so I left it as is. So you transcode with the script and then cut/join with virtualdub? What is the source material that you use with the profile? I only do my transcodes with the DVP-642 profile, it never failed, and I never had sync problems. My source material are various Brazilian TV movies and animes, captured trought my analog Pixelview PlayTV Pro Ultra, using GBPVR WDM Software Card Plugin. The converted files play fine on my philips DVP-5100 (the substitute for DVP-642). Virtualdub don´t deal with vbr audio very well, so every time I need to cut something I have to extract the audio to wav and make virtualdub recompress it with to constant bitrate. This is another tranconding pass that I can eliminate just by setting mencoder to generate files with cbr audio instead of abr or vbr. Altought I can´t try it, I think there would be no problems playing the videos with cbr audio on dvp-642 too. If it can do VBR and ABR, I´m sure it could handle CBR. And it also may solve your problem with audio sync. [EOM]
2007-03-16, 04:00 PM
psicotron3 Wrote:Virtualdub don´t deal with vbr audio very well, so every time I need to cut something I have to extract the audio to wav and make virtualdub recompress it with to constant bitrate. This is another tranconding pass that I can eliminate just by setting mencoder to generate files with cbr audio instead of abr or vbr. I'll add cbr audio encoding back to the DVP-642 profile for the next version. Thanks for all the info. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Yet another guide enhancer :0) | carpeVideo | 18 | 10,395 |
2010-04-07, 03:39 PM Last Post: carpeVideo |
|
Guide Questions | native | 6 | 4,282 |
2010-02-10, 01:23 PM Last Post: native |
|
Mencoder with multiple TS audio streams | lanmat | 2 | 4,624 |
2009-11-09, 12:15 PM Last Post: lanmat |
|
mencoder error messages | fvfv | 3 | 2,868 |
2009-10-19, 08:07 PM Last Post: -stattik- |
|
TV guide table colour | Pob | 3 | 2,505 |
2009-09-21, 10:55 PM Last Post: Snooze |
|
Searching Guide Contents | skycyclepilot | 1 | 2,034 |
2009-08-23, 03:30 PM Last Post: McBainUK |
|
Search for Movies in TV Guide | spdrac1 | 1 | 2,042 |
2009-05-23, 03:37 PM Last Post: JavaWiz |
|
MPEG2 transcoding to Xvid/AAC -which plug-in/tool are best fit? | blizard | 6 | 5,144 |
2009-03-01, 05:43 PM Last Post: Deusxmachina |
|
Warning: Mencoder and large MPEG2 files can fail | jam_zhou | 1 | 1,705 |
2008-07-26, 01:39 AM Last Post: sgilani |
|
Comskip, Comclean, Rename Recording, and Transcoding | heath11 | 18 | 10,764 |
2008-03-27, 11:45 PM Last Post: _Dude_ |