[FFmpeg-user] Re-wrapping J2k

Def Etienne shaker.doc at gmail.com
Tue Aug 30 14:09:34 EEST 2022



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 


More information about the ffmpeg-user mailing list