[FFmpeg-devel] [PATCH] Copy chroma location when transcoding streams

Michael Niedermayer michaelni
Mon May 11 19:53:19 CEST 2009

On Mon, May 11, 2009 at 12:44:58AM -0400, David Conrad wrote:
> Hi,
> This copies uses the input stream's chroma_sample_location as the default 
> for the output stream. I don't plan on doing any resampling/different 
> interpolation, so for now the only things that could make use this are y4m 
> and h264 - all other codecs I've seen only allow one location or leave it 
> unspecified.

> commit 76267c2d9c0bddaf473e45f37073ca382eaab69d
> Author: David Conrad <lessen42 at gmail.com>
> Date:   Mon May 11 00:37:24 2009 -0400
>     Copy input codec's chroma_sample_location to output codec when transcoding.
>     Currently only used by yuv4mpeg.

patch ok

and ill likely add the sample loc stuff to ffv1 & snow too
besides it should be pretty easy to make swscale convert between them
(its likely just a simple change to initFilter())

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20090511/373f828b/attachment.pgp>

More information about the ffmpeg-devel mailing list