[FFmpeg-user] Mosaic issue when playing RMVB with ffmpeg

刘 岐 lingjiujianke at gmail.com
Sat Oct 12 10:39:02 CEST 2013


在 2013-10-12,下午2:33,Carl Eugen Hoyos <cehoyos at ag.or.at> 写道:

> Wang Xingchao <wangxingchao2011 <at> gmail.com> writes:
> 
>> The issue is reproduced with below environments:
>> - ffplay version 0.8
> 
>> please note this issue doesnot occur with ffplay 2.0 
>> on desktop.
> 
> Don't you agree that there is nothing that we can do 
> about this issue or do I miss something?
> 

Hi Carl,

	I can reproduce the problem, perhaps this is ffplay bug?
	Playback the rmvb video file with B-frame, And use the 
	
	the full output is bellow:

	[StevenLiu at liudeMacBook-Pro ffmpeg]$ cat output.log
ffplay version N-56531-g6d61a91 Copyright (c) 2003-2013 the FFmpeg developers
  built on Oct  9 2013 18:01:50 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: 
  libavutil      52. 45.100 / 52. 45.100
  libavcodec     55. 33.100 / 55. 33.100
  libavformat    55. 18.102 / 55. 18.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 86.102 /  3. 86.102
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
[rm @ 0x7fd34180dc00] Invalid stream index 2 for index at pos 120266381
Input #0, rm, from '/Users/StevenLiu/Movies/Fuck_mosaic.rmvb':
  Metadata:
    title           : unknown
    author          : tiger-king-soft
    copyright       : 
    comment         : 
    ASMRuleBook     : #($Bandwidth >= 0),Stream1Bandwidth = 96468, Stream0Bandwidth = 653532;
    Audiences       : 750k Download (VBR);
    audioMode       : music
    Creation Date   : 1/5/2012 15:41:11
    Generated By    : Helix Producer SDK 10.0 for Windows, Build 10.0.0.545
    Modification Date: 1/5/2012 15:41:11
    videoMode       : normal
  Duration: 00:20:59.45, start: 0.000000, bitrate: 763 kb/s
    Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 640x480, 662 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 96 kb/s
[rv40 @ 0x7fd3418f5000] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341912a00] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341930400] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd3418f5000] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341912a00] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341930400] Invalid decoder state: B-frame without reference data.
Truncating packet of size 990377780 to 117756985B sq=    0B f=0/0   
[rm @ 0x7fd34180dc00] Impossibly sized packet
[rv40 @ 0x7fd3418d8200] Changing dimensions to 160x120
[rv40 @ 0x7fd3418d8200] marking unfished frame as finished
[rv40 @ 0x7fd3418d8200] concealing 79 DC, 79 AC, 79 MV errors in I frame
[rv40 @ 0x7fd3418f5000] First slice header is incorrect
[rv40 @ 0x7fd341912a00] Context scratch buffers could not be allocated due to unknown size.
[rv40 @ 0x7fd341912a00] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341930400] Context scratch buffers could not be allocated due to unknown size.
[rv40 @ 0x7fd341930400] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd34194de00] Context scratch buffers could not be allocated due to unknown size.
[rv40 @ 0x7fd34194de00] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd3418f5000] concealing 80 DC, 80 AC, 80 MV errors in B frame
[rv40 @ 0x7fd341912a00] concealing 80 DC, 80 AC, 80 MV errors in B frame
[rv40 @ 0x7fd341930400] concealing 80 DC, 80 AC, 80 MV errors in B frame
[rv40 @ 0x7fd341912a00] Dquant for B-frame  137KB sq=    0B f=0/0   
    Last message repeated 1 times
[rv40 @ 0x7fd3418d8200] Changing dimensions to 640x480   0B f=0/0   
[rv40 @ 0x7fd3418f5000] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341912a00] Context scratch buffers could not be allocated due to unknown size.
Truncating packet of size 990377780 to 117756985B sq=    0B f=0/0   
[rm @ 0x7fd34180dc00] Impossibly sized packet
[rv40 @ 0x7fd3418d8200] Changing dimensions to 160x120
[rv40 @ 0x7fd3418d8200] marking unfished frame as finished
[rv40 @ 0x7fd3418d8200] concealing 79 DC, 79 AC, 79 MV errors in I frame
[rv40 @ 0x7fd3418f5000] First slice header is incorrect
[rv40 @ 0x7fd341912a00] Context scratch buffers could not be allocated due to unknown size.
[rv40 @ 0x7fd341912a00] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341930400] Context scratch buffers could not be allocated due to unknown size.
[rv40 @ 0x7fd341930400] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd34194de00] Context scratch buffers could not be allocated due to unknown size.
[rv40 @ 0x7fd34194de00] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd3418f5000] concealing 80 DC, 80 AC, 80 MV errors in B frame
[rv40 @ 0x7fd341912a00] concealing 80 DC, 80 AC, 80 MV errors in B frame
[rv40 @ 0x7fd341930400] concealing 80 DC, 80 AC, 80 MV errors in B frame
[rv40 @ 0x7fd341912a00] Dquant for B-frame=  137KB sq=    0B f=0/0   
    Last message repeated 1 times
[rv40 @ 0x7fd3418d8200] Changing dimensions to 640x480   0B f=0/0   
[rv40 @ 0x7fd3418f5000] Invalid decoder state: B-frame without reference data.
[rv40 @ 0x7fd341912a00] Context scratch buffers could not be allocated due to unknown size.
1254.33 A-V: -0.005 fd=   3 aq=    2KB vq=   78KB sq=    0B f=0/0   
[StevenLiu at liudeMacBook-Pro ffmpeg]$ 


I just playing the rmvb file and press "Left key" .



Thanks


More information about the ffmpeg-user mailing list