[MPlayer-users] codec help

D Richard Felker III dalias at aerifal.cx
Wed May 12 19:06:33 CEST 2004


On Wed, May 12, 2004 at 08:33:54AM -0500, Bret Hughes wrote:
> On Wed, 2004-05-12 at 01:43, D Richard Felker III wrote:
> > On Tue, May 11, 2004 at 09:30:56AM -0500, Bret Hughes wrote:
> > > On Mon, 2004-05-10 at 23:57, rcooley wrote:
> > > > On 10 May 2004 13:43:37 -0500
> > > > Bret Hughes <bhughes at elevating.com> wrote:
> > > > 
> > > > > [mpeg2video @ 0x847f660]MPEG1/2 doesnt support 2997/100 fps
> > > > 
> > > > This was addressed days ago on this list.  I believe you need to set
> > > > "vstrict"(probably to 0, maybe -1).
> > > > 
> > > 
> > > Hmm sorry I guess I missed that.  I set -ofps 30 and it worked.
> > 
> > This is definitely wrong. Set -ofps 29.97002997.
> > 
> 
> Does this assume that the mpeg will be played back on a television?  We

No, it assumes the original fps was 30000/1001 (aka "29.97") and it
was incorrectly stored in the avi file as 2997/100 rather than
30000/1001. Using -ofps 30 will likely require a significant number of
frame duplicates (about 1 every 33 seconds) while -ofps 29.97002997
(which gets correctly rounded to 30000/1001) will only get a duplicate
frame every 33000 seconds (i.e. never unless your movie is _really_
wrong :).

Rich




More information about the MPlayer-users mailing list