Opened 5 years ago

Last modified 4 years ago

#785 open defect

"HEADER ERROR" flooding with RM material

Reported by: ubitux Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: rv20 real
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

It seems the rv20 codec (or the rm demuxer) has troubles with the following sample:

% ./ffplay ~/header-error-flood.rm
ffplay version N-35883-g552ec4c, Copyright (c) 2003-2011 the FFmpeg developers
  built on Dec 17 2011 02:37:24 with gcc 4.6.2 20111125 (prerelease)
  configuration: --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-x11grab --enable-libopenjpeg --enable-version3 --enable-libmodplug --enable-libass --cc='ccache cc'
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 46. 0 / 53. 46. 0
  libavformat  53. 26. 0 / 53. 26. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[rm @ 0x344af60] Unsupported stream type 44415441
[rm @ 0x344af60] max_analyze_duration 5000000 reached at 5014000
Input #0, rm, from '/home/ubitux/header-error-flood.rm':
  Metadata:
    title           : SMA 5503
    author          : MIT Streaming Media & Compression Services
    copyright       : ©2001 Massachusetts Institute of Technology
    comment         : 
  Duration: 01:24:24.55, start: 0.000000, bitrate: 10 kb/s
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, flt, 32 kb/s
    Stream #0:1: Video: rv20 (RV20 / 0x30325652), yuv420p, 640x480, 187 kb/s, 10 fps, 10 tbr, 1k tbn, 1k tbc
    Stream #0:2: Data: none
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
Frame changed from size:640x480 to size:320x480vq= 1355KB sq=    0B f=0/0   
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1350KB sq=    0B f=0/0   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set9KB vq= 1348KB sq=    0B f=0/1   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1343KB sq=    0B f=0/1   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1340KB sq=    0B f=0/3   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set9KB vq= 1389KB sq=    0B f=0/7   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1387KB sq=    0B f=0/8   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1386KB sq=    0B f=0/8   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1383KB sq=    0B f=0/8   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1380KB sq=    0B f=0/9   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1355KB sq=    0B f=0/9   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[...]

The playback is fine after the initial flood though, so priority is set to minor.

Attachments (1)

header-error-flood.rm (1.0 MB) - added by ubitux 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by ubitux

comment:1 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords header error removed
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Additionally, aspect is wrong (should be played as 640x480) with ffplay and MPlayer.

The red shadows are correct, the binary decoder also shows them.

comment:2 Changed 5 years ago by reimar

Aspect is fixed in MPlayer, patch to fix it in MPlayer with -demuxer lavf sent, ffplay seems to have issues with handling sample aspect changes so that is unfixed.
I am not sure about the HEADER ERROR thing, it might be a "frame skipped" flag but I'm not sure whether it is a good idea or not to silence the warning.

comment:3 Changed 4 years ago by cehoyos

  • Keywords real added; rm removed
Note: See TracTickets for help on using tickets.