Opened 12 years ago

Closed 12 years ago

#710 closed defect (fixed)

vqavideo codec playback corruption

Reported by: Elon Musk Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: vqa
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Some samples do not play correctly: after few seconds in sample everything gets messed up.

For example attached sample.

Change History (6)

comment:2 by Carl Eugen Hoyos, 12 years ago

Please add at least complete, uncut output of ffmpeg -i B0EB8711.VQA

comment:3 by Elon Musk, 12 years ago

ffmpeg version git-2011-12-05-4547d88, Copyright (c) 2000-2011 the FFmpeg developers

built on Dec 5 2011 21:06:41 with clang 3.0 (branches/release_30 142614)
configuration: --disable-indev=alsa --disable-outdev=alsa --enable-postproc --enable-libcdio --enable-gpl --enable-shared --disable-static --disable-indev=bktr --enable-openssl --enable-nonfree --cc=clang
libavutil 51. 30. 0 / 51. 30. 0
libavcodec 53. 40. 0 / 53. 40. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 51. 0 / 2. 51. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

[wsvqa @ 0x29870100] max_analyze_duration 5000000 reached at 5000000
[wsvqa @ 0x29870100] Estimating duration from bitrate, this may be inaccurate
Input #0, wsvqa, from '/tmp/B0EB8711.VQA':

Duration: 00:25:09.33, bitrate: 88 kb/s

Stream #0:0: Video: ws_vqa, pal8, 640x400, 15 fps, 15 tbr, 15 tbn, 15 tbc
Stream #0:1: Audio: adpcm_ima_ws, 22050 Hz, 1 channels, s16, 88 kb/s

At least one output file must be specified

comment:4 by Carl Eugen Hoyos, 12 years ago

Keywords: vqa added
Reproduced by developer: set
Status: newopen

out.avi looks very broken...

$ ffmpeg -loglevel 99 -i B0EB8711.VQA -an -qscale 2 out.avi
ffmpeg version N-35464-g4547d88, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 23:59:08 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
[wsvqa @ 0x13a27a0] Format wsvqa probed with size=2048 and score=100
[vqavideo @ 0x13a8b80] err{or,}_recognition separate: 1; 1
[vqavideo @ 0x13a8b80] err{or,}_recognition combined: 1; 65537
[adpcm_ima_ws @ 0x13a9360] err{or,}_recognition separate: 1; 1
[adpcm_ima_ws @ 0x13a9360] err{or,}_recognition combined: 1; 65537
[wsvqa @ 0x13a27a0] max_analyze_duration 5000000 reached at 5000000
[wsvqa @ 0x13a27a0] Estimating duration from bitrate, this may be inaccurate
Input #0, wsvqa, from 'B0EB8711.VQA':
  Duration: 00:25:09.33, bitrate: 88 kb/s
    Stream #0:0, 77, 1/15: Video: ws_vqa, pal8, 640x400, 1/15, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1, 0, 1/15: Audio: adpcm_ima_ws, 22050 Hz, 1 channels, s16, 88 kb/s
Incompatible pixel format 'pal8' for codec 'mpeg4', auto-selecting format 'yuv420p'
[buffer @ 0x13a7340] w:640 h:400 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x13a7740] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x13a7f60] w:640 h:400 fmt:pal8 -> w:640 h:400 fmt:yuv420p flags:0x4
[mpeg4 @ 0x13a3080] err{or,}_recognition separate: 1; 1
[mpeg4 @ 0x13a3080] err{or,}_recognition combined: 1; 65537
[mpeg4 @ 0x13a3080] intra_quant_bias = 0 inter_quant_bias = -64
[mpeg4 @ 0x13a3080] Unsupported bit depth: 0
[vqavideo @ 0x13a8b80] err{or,}_recognition separate: 1; 65537
[vqavideo @ 0x13a8b80] err{or,}_recognition combined: 1; 65537
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.24.0
    Stream #0:0, 0, 1/15: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x400, 1/15, q=2-31, 200 kb/s, 15 tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (vqavideo -> mpeg4)
Press [q] to stop, [?] for help
frame=  699 fps=160 q=2.0 Lsize=   74932kB time=00:00:46.60 bitrate=13172.5kbits/s
video:74909kB audio:0kB global headers:0kB muxing overhead 0.029727%

comment:5 by reimar, 12 years ago

Patch sent to list.

comment:6 by reimar, 12 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.