2007-09-20, 09:31 PM
I'm trying to convert a custom ffmpeg conversion thing in my config.xml to a string I can use in a .bat file. I just can't figure it out. Heres the bit I want to use,
I pieced together some code I found in the wiki and on this forum and came up with this,
It doesn't work.
What am I doing wrong? Can someone help? This is my first attempt at creating a batch file so I'm rather clueless at the moment. I hope to improve.
Thanks
Code:
<Conversion name="Make DVD ready" cmd=" -y -i {SOURCE_FILE} -sc_threshold 1000000000 -flags +cgop+ildct -target ntsc-dvd -f dvd -b 3000k -vcodec mpeg2video -acodec mp2 -ab 128 {DEST_FILE}" targetExtension=".new.mpg" />
Code:
@echo off
cd âC:\Program Files\devnz\gbpvr\Third Partyâ
FFmpeg\ffmpeg.exe -y -i â%~dpn1.mpgâ -sc_threshold 1000000000 -flags +cgop+ildct -target ntsc-dvd -f dvd -b 3000k -vcodec mpeg2video -acodec mp2 -ab 128 â%~dpn1.new.mpg"
![Sad Sad](https://forums.nextpvr.com/images/smilies/sad.png)
![Big Grin Big Grin](https://forums.nextpvr.com/images/smilies/biggrin.png)
Thanks