[MPlayer-dev-eng] patch: YUV4MPEG2 demuxer

Alex Beregszaszi alex at naxine.org
Thu Dec 27 12:56:42 CET 2001


Hi,

On Thu, Dec 27, 2001 at 12:42:09PM +0100, Rik Snel wrote:
> Hello,
> 
> On Thu, 27 Dec 2001, Arpi wrote:
> > > -patch.y4m
> > applied.
> > 
> > btw, you could add aspect ration info too.
> > if i understood well, its' stored in that yuv files/stream.
> > check our mpeg demuxer for details.
> Expect a patch shortly.
> 
> > > Scenario: mjpegtools generate header "YUV4MPEG2 BLA BLA BLA\n". The first
> > > call to read_stream_char reads the header. (because the rest is not
> > > available yet) Some check_fileformat functions want to see more of the
> > i've moved detection code upper, so it won't lose the header.
> > anyway, -cache option solve your original problem.
> It works, thanks. 
> 
> > could you provide me few small sample files/streams ? (at ftp incoming)
> I am uploading example.y4m.bz2 (bzip2'd to conserve my own bandwidth;
> crap connection), it is two seconds long.

I hacked the older YUV4MPEG format support into your demuxer, it works
fine. You can produce samples with XAWTV.

> 
> Greetings,
> 
> Rik.
> 
> --------
> Nothing is ever a total loss; it can always serve as a bad example.
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng

--
alex



More information about the MPlayer-dev-eng mailing list