[FFmpeg-user] audio streams
Rick C.
rickcorteza at gmail.com
Thu Nov 10 01:43:58 CET 2011
On Nov 9, 2011, at 8:55 PM, Carl Eugen Hoyos wrote:
> Rick C. <rickcorteza <at> gmail.com> writes:
>
>> I have noticed that taking .vob files from a DVD and converting them to let's
>> say .mp4 (ffmpeg -i input.vob output.mp4) will often grab the wrong audio
>> track and the converted .mp4 will end up with a narrative track or something
>> but not the expected default audio track. What is the best way to address
>> this issue?
>
> (Complete, uncut output missing.)
>
> The -map option allows you to choose which stream(s) of the input file should be
> encoded.
>
> Carl Eugen
>
Sorry here's the output below. I guess there's no choice but to use the -map option in this case?
Last login: Thu Nov 10 08:37:18 on ttys001
mahalkos-MacBook:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Desktop/VTS_04_1.VOB -t 180 -qscale 10 /Users/mahalko/Desktop/test.mp4
ffmpeg version 0.8.6, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 5 2011 10:59:17 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x101807c00] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from '/Users/mahalko/Desktop/VTS_04_1.VOB':
Duration: 00:23:56.44, start: 0.203422, bitrate: 5979 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x20]: Subtitle: dvdsub
Stream #0.2[0x21]: Subtitle: dvdsub
Stream #0.3[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.4[0x81]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
[buffer @ 0x101413b20] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:
Output #0, mp4, to '/Users/mahalko/Desktop/test.mp4':
Metadata:
encoder : Lavf53.4.0
Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream #0.1: Audio: aac, 48000 Hz, 5.1, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.4 -> #0.1
Press [q] to stop, [?] for help
frame= 4502 fps=116 q=10.0 Lsize= 13450kB time=00:03:00.01 bitrate= 612.1kbits/s
video:12043kB audio:1303kB global headers:0kB muxing overhead 0.777514%
mahalkos-MacBook:~ mahalko$
More information about the ffmpeg-user
mailing list