[MPlayer-dev-eng] New codec for cineon filmroll

Justin Davies justin at cinesite.co.uk
Fri Dec 13 19:20:00 CET 2002


Thanks for the help.  I will look at the code for one of the demuxers
and work from there.  The file data is not RGBA, the decoder we have (in
c++) returns a pointer to RGB data stream, sorry, should have explained
that.

Thanks again, I am new to the internal layout of mplayer.

Justin

On Fri, 2002-12-13 at 18:11, D Richard Felker III wrote:
> If I understand correctly, what you want is not a codec but a demuxer,
> since it sounds like you're dealing with a new file format. Also, you
> make it sound like the data in the file is uncompressed RGBA. If this
> is the case, you definitely don't need a codec (aside from the
> existing raw dummy codecs).
> 
> Rich
> 
> P.S. The quote in your sig shows a lot of ignorance on the part of the
> person who said it... :)
> 
> On Fri, Dec 13, 2002 at 04:39:14PM +0000, Justin Davies wrote:
> > Hi there,
> > 
> > I am trying to implement a new video only codec for cineone film rolls. 
> > Forstly I am just trying to decode a single cineon file.  I hvae the
> > decoder that we use internally that will parse a cineon file and then
> > return a pointer to the RGBA data of the file.  I am using a skeleton
> > vd_*.c file and also have the entry in vd.c per the documentation about
> > new codecs.  My problem is, when I use mplayer on the file, it will not
> > load the codec and barfs, saying it does not support the file.  I am at
> > a loss as to what to put in my codecs.conf file as the cineon file does
> > not have a fourcc to identify it to a decoder.  The cineon format does
> > have a magic number that signifies its type, which is:
> > 
> > 0x802a5fd7
> > 
> > How does mplayer actually know what decoder to use for what file.  I
> > assume it is not just based on a fourcc, and if not, how can I tell
> > mplayer to use a specific decoder for my filetype.
> > 
> > I am reallt sorry if this is me being dumb, but I cannot find anything
> > in the docs about moving forward on this.
> > 
> > Regards,
> > 
> > Justin
> > -- 
> > Justin Davies - Linux Administrator
> > Cinesite Europe Ltd.
> > 
> > If the designers of X-Windows built cars, there would be no fewer than
> > five steering wheels hidden about the cockpit, none of which followed
> > the same principles -- but you'd be able to shift gears with your car
> > stereo. Useful feature, that.
> > 
> > -- Marus J. Ranum, Digital Equipment Corporation
> > 
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
-- 
Justin Davies - Linux Administrator
Cinesite Europe Ltd.

Project list:  http://ming/justin

If the designers of X-Windows built cars, there would be no fewer than
five steering wheels hidden about the cockpit, none of which followed
the same principles -- but you'd be able to shift gears with your car
stereo. Useful feature, that.

-- Marus J. Ranum, Digital Equipment Corporation




More information about the MPlayer-dev-eng mailing list