Hey everyone!
Im re-encoding a H265 10bit HDR clip.
After encoding it seems that in the generated file there is missing some metadata.
Is it possible to copy that from the original file to the new one?
Copy metadata to new file
-
- Posts: 6
- Joined: Wed May 06, 2020 6:41 pm
Re: Copy metadata to new file
Apparently images dont work and i cant edit my post
https://imgur.com/a/pQkYsfL
https://imgur.com/a/pQkYsfL
Re: Copy metadata to new file
Do you want it copied even if it isn't applicable to the destination file?
https://github.com/HandBrake/HandBrake/issues/345
https://github.com/HandBrake/HandBrake/issues/345
-
- Posts: 6
- Joined: Wed May 06, 2020 6:41 pm
Re: Copy metadata to new file
Unfortunately ffmpeg with the does not produce the expected result, even with the flag the missing tags are not in the output file.
Code: Select all
map_metadata
Code: Select all
-movflags use_metadata_tags
-
- Posts: 6
- Joined: Wed May 06, 2020 6:41 pm
Re: Copy metadata to new file
Why do you think its not applicable?Woodstock wrote: ↑Wed May 06, 2020 8:19 pm Do you want it copied even if it isn't applicable to the destination file?
https://github.com/HandBrake/HandBrake/issues/345
Re: Copy metadata to new file
That would be for you to compare the MediaInfo for the original and the encode. Metadata is generated fresh for every encode, and obscures old metadata, although not its collateral.
-
- Posts: 6
- Joined: Wed May 06, 2020 6:41 pm
Re: Copy metadata to new file
So things like whitepoint and min/max luminance change during encode and are not needed?
Re: Copy metadata to new file
You can set it manually in the "additional options" textfield (can't remember the exact syntax). The main issue is that HandBrake pipeline is 8bit, so the video will lose a lot of precision when transcoding it with HandBrake.
-
- Posts: 6
- Joined: Wed May 06, 2020 6:41 pm
Re: Copy metadata to new file
Oh, actually that explains a lot! Thanks for the info.