[FFmpeg-user] ffv1 version 3 read_quant_table error

Paul B Mahol onemda at gmail.com
Tue Feb 12 18:58:57 CET 2013


On 2/12/13, Dave Rice <dave at dericed.com> wrote:
> Hi all,
>
> I'm producing an ffv1 version 3 test file via this command:
>
> ffmpeg -y -f lavfi -i mandelbrot -t 1 -c:v ffv1 -level 3 -strict -2
> mandel_ffv1_v3.mov
> ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
>   built on Feb 12 2013 10:28:33 with Apple clang version 3.1
> (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
> --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
> --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags=
> --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame
> --enable-libxvid --enable-libfreetype --enable-libass --enable-ffplay
> --enable-libopenjpeg
> --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
>   libavutil      52. 17.101 / 52. 17.101
>   libavcodec     54. 91.103 / 54. 91.103
>   libavformat    54. 63.100 / 54. 63.100
>   libavdevice    54.  3.103 / 54.  3.103
>   libavfilter     3. 37.101 /  3. 37.101
>   libswscale      2.  2.100 /  2.  2.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  2.100 / 52.  2.100
> [lavfi @ 0x7fc80183d800] Estimating duration from bitrate, this may be
> inaccurate
> Input #0, lavfi, from 'mandelbrot':
>   Duration: N/A, start: 0.000000, bitrate: N/A
>     Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 640x480 [SAR 1:1
> DAR 4:3], 25 tbr, 25 tbn, 25 tbc
> [ffv1 @ 0x7fc801886c00] Storing alpha plane, this will require a recent FFV1
> decoder to playback!
> [mov @ 0x7fc801863a00] Using MS style video codec tag, the file may be
> unplayable!
> Output #0, mov, to 'mandel_ffv1_v3.mov':
>   Metadata:
>     encoder         : Lavf54.63.100
>     Stream #0:0: Video: ffv1, bgra, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200
> kb/s, 12800 tbn, 25 tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (rawvideo -> ffv1)
> Press [q] to stop, [?] for help
> frame=   25 fps=3.0 q=0.0 Lsize=    6002kB time=00:00:01.00
> bitrate=49166.2kbits/s
> video:6001kB audio:0kB subtitle:0 global headers:0kB muxing overhead
> 0.013816%
>
> When I then try to read the file I get many read_quant_table errors and the
> file will not play back in ffplay.
>
> ffmpeg -i mandel_ffv1_v3.mov -f null -
> ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
>   built on Feb 12 2013 10:28:33 with Apple clang version 3.1
> (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
> --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
> --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags=
> --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame
> --enable-libxvid --enable-libfreetype --enable-libass --enable-ffplay
> --enable-libopenjpeg
> --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
>   libavutil      52. 17.101 / 52. 17.101
>   libavcodec     54. 91.103 / 54. 91.103
>   libavformat    54. 63.100 / 54. 63.100
>   libavdevice    54.  3.103 / 54.  3.103
>   libavfilter     3. 37.101 /  3. 37.101
>   libswscale      2.  2.100 /  2.  2.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  2.100 / 52.  2.100
> [ffv1 @ 0x7ff1e086ba00] read_quant_table error
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mandel_ffv1_v3.mov':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 512
>     compatible_brands: qt
>     encoder         : Lavf54.63.100
>   Duration: 00:00:01.00, start: 0.000000, bitrate: 49166 kb/s
>     Stream #0:0(eng): Video: ffv1 (FFV1 / 0x31564646), yuva444p, 640x480,
> 49159 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc
>     Metadata:
>       handler_name    : DataHandler
> Output #0, null, to 'pipe:':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 512
>     compatible_brands: qt
>     encoder         : Lavf54.63.100
>     Stream #0:0(eng): Video: rawvideo (Y4[0][8] / 0x8003459), yuva444p,
> 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
>     Metadata:
>       handler_name    : DataHandler
> Stream mapping:
>   Stream #0:0 -> #0:0 (ffv1 -> rawvideo)
> Press [q] to stop, [?] for help
> [ffv1 @ 0x7ff1e086ba00] read_quant_table error
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] read_quant_table error
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] Cannot decode non-keyframe without valid keyframe
> Error while decoding stream #0:0: Invalid data found when processing input
> [ffv1 @ 0x7ff1e086ba00] read_quant_table error
> Error while decoding stream #0:0: Invalid data found when processing input
> frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
> 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)
>
> Am I doing something wrong?

I can't reproduce this with HEAD.


More information about the ffmpeg-user mailing list