[FFmpeg-devel] ffmpeg latest git, extracting data streams seem broken
David Favor
david at davidfavor.com
Sun Jan 5 22:01:59 CET 2014
I just trying to extract a data stream for later use.
Seems like this use to work.
My question, is this a bug or have I just screwed up
the data stream extract syntax.
I've asked about this on the user list. No clear answer.
Thanks.
_______
David-Favor-iMac> ffmpeg -version
ffmpeg version 2.1.1-2014-01-05-59573-gee16e0c
built on Jan 5 2014 14:46:57 with gcc 4.8.2 (MacPots gcc48 4.8.2_0)
configuration: --prefix=/david-favor-tools/osx-10.9 --enable-pic --enable-gpl --disable-debug
--extra-cflags='-I/david-favor-tools/osx-10.9/include -I/opt/local/include -I/usr/local/include
-I/usr/include' --extra-ldflags='-Wl,-rpath,/david-favor-tools/osx-10.9/lib
-Wl,-rpath,/opt/local/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/lib
-L/david-favor-tools/osx-10.9/lib -L/opt/local/lib -L/usr/local/lib -L/usr/lib' --enable-version3
--enable-shared --disable-static --enable-ffplay --enable-ffprobe --enable-ffserver
--enable-runtime-cpudetect --enable-nonfree --enable-zlib --enable-bzlib --enable-openssl
--enable-libmp3lame --enable-libfaac --enable-libfdk_aac --enable-libvpx --enable-libtheora
--enable-libvorbis --enable-libxvid --enable-libopus --enable-libopenjpeg --enable-libx264
--enable-postproc --enable-frei0r --enable-libopencore-amrnb --enable-libfreetype
--enable-libmodplug --enable-libass --enable-openssl
libavutil 52. 60.100 / 52. 60.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.102 / 55. 22.102
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
_______
ffmpeg -i "VTS_01_0.VOB" 2>&1 | egrep '^ *(Duration:|Stream)'
Duration: 00:00:33.99, start: 0.300300, bitrate: 80296 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 8:9 DAR 4:3],
max. 8000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
_______
I'm trying to extract stream #0:0 into a file for later use.
The command which I seem to remember using was something like this,
which now produces an error, which seems to be trying a conversion
of the data stream to a DTS audio stream...
ffmpeg -y -i VTS_01_0.VOB -map 0:0 -c:d copy -f data foo.data
David-Favor-iMac> ffmpeg -y -i VTS_01_0.VOB -map 0:0 -c:d copy -f data foo.data
ffmpeg version 2.1.1-2014-01-05-59573-gee16e0c Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 5 2014 14:46:57 with gcc 4.8.2 (MacPots gcc48 4.8.2_0)
configuration: --prefix=/david-favor-tools/osx-10.9 --enable-pic --enable-gpl --disable-debug
--extra-cflags='-I/david-favor-tools/osx-10.9/include -I/opt/local/include -I/usr/local/include
-I/usr/include' --extra-ldflags='-Wl,-rpath,/david-favor-tools/osx-10.9/lib
-Wl,-rpath,/opt/local/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/lib
-L/david-favor-tools/osx-10.9/lib -L/opt/local/lib -L/usr/local/lib -L/usr/lib' --enable-version3
--enable-shared --disable-static --enable-ffplay --enable-ffprobe --enable-ffserver
--enable-runtime-cpudetect --enable-nonfree --enable-zlib --enable-bzlib --enable-openssl
--enable-libmp3lame --enable-libfaac --enable-libfdk_aac --enable-libvpx --enable-libtheora
--enable-libvorbis --enable-libxvid --enable-libopus --enable-libopenjpeg --enable-libx264
--enable-postproc --enable-frei0r --enable-libopencore-amrnb --enable-libfreetype
--enable-libmodplug --enable-libass --enable-openssl
libavutil 52. 60.100 / 52. 60.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.102 / 55. 22.102
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Guessed Channel Layout for Input Stream #0.2 : stereo
Input #0, mpeg, from 'VTS_01_0.VOB':
Duration: 00:00:33.99, start: 0.300300, bitrate: 80296 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 8:9 DAR
4:3], max. 8000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s
Output #0, data, to 'foo.data':
Metadata:
encoder : Lavf55.22.102
Stream #0:0: Data: dvd_nav_packet
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpeg @ 0x7fb56c003400] New subtitle stream 0:3 at pos:5228558 and DTS:5.3053s
[data @ 0x7fb56c002e00] Application provided invalid, non monotonically increasing dts to muxer in
stream 0: 22651629 >= 22651629
[data @ 0x7fb56c002e00] Application provided invalid, non monotonically increasing dts to muxer in
stream 0: 25669644 >= 25669644
[data @ 0x7fb56c002e00] Application provided invalid, non monotonically increasing dts to muxer in
stream 0: 28687659 >= 28687659
size= 1381kB time=00:05:52.28 bitrate= 32.1kbits/s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
More information about the ffmpeg-devel
mailing list