[FFmpeg-devel] [RFC] support for Cam_PAL_D1_inter_Field_25fps_2.5MBS.mp4
Baptiste Coudurier
baptiste.coudurier
Fri Mar 21 14:45:27 CET 2008
Hi,
Reimar D?ffinger wrote:
> On Thu, Mar 20, 2008 at 07:26:20PM +0100, Michael Niedermayer wrote:
>> On Thu, Mar 20, 2008 at 03:43:34PM +0100, Reimar D?ffinger wrote:
>>> Hello,
>>> I made a patch that works for:
>>> http://samples.mplayerhq.hu/V-codecs/h264/PAFF/Cam_PAL_D1_inter_Field_25fps_2.5MBS.mp4
>>> I think this is probably the wrong approach and instead we need an
>>> AVParser for H.264 in mov, but I am not entirely sure, so please
>>> have a look at attached patch.
>> Could you explain in english words what the problem with that file is
>> and what your patch does? I could guess that its something with multiple
>> fields in a packet ...
>
> The problem with that file is,
> 1) only I-frames are displayed, since the code never finds a
> complementary field, which I think is due to the bottom field being in
> the same packet, so slice number is != 0, so the whole
> check-for-complete-frame code does not run.
> 2) Probably related to this, also the reference pictures used are the
> wrong ones, as can be seen when making FFmpeg always output a picture
> even if it thinks one field is still missing.
>
> [...]
>
> Updated, though as said I doubt it is quite the right way to do it, I am
> mostly hoping for someone else to come up with a better solution after
> the problem is truly clear (which I hope this patch will help to do).
>
FYI, latest flash player seems to play this file correctly.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG SAS http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel
mailing list