ok using that command sting on a file that plays perfectly in vlc, the output file has NO sound. I noticed that when ffmpeg starts out it doesn't mention muxing or reading a audio stream. Ay idea why this would be? the input file is an unencrypted vob file.Code:ffmpeg" -y -r 30 -i "<%InputFile%>" -deinterlace -bitexact -vcodec h264 -coder 0 -bufsize 256 -g 250 -vlevel 30 -fixaspect -s 640x480 -b 800 -maxrate 1400 -sameq -passlogfile "<%OutputFile%>" -pass 1 -acodec aac -ac 2 -ar 48000 -ab 64 -f ipod "<%TemporaryFile%>.M4V""
+ Reply to Thread
Results 1 to 16 of 16
-
-
I have encoded tons (400+) of files with this same batchfile yet this is the only one that doesn't output sound..... so m4v is no problem.
-
What is the output from the command?
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
Indeed. But ffmpeg should output some info similar to:
Code:FFmpeg version SVN-r8597, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-memalign-hack --disable-debug --enable-pthreads --enable-liba52 --enable-gpl --enable-libdts --enable-libfaad libavutil version: 49.4.0 libavcodec version: 51.40.2 libavformat version: 51.11.0 built on May 9 2007 20:15:40, gcc: 4.3.0 20061204 (experimental) Input #0, matroska, from 'sample-001.mkv': Duration: 00:06:52.0, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 640x368, 25.00 fps(r) Stream #0.1: Audio: aac, 48000 Hz, 5:1 Stream #0.2: Audio: aac, 48000 Hz, 5:1 Output #0, dvd, to 'sample-001_S2D.mpg': Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=1-31, 9000 kb/s, 25.00 fps(c) Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 448 kb/s Stream #0.2: Audio: ac3, 48000 Hz, 5:1, 448 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Stream #0.2 -> #0.2 Press [q] to stop encoding
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
oh sorry the output is:
Code:K:\rips\streams>ffmpeg -y -r 30 -i talespin_101.vob -t 00:02:00 -deinterlace -bi texact -vcodec h264 -coder 0 -bufsize 256 -g 250 -vlevel 30 -fixaspect -s 640x36 0 -b 800 -maxrate 1400 -sameq -acodec aac -ac 2 -ar 48000 -ab 64 -f ipod out.M4V ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb - -enable-amr_wb --disable-ffplay --enable-small --enable-memalign-hack --enable-g pl --enable-xvid --enable-dts --enable-a52 --disable-vhook --enable-pthread --en able-x264 built on Dec 1 2005 17:25:10, gcc: 3.4.4 (cygming special) (gdc 0.12, using d md 0.125) Input #0, mpeg, from 'talespin_101.vob': Duration: N/A, start: 0.280633, bitrate: N/A Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 29.97 fps, 9800 kb/s Output #0, ipod, to 'out.M4V': Stream #0.0: Video: h264, yuv420p, 640x360, 29.97 fps, q=2-31, 800 kb/s Stream mapping: Stream #0.0 -> #0.0 [h264 @ 0x7aee38]width or height not divisible by 16 (640x360), compression will suffer. [h264 @ 0x7aee38]no need for a SAR [h264 @ 0x7aee38]using cpu capabilities MMX MMXEXT SSE SSE2 Press [q] to stop encoding
Code:K:\rips\streams>ffmpeg -y -r 30 -i naruto_101.vob -t 00:02:00 -deinterlace -bite xact -vcodec h264 -coder 0 -bufsize 256 -g 250 -vlevel 30 -fixaspect -s 640x360 -b 800 -maxrate 1400 -sameq -acodec aac -ac 2 -ar 48000 -ab 64 -f ipod out.M4V ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb - -enable-amr_wb --disable-ffplay --enable-small --enable-memalign-hack --enable-g pl --enable-xvid --enable-dts --enable-a52 --disable-vhook --enable-pthread --en able-x264 built on Dec 1 2005 17:25:10, gcc: 3.4.4 (cygming special) (gdc 0.12, using d md 0.125) Input #0, mpeg, from 'naruto_101.vob': Duration: 00:23:35.5, start: 0.060000, bitrate: 8118 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 29.97 fps, 9800 kb/s Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 192 kb/s Output #0, ipod, to 'out.M4V': Stream #0.0: Video: h264, yuv420p, 640x360, 29.97 fps, q=2-31, 800 kb/s Stream #0.1: Audio: aac, 48000 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [h264 @ 0x7aee38]width or height not divisible by 16 (640x360), compression will suffer. [h264 @ 0x7aee38]no need for a SAR [h264 @ 0x7aee38]using cpu capabilities MMX MMXEXT SSE SSE2 Press [q] to stop encoding
-
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
Well yes. There is audio (as you know as you have heard it!) - more importantly, the audio stream is bonefide. In general ffmpeg would have no issue with it but your 18 month old build does. ffmpeg development is very fluid and everyday a new build can be compiled. Either compile the latest from svn or locate the latest binary you can find. Maybe from : http://ffdshow.faireal.net/mirror/ffmpeg/
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
Got the new version from the site you suggested but now i have a new problem....... ffmpeg don't like m4v or h264............. it syas something like "no suitable file format fount for h264" now what do i do???
ps. i tried both m4v and mp4...... -
You need a build that has been compiled with --en
able-x264
Check out: http://arrozcru.no-ip.org/ffmpeg_builds/SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
The build has x264 enabled. Just that there is no ipod output format in ffmpeg. The build you were using must have been patched. Think that there were some patches on the mailing list, but I guess they never got integrated. Think there was also talk of adding an ipod target (like it currently has VCD, DVD, etc.).
-
Kill the -bitexact, -fixaspect, and -f ipod switches.
Also -sameq is clashing with setting a bitrate. It should overide -b and be restricted by -maxrate.
I find sameq useless in any case.
Use -qmin -qmax and -qscale to set quality if you're not going to set a specific bitrate.
Bitrate must be set in bit/s or add a "k" for kilobits 256k or "M" (capital) for Mbits
Code:ffmpeg" -y -r 30 -i "<%InputFile%>" -deinterlace -vcodec h264 -coder 0 -bufsize 256k -g 250 -vlevel 30 -s 640x480 -b 800k -maxrate 1400k -passlogfile "<%OutputFile%>" -pass 1 -acodec aac -ac 2 -ar 48000 -ab 64k "<%TemporaryFile%>.Mp4""
Maybe you could try these:
http://rob.opendot.cl/index.php/useful-stuff/ipod-video-guide/
gl -
I might just use the new version of ffmpeg to trascode the audi in the vobs to something the "my" version can understand. Also after i changed to the sameq setting i got much much better encodes with two pass. I'll see if that works......
Similar Threads
-
ffmpeg doesn't work at all
By Paulo2009 in forum ffmpegX general discussionReplies: 27Last Post: 4th Aug 2009, 23:55 -
Why does this mpg file doesn't play sound in my divx player?
By Stealth3si in forum Newbie / General discussionsReplies: 15Last Post: 5th Jul 2009, 19:00 -
Programs won't reconize video file ?!
By Beastly Swagger in forum Video ConversionReplies: 1Last Post: 26th Jan 2009, 17:42 -
Merging audio file and video file using ffmpeg
By suresh3484 in forum ffmpegX general discussionReplies: 3Last Post: 17th Aug 2008, 21:20 -
Merging audio file and video file using ffmpeg
By suresh3484 in forum ffmpegX general discussionReplies: 0Last Post: 27th May 2008, 03:05