[MPlayer-dev-eng] [PATCH] automatic fps for mpeg4 raw/in TS

Michael Niedermayer michaelni at gmx.at
Thu Jan 6 01:04:04 CET 2005


Hi

On Wednesday 05 January 2005 23:12, Nico Sabbi wrote:
> Michael Niedermayer wrote:
> >Hi
> >
> >On Wednesday 05 January 2005 22:09, Nico Sabbi wrote:
> >>Hi,
> >>this patch permits to determine automatically the initial fps of mpeg4
> >>video in the VOL header,
> >>so there's no need to specify it with -fps.
> >>
> >>Michael, can you please check it?
> >
> >did u try it with a few different framerates like a 24000/1001 .m4v stream
> >generated by ffmpeg? i doubt it will work
> >
> >[...]
>
> I checked some fancy fps but not the fractional ones; now I see they
> aren't recognized
> correctly.
> If I understand correctly the specs the fixed_timeinc is given by the
> smallest
> number of bits (up to 16) to represent   timeinc_resolution-1, correct ?

IIRC, yes


> What's wrong? :)

many mpeg4 files have no fixed_timeinc 

[...]
-- 
Michael

"In any case, just because code is syntactically "valid" GNU C doesn't 
mean gcc can always compile it." -- justification to close a gcc bug




More information about the MPlayer-dev-eng mailing list