-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio language tagging not passed through when remuxing to mxf or mov #98
Comments
@FranceBB Can you do a dump of the source MXF file at https://registry.smpte-ra.org/apps/regxmldump/view/published/ |
Done. |
It looks like FFmpeg does not support writing MCA sub-descriptors, which contain the language information: |
Language seems to be working when converting to MP4: The audio track in out.mp4 is labeled "English". |
Gotcha, so it's not the IMF code but rather an FFMpeg mxf muxer limitation. |
Actually, I'm going to re-open this, 'cause I made some new discoveries. Decoding the mxf file directly does indeed make the info being displayed in FFMpeg (so I can remux into something else that isn't mxf and supports the language tagging), however such an info ain't displayed when the file is opened by the CPL IMF decoder, thus preventing me from using other containers like mkv etc. By opening the mxf file directly:
it says Stream #0:1**(ita)** however when I open the CPL with the IMF decoder:
it doesn't display the language tag, so something must be wrong with the IMF / FFMpeg integration. Again, I don't mean in the final package, I mean inside the FFMpeg decoding. Do you know how I can trim a IMF package to send you a sample? |
Sure, but it's evening in Europe right now. |
Sorry for the delay, but yes, your commit seems to be solving the issue, thanks! :) |
I have an IMF package with videos and audios and of course the CPL.
Video file is a MJPEG2000 BT709 SDR 10bit muxed in mxf
The audio files are PCM lossless 24bit 48'000Hz muxed as .mxf
To differentiate them, each one has audio tagging inside, so if I use Mediainfo I can see for instance:
General
Audio
Other #1
Other #2
As you can see, there's the language tagging:
Language : Italian
same goes for other tracks that might have a different language like English:
General
Audio
Other #1
Other #2
so:
Language : English
however when I do:
FFMpeg outputs an error in the language tagging, namely:
[imf @ 000001d283a12a00] Opening 'D:\Masterfiles\ASSETMAP.xml' for reading
[mxf @ 000001d283a689c0] local tag 0xdff5 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff4 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff3 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff2 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff5 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff4 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff3 with 0 size
[mxf @ 000001d283a689c0] local tag 0xdff2 with 0 size
The whole command line output is:
and indeed the final file lacks the audio tagging:
General
Video
Audio #1
Audio #2
Audio #3
Audio #4
Other #1
Other #2
Other #3
Changing the remux to mov doesn't improve things either:
General
Video
Audio #1
Audio #2
Audio #3
Audio #4
The text was updated successfully, but these errors were encountered: