PDA

View Full Version : ffmpeg Help


georgem67
9th January 2008, 10:45
"C:\Documents and Settings\Geo67\desktop\tools\ffmpeg.exe" -r 25 -f h264 -i xmen.264 -f ac3 -i xmen.audio.ac3 -vcodec copy -acodec copy -f vob xmen.vob

I created a batch file named ffm.bat with the above command....but when run it just flashes by & does not encode.
How can I get ffmpeg to run the command?

Cheers

buzzqw
9th January 2008, 10:51
the best would be to lauch from dos box.. and see the error..

anyway.. where are the input file ? in the same folder as ffmpeg.exe , here C:\Documents and Settings\Geo67\desktop\tools\ ?

BHH

georgem67
9th January 2008, 11:03
Yes the files are in the same folder.
thanks

buzzqw
9th January 2008, 11:35
add in your ffm.bat as new last row

pause > nul

save and launch, what's the error ?

BHH

georgem67
9th January 2008, 12:18
C:\Documents and Settings\Geo67\Desktop\tools> "C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg\ffmpeg.exe" -r 25 -f h264 -i xmen.264 -f ac3 -i xmen.audio.ac3 -vcodec copy -acodec copy -f vob xmen.vob

The system cannot find the path specified....
Why is C:\Documents and Settings\Geo67\Desktop\tools> appearing? and not just the command "C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg\ffmpeg.exe" -r 25 -f h264 -i xmen.264 -f ac3 -i xmen.audio.ac3 -vcodec copy -acodec copy -f vob xmen.vob

Thanks again for your reply

buzzqw
9th January 2008, 12:51
the ? is just the "pause" added and wait your return to quit

The system cannot find the path specified..

are you sure ffmpeg.exe is here C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg\ffmpeg.exe ?

BHH

georgem67
9th January 2008, 14:28
my ffmpeg is here:
C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg.exe

my video is named xmen & audio is named xmen.audio
they are in the same directory. I want to make a vob & was given this command line as follows:

"C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg.exe" -r 25 -f h264 -i xmen.264 -f ac3 -i xmen.audio.ac3 -vcodec copy -acodec copy -f vob xmen.vob

cheers

buzzqw
9th January 2008, 14:42
if all your files (ffmpeg.exe , xmen audio and video) are on the same folder edit the ffm.bat so

ffmpeg.exe -r 25 -f h264 -i "xmen.264" -f ac3 -i "xmen.audio.ac3" -vcodec copy -acodec copy -f vob xmen.vob


without path to ffmpeg and and with quotes


BHH

jamos
9th January 2008, 18:03
my ffmpeg is here:
C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg.exe

my video is named xmen & audio is named xmen.audio
they are in the same directory. I want to make a vob & was given this command line as follows:

"C:\Documents and Settings\Geo67\Desktop\tools\ffmpeg.exe" -r 25 -f h264 -i xmen.264 -f ac3 -i xmen.audio.ac3 -vcodec copy -acodec copy -f vob xmen.vob

cheers

but your acutal path (not the one you typed here) said \ffmpeg\ffmpeg.exe -> where it actually should be tools\ffmpeg.exe . but just do use it without the path name and you should be fine if all your files are in the same directory.