[FFmpeg-user] Re-wrapping J2k

Sean Frazer frazer81 at hotmail.com
Tue Aug 30 07:36:04 EEST 2022


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?
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 advice!

Cheers,
Frazer


More information about the ffmpeg-user mailing list