[FFmpeg-user] ffv1 version 3 read_quant_table error

Peter B. pb at das-werkstatt.com
Tue Feb 12 21:08:35 CET 2013


On 02/12/2013 06:58 PM, Paul B Mahol wrote:
> I can't reproduce this with HEAD.
I can reproduce it with current git HEAD:

//----------------------------------
$ ffmpeg_git -y -f lavfi -i mandelbrot -t 1 -c:v ffv1 -level 3 -strict
-2 mandel_ffv1_v3.mov
//----------------------------------
ffmpeg version N-49843-g1ecce26 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Feb 12 2013 20:44:43 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
  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 @ 0x2f161e0] 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 @ 0x2f33f80] Storing alpha plane, this will require a recent FFV1
decoder to playback!
[mov @ 0x2f33780] 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=0.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%


//----------------------------------
$ ffmpeg_git -i mandel_ffv1_v3.mov -f null -
//----------------------------------
ffmpeg version N-49843-g1ecce26 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Feb 12 2013 20:44:43 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
  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 @ 0x1d247a0] 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 @ 0x1d247a0] read_quant_table error
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] read_quant_table error
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] Cannot decode non-keyframe without valid keyframe
Error while decoding stream #0:0: Invalid data found when processing input
[ffv1 @ 0x1d247a0] 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)


Also ffprobe returns a "read_quant_table error":
//----------------------------------
$ ffprobe_git mandel_ffv1_v3.mov
//----------------------------------
ffprobe version N-49843-g1ecce26 Copyright (c) 2007-2013 the FFmpeg
developers
  built on Feb 12 2013 20:44:43 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
  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 @ 0x2f14c80] 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
------------

I've tried to use AVI as output container (instead of MOV) and it works
fine, btw.
(also playback with ffprobe (git HEAD) is working).

------------
What I found interesting is, that the initial encoding says that its
output is:
"FFV1, bgra" - which matches the input source which is rawvideo "RGBA, rgba"

But when trying to open the output video, both ffmpeg and ffprobe say
it's "ffv1, yuva444p".


Regards,
Pb




More information about the ffmpeg-user mailing list