[FFmpeg-user] Copy all metadata fields?

Peter B. pb at das-werkstatt.com
Wed Mar 18 16:22:47 EET 2020


On 18/03/2020 14:29, Kieran O Leary wrote:
> On Wed 18 Mar 2020, 12:54 Peter B., <pb at das-werkstatt.com> wrote:
>> Oh, and yes: absolutely correct! Color information is gone.
>> Is there any way that this kind of metadata can also be transferred -
>> even if I don't explicitely know it's there?
> I raised this before and I think you have to set the output values
> manually. I found this when Transcoding from mov to mkv, colour values were
> lost.
> Tobias's advice here still stands I think
> https://ffmpeg.org/pipermail/ffmpeg-user/2018-July/040717.html

I remember seeing this back then. I'll read it again. Thanks for 
pointing it out Kieran!

The mentioned patch "Pass colour range from source to sink" 
(https://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225512.html) by 
Philip Langdale sounds to me like it would enable this.

Quote:
// --------------------
"However, we don't support a way to pass it through filter chains and
'ffmpeg' does not make any attempt to set it on the encoder.

This set of changes introduces a way to do this, by defining a new
filter link property, and allowing it to be set on a buffersrc and
read back from a buffersink."
// --------------------


 From taking a quick peek at the related thread(s), it looks like Philip 
never replied to Michael's questions/comments.
Does anyone know what happened to this idea/feature/patch?



Thanks in advance!
Peter



More information about the ffmpeg-user mailing list