[MPlayer-users] no error revovery for ffmpeg???

Michael Niedermayer michaelni at gmx.at
Tue Apr 23 16:43:02 CEST 2002


Hi

On Tuesday 23 April 2002 15:27, Paul Ortyl wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
>
> 	I've got an avi file with some errors (in frames) so that with default
> ffmpeg decoder it fails -- the sound goes further but the video stops, and
> no rewinding seem to work for this.
>
> The same file played with -vc divx4 shows some bad pixels on the screen,
> but goes smoothly further.
>
> I've uploaded an example (part of the film copied with mencoder without
> sound) and two 'mplayer -v' logs.
>
> ftp://mplayerhq.hu./MPlayer/incoming/
> error_recovery_failed_for_ffmpeg_decoder.tar.bz2
[...]

file contains one damaged frame, but strangely mplayer allways passes this 
damaged frame to lavc unless lavc ignores the error, demuxer bug!?
possible workaround is to
------------------msmpeg4.c--------
    s->pict_type = get_bits(&s->gb, 2) + 1;
    if (s->pict_type != I_TYPE &&
        s->pict_type != P_TYPE)
+        s->pict_type = P_TYPE;
-        return -1;

-----------------------------------

Michael




More information about the MPlayer-users mailing list