[FFmpeg-devel] ffmpeg latest git, extracting data streams seem broken
David Favor
david at davidfavor.com
Thu Jan 30 19:36:14 CET 2014
Carl Eugen Hoyos wrote:
> David Favor <david <at> davidfavor.com> writes:
>
>> Posted several times to ffmpeg-users...
>
> Please post (again) there, pointing to your sample
> and posting your failing ffmpeg command line including
> the complete, uncut console output.
>
> Carl Eugen
I think the best way to ask this question is what is the
correct '-f type' to use for extracting any chunk of data
from a video container.
Seems like '-f data' is incorrect.
The reference to DTS suggests ffmpeg imagines the data
stream to be an audio stream.
http://DavidFavor.com/data contains the VOB file.
_______
net1# ffmpeg -y -i VTS_01_0.VOB -map 0:0 -c:d copy -f data foo.data
ffmpeg version 2.1.2-2014-01-14-59851-g05fac0b Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 14 2014 16:35:33 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/david-favor-tools/ubuntu-13.10 --enable-pic --enable-gpl --disable-debug --extra-cflags='-I/david-favor-tools/ubuntu-13.10/include -I/opt/local/include -I/usr/local/include
-I/usr/include' --extra-ldflags='-Wl,-rpath,/david-favor-tools/ubuntu-13.10/lib -Wl,-rpath,/opt/local/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/lib -L/david-favor-tools/ubuntu-13.10/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. 62.100 / 52. 62.100
libavcodec 55. 48.101 / 55. 48.101
libavformat 55. 23.103 / 55. 23.103
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 1.100 / 4. 1.100
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.23.103
Stream #0:0: Data: dvd_nav_packet
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpeg @ 0x13dd160] New subtitle stream 0:3 at pos:5228558 and DTS:5.3053s
[data @ 0x13deb00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 22651629 >= 22651629
[data @ 0x13deb00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 25669644 >= 25669644
[data @ 0x13deb00] 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