[FFmpeg-user] Re-wrapping J2k

Sean Frazer frazer81 at hotmail.com
Wed Aug 31 01:55:21 EEST 2022


Hi all,

The -map_metadata 0 syntax works for the color space information. 
The file however is still incorrectly flagged as field_order=progressive
The source is interlaced (field_order=tt)
Does anyone know how to set this correctly without having to re-encode?

Cheers,
Frazer

-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Sean Frazer
Sent: Wednesday, 31 August 2022 8:42 AM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Re-wrapping J2k

Thanks very much Def!! 

I'll give this a try

Cheers,
Frazer

-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Def Etienne
Sent: Tuesday, 30 August 2022 9:10 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Re-wrapping J2k



Sent from my iPhone

> On 30 Aug 2022, at 05:36, Sean Frazer <frazer81 at hotmail.com> wrote:
> 
> Hi!
> 
> I'm trying to re-wrap (not re-encode) some J2k files using the 
> following syntax
> 
> ffmpeg -i J2K_issue_sample.mxf -c:v copy -c:a copy -map 0 output9.mxf
> 
> The re-wrap works though with some key discrepancies noted below:
> 
> Source file:
> sample_aspect_ratio=8:15
> display_aspect_ratio=4:3
> color_range=tv
> color_space=bt709
> color_transfer=bt709
> color_primaries=bt709
> field_order=tt
> 
> Output file:
> sample_aspect_ratio=N/A
> display_aspect_ratio=N/A
> color_range=unknown
> color_space=unknown
> color_transfer=unknown
> color_primaries=unknown
> field_order=progressive
> 
> Does anyone know how to have the output file inherit the exact metadata properties of the source when doing a -c:v copy?

map_metadata 0

Def

> I have spent a while looking into using the -field_order tt syntax but believe this is only possible when re-encoding.
> 
> Would really appreciate anyone's
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=05%7C01%7C%7C3a1dd00d97d441dd193908da8ad8e418%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637974961421915715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lVTQUd2%2Bw%2FVkOwfIC5zONNU09c17OWpzQKkV3biidiQ%3D&reserved=0

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=05%7C01%7C%7C3a1dd00d97d441dd193908da8ad8e418%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637974961421915715%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lVTQUd2%2Bw%2FVkOwfIC5zONNU09c17OWpzQKkV3biidiQ%3D&reserved=0

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list