[FFmpeg-devel] MG1264 / LML26415 H264 video samples / issues
Sat Mar 1 11:03:53 CET 2008
On Tue, Feb 26, 2008 at 09:02:55PM +0300, Vassili Leonov wrote:
> On Tue, 2008-02-26 at 14:51 +0100, Reimar D?ffinger wrote:
> > > [h264 @ 0x84d7970]P sub_mb_type 4 out of range at 15 7
> > > [h264 @ 0x84d7970]error while decoding MB 15 7
> > > [h264 @ 0x84d7970]P sub_mb_type 5 out of range at 10 6
> >Please provide a sample for this, none of samples you gave give any
> >messages at all for me...
> If you can play D1 H264 samples smoothly and without errors from
> http://linuxmedialabs.com/samples/ then I'm completely happy person for
> today :-)
No, just no error messages.
E.g. this is one change that gives "smooth" but ugly playback:
--- h264.c (revision 12275)
+++ h264.c (working copy)
@@ -3993,7 +3993,8 @@
- h->frame_num= get_bits(&s->gb, h->sps.log2_max_frame_num);
+ h->frame_num= get_bits(&s->gb, h->sps.log2_max_frame_num) >> 1;
h->mb_mbaff = 0;
h->mb_aff_frame = 0;
For some reason the frame number increases with each field in this file,
which seems to be an encoding mode that FFmpeg does not support.
Each field is encoded in a separate slice here btw...
More information about the ffmpeg-devel