[FFmpeg-user] problems with vob to mkv

Jason Pollard jdp803 at gmail.com
Sun Aug 10 05:47:57 CEST 2014


I'm running into errors with the following which is causing problems with
playback.  Is this indicative of corrupt input?

cat VTS_11_*.VOB | ffmpeg -i - -codec:v libx264 -sn -profile:v high -b:v 1k
-maxrate 500k -bufsize 10k -vf scale=-1:720 -s 1280x720 -codec:a ac3 -b:a
128k frozen.mkv

ffmpeg version 2.1.5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul  8 2014 20:44:17 with gcc 4.8.3 (GCC) 20140624 (Red Hat
4.8.3-1)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r
--enable-gnutls --enable-libass --enable-libcdio --enable-libcelt
--enable-libdc1394 --disable-indev=jack --enable-libfreetype
--enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx
--enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter
--enable-avresample --enable-postproc --enable-pthreads --disable-static
--enable-shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mpeg, from 'pipe:':
  Duration: N/A, start: 0.207756, bitrate: 1344 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m),
720x480 [SAR 32:27 DAR 16:9], max. 9800 kb/s, 34.50 fps, 59.94 tbr, 90k
tbn, 59.94 tbc
    Stream #0:2[0x20]: Subtitle: dvd_subtitle
    Stream #0:3[0x21]: Subtitle: dvd_subtitle
    Stream #0:4[0x22]: Subtitle: dvd_subtitle
    Stream #0:5[0x23]: Subtitle: dvd_subtitle
    Stream #0:6[0x24]: Subtitle: dvd_subtitle
    Stream #0:7[0x25]: Subtitle: dvd_subtitle
    Stream #0:8[0x26]: Subtitle: dvd_subtitle
    Stream #0:9[0x27]: Subtitle: dvd_subtitle
    Stream #0:10[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:11[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:12[0x82]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:13[0x83]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
[libx264 @ 0x1254c20] using SAR=1/1
[libx264 @ 0x1254c20] using cpu capabilities: MMX2 SSE2Fast LZCNT
[libx264 @ 0x1254c20] VBV buffer size cannot be smaller than one frame,
using 16 kbit
[libx264 @ 0x1254c20] profile High, level 3.1
[libx264 @ 0x1254c20] 264 - core 138 r2363 c628e3b - H.264/MPEG-4 AVC codec
- Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1
ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1 ratetol=1.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=500 vbv_bufsize=16
nal_hrd=none ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'frozen.mkv':
  Metadata:
    encoder         : Lavf55.19.104
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 1 kb/s, 1k tbn, 29.97 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
fltp, 128 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video -> libx264)
  Stream #0:10 -> #0:1 (ac3 -> ac3)
[ac3 @ 0x12f6640] frame CRC mismatch1047kB time=00:00:57.97 bitrate=
148.0kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1092kB time=00:01:00.60 bitrate=
147.7kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1176kB time=00:01:05.49 bitrate=
147.1kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1197kB time=00:01:06.71 bitrate=
147.0kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1264kB time=00:01:10.65 bitrate=
146.6kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1289kB time=00:01:12.15 bitrate=
146.4kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1363kB time=00:01:16.60 bitrate=
145.8kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1424kB time=00:01:20.15 bitrate=
145.5kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1490kB time=00:01:24.09 bitrate=
145.1kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1531kB time=00:01:26.49 bitrate=
145.0kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1588kB time=00:01:29.88 bitrate=
144.7kbits/s
[ac3 @ 0x12f6640] frame CRC mismatch1633kB time=00:01:32.53 bitrate=
144.6kbits/s
[ac3 @ 0x12f6640] frame CRC mismatch1700kB time=00:01:36.41 bitrate=
144.4kbits/s
[ac3 @ 0x12f6640] frame CRC mismatch1743kB time=00:01:38.97 bitrate=
144.2kbits/s
[ac3 @ 0x12f6640] frame CRC mismatch1800kB time=00:01:42.42 bitrate=
144.0kbits/s
[ac3 @ 0x12f6640] frame CRC mismatch1844kB time=00:01:45.01 bitrate=
143.9kbits/s
[ac3 @ 0x12f6640] frame CRC mismatch1921kB time=00:01:49.21 bitrate=
144.1kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch1967kB time=00:01:51.70 bitrate=
144.3kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2037kB time=00:01:55.64 bitrate=
144.3kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2083kB time=00:01:58.36 bitrate=
144.2kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2156kB time=00:02:02.13 bitrate=
144.6kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2199kB time=00:02:04.02 bitrate=
145.3kbits/s
[ac3 @ 0x12f6640] frame sync error  2224kB time=00:02:05.14 bitrate=
145.6kbits/s
Error while decoding stream #0:10: Invalid data found when processing input
[matroska @ 0x1256280] Non-monotonous DTS in output stream 0:1; previous:
125115, current: 125109; changing to 125115. This may result in incorrect
timestamps in the output file.
[ac3 @ 0x12f6640] frame CRC mismatch2280kB time=00:02:06.96 bitrate=
147.1kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2337kB time=00:02:08.91 bitrate=
148.5kbits/s
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2386kB time=00:02:10.99 bitrate=
149.2kbits/s dup=0 drop=2
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2462kB time=00:02:14.45 bitrate=
150.0kbits/s dup=0 drop=2
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2490kB time=00:02:15.86 bitrate=
150.1kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2562kB time=00:02:19.66 bitrate=
150.3kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2611kB time=00:02:22.32 bitrate=
150.3kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2684kB time=00:02:26.58 bitrate=
150.0kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2734kB time=00:02:29.42 bitrate=
149.9kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2828kB time=00:02:34.51 bitrate=
149.9kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input
[ac3 @ 0x12f6640] frame CRC mismatch2854kB time=00:02:35.98 bitrate=
149.9kbits/s dup=0 drop=3
[ac3 @ 0x12f6640] frame sync error
Error while decoding stream #0:10: Invalid data found when processing input


More information about the ffmpeg-user mailing list