[FFmpeg-devel] Phantom Cine read support

Michael Niedermayer michaelni
Tue Jun 15 02:45:44 CEST 2010


On Mon, Jun 14, 2010 at 03:44:33PM +1000, Peter Ross wrote:
> On Sun, Jun 13, 2010 at 05:57:29PM +0000, Carl Eugen Hoyos wrote:
> > Peter Ross <pross <at> xvid.org> writes:
> > 
> > > > I moved those samples to samples/V-codecs/Phantom_Cine
> > > 
> > > Those files contain 16-bit Bayer (RG/GB) frames.
> > > (If anyone wants, i have slapped together a .cine dexmuer.)
> > 
> > Could you post the patch?
> 
> Enclosed. The fskips need to be condensed.
> 
> > We will have to agree on new PIX_FMTs, though...
> 
> Yes..
> 
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

[...]
> +static int read_packet(AVFormatContext *s,
> +                       AVPacket *pkt)
> +{
> +    CineDemuxContext *cine = s->priv_data;
> +    AVStream *st = s->streams[0];
> +    ByteIOContext *pb = s->pb;
> +    int pts;
> +
> +    if (url_feof(pb))
> +        return AVERROR(EIO);

AVERROR_EOF

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100615/7f241dfb/attachment.pgp>



More information about the ffmpeg-devel mailing list