mxfmux : DNXHD file not readable by VLC or AfterEffects
Encoder DNxHD (avenc_dnxhd) / GStreamer 1.18.0 / Windows 10
I use encodebin and appsrc, output container is MXF, output size/fps is 1920x1080/30.0, I grab encoder avenc_dnxhd in callback deep_element_added, I set the output bitrate to 120Mbps, all is ok here.
The problem is that my output is not playable by VLC 3.0.11, it says "Unidentified codec:VLC could not identify the audio or video codec". It is not playable in After Effects too. But I can play it with gst-launch playbin (command lines) and MrViewer.
I fix it by using the following ffmpeg command on the encoded file :
ffmpeg -i dnxhd_120Mbits.mxf -vcodec copy -acodec copy dnxhd_120Mbits_ffmpeg.mxf
I also noticed that the fixed file is 200KB more than the problematic file.
Links to files :