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

David Conrad lessen42
Tue May 12 02:52:55 CEST 2009


On May 11, 2009, at 1:53 PM, Michael Niedermayer wrote:

> 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

Applied

> 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())

S



More information about the ffmpeg-devel mailing list