[FFmpeg-user] Looking for suggestions for backing up my DVDs
Francesco Turco
fturco at fastmail.fm
Mon Mar 28 16:34:39 CEST 2016
On Mon, Mar 28, 2016, at 16:09, Carl Eugen Hoyos wrote:
> Why do you want to remux a file that is in a container
> understood by every single media player into another
> container?
I don't have a valid, rational reason. Just because Matroska is more
recent and sounds cool.
> When asking for help on this mailing list, please always
> provide command line including complete, uncut console output
> (at least first and last 50 lines), do not post excerpts.
OK, sorry.
--------------------------------------
*** From VOB to VOB, removing useless cruft ***
$ ffmpeg -i alien-1.vob -map 0:0 -map 0:2 -map 0:3 -codec copy
-metadata:s:a:0 language=ita -metadata:s:a:1 language=eng output.vob
ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static
--disable-stripping --enable-avisynth --enable-avresample
--enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa
--enable-libass --enable-libbluray --enable-libdcadec
--enable-libfreetype --enable-libfribidi --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2
--enable-libvidstab --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-shared --enable-version3 --enable-x11grab
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mpeg, from 'alien-1.vob':
Duration: 00:13:25.27, start: 0.029622, bitrate: 53794 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576
[SAR 64:45 DAR 16:9], max. 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0:1[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:2[0x83]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:3[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:4[0x89]: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768
kb/s
[svcd @ 0x56218a48c520] VBV buffer size not set, using default size of
130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, svcd, to 'output.vob':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR
16:9], q=2-31, max. 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1(ita): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Stream #0:3 -> #0:2 (copy)
Press [q] to stop, [?] for help
[svcd @ 0x56218a48c520] Timestamps are unset in a packet for stream 0.
This is deprecated and will stop working in the future. Fix your code to
set the timestamps properly
[mpeg @ 0x56218a0b0f40] New subtitle stream 0:5 at pos:8292366 and
DTS:11.2136s
[mpeg @ 0x56218a0b0f40] New subtitle stream 0:6 at pos:84649998 and
DTS:121.054s
[mpeg @ 0x56218a0b0f40] New subtitle stream 0:7 at pos:84652046 and
DTS:121.054s
[mpeg @ 0x56218a0b0f40] New subtitle stream 0:8 at pos:297287694 and
DTS:398.694ss speed= 287x
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=706
size=1792rate=5111.6kbits/s speed= 282x
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=1749
size=1792ate=5462.6kbits/s speed=60.2x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=721
size=1792rate=5444.8kbits/s speed=60.7x
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=1041
size=1536ate=5404.8kbits/s speed=62.8x
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=555
size=1536rate=5449.1kbits/s speed=61.9x
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=980
size=1536rate=5481.6kbits/s speed=53.5x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=924
size=1536rate=5513.1kbits/s speed=53.1x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=1414
size=1536ate=5513.1kbits/s speed=53.9x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=684
size=1792rate=5499.5kbits/s speed=54.5x
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=987
size=1536rate=5482.7kbits/s speed=54.4x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=1089
size=1536ate=5481.8kbits/s speed=54.5x
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=1535
size=1792rate=5474.2kbits/s speed=48.1x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=1205
size=1536rate=5486.0kbits/s speed=47.8x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=744
size=1536trate=5489.3kbits/s speed=48.1x
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=1001
size=1536rate=5489.8kbits/s speed= 48x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=1247
size=1536rate=5501.9kbits/s speed=49.1x
Last message repeated 1 times
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=1697
size=1792rate=5510.9kbits/s speed=49.2x
[svcd @ 0x56218a48c520] buffer underflow st=1 bufi=848
size=1536trate=5488.0kbits/s speed=49.3x
[svcd @ 0x56218a48c520] buffer underflow st=2 bufi=1787
size=1792rate=5532.1kbits/s speed=45.6x
frame=167773 fps=1080 q=-1.0 Lsize= 4561790kB time=01:51:49.18
bitrate=5570.0kbits/s speed=43.2x
video:3822048kB audio:681577kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 1.291524%
----------------------------------------------
*** From VOB to MKV, removing useless cruft ***
$ ffmpeg -i alien-1.vob -map 0:0 -map 0:2 -map 0:3 -codec copy
-metadata:s:a:0 language=ita -metadata:s:a:1 language=eng output.mkv
ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static
--disable-stripping --enable-avisynth --enable-avresample
--enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa
--enable-libass --enable-libbluray --enable-libdcadec
--enable-libfreetype --enable-libfribidi --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2
--enable-libvidstab --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-shared --enable-version3 --enable-x11grab
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mpeg, from 'alien-1.vob':
Duration: 00:13:25.27, start: 0.029622, bitrate: 53794 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576
[SAR 64:45 DAR 16:9], max. 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0:1[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s
Stream #0:2[0x83]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:3[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:4[0x89]: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768
kb/s
Output #0, matroska, to 'output.mkv':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 720x576
[SAR 64:45 DAR 16:9], q=2-31, max. 7500 kb/s, 25 fps, 25 tbr, 1k
tbn, 90k tbc
Stream #0:1(ita): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), 384 kb/s
Stream #0:2(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz,
5.1(side), 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Stream #0:3 -> #0:2 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x55cf449f5520] Timestamps are unset in a packet for stream
0. This is deprecated and will stop working in the future. Fix your code
to set the timestamps properly
[matroska @ 0x55cf449f5520] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
[matroska @ 0x55cf449f5520] Can't write packet with unknown timestamp
Error writing trailer of output.mkv: Invalid argumentframe= 7 fps=0.0
q=-1.0 Lsize= 27kB time=00:00:00.21 bitrate=1008.6kbits/s speed=
394x
video:12kB audio:14kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.874158%
Conversion failed!
More information about the ffmpeg-user
mailing list