Hi
I'm a cat, please patience.
I wonder: I need to encode into mxf format something like this:
but seems that audio codec accepted is only pcm, but if possible I need to encode to a compressed audio. Can I do this in a mxf container?!?Code:ffmpeg12ago2026.exe -i A025C098_260820JK_CANON.MXF -preset medium -c:v libx264 -x264-params 8x8dct=1 -g 33 -bf 2 -c:a ac3 -b:a 500k -ar 48000 -aspect 16:9 -flags +ilme+ildct -r 25 -vf setfield=tff OUT4_MXF_to_HD25interlacciatoFFMPEG12ago.MXF
![]()
+ Reply to Thread
Results 1 to 11 of 11
-
-
According to the SMPTE spec MXF supports "MPEG encoded audio" (MPA? MP3?) as well as PCM.
https://pub.smpte.org/latest/st377-1/st377-1-2019.pdf
But ffmpeg's MXF muxer may not.Last edited by jagabo; 13th Sep 2026 at 09:56.
-
I played around with this.
My answer is you have to use pcm only for audio in a .mxf container.
If a .mp4 container would work for you try this:
Or if you want to keep the video MPEG2:Code:ffmpeg -i input.mxf -c:a ac3 -b:a 500k output.mp4
Code:ffmpeg -i input.mxf -c:v mpeg2video -b:v 5000k -maxrate 9000k -bufsize 1835k -c:a ac3 -b:a 500k output.mp4
Last edited by cholla; 14th Sep 2026 at 13:43.
-
-
There are several errors in ffmpeg when doing this.
The one about .ac3 is this one:
All supported codecs are pcm.Codec 'ac3' (86019) is not supported by the bitstream filter 'pcm_rechunk'. Supported codecs are: pcm_alaw (65543) pcm_f16le (65569) pcm_f24le (65570) pcm_f32be (65556) pcm_f32le (65557) pcm_f64be (65558) pcm_f64le (65559) pcm_mulaw (65542) pcm_s16be (65537) pcm_s16le (65536
) pcm_s24be (65549) pcm_s24daud (65552) pcm_s24le (65548) pcm_s32be (65545) pcm_s32le (65544) pcm_s64be (65568) pcm_s64le (65567) pcm_s8 (65540) pcm_sga (65572) pcm_u8 (65541) pcm_vidc (65571) -
Accordingly to 'mxfenc.c': 'av_log(s, AV_LOG_ERROR, "Only pcm_s16le and pcm_s24le audio codecs are implemented\n");'
-
@ pandy,
What I posted was copied directly from the command prompt ffmpeg was trying to convert the .mxf file with.
I have never tried any pcm but pcm_s16le and pcm_s24le . Usually for conversion to .wav.
This was the error ffmpeg gave when trying to convert the audio in a .mxf file to .ac3 .
Keeping the format .mxf .
Give it a test & see what you get.
Similar Threads
-
directshow pcm audio codec for windows 64bit?
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 25th Feb 2026, 11:05 -
Edit audio tags in mp4 container
By thinredline in forum AudioReplies: 4Last Post: 1st Jul 2025, 16:04 -
need to extract audio from MXF file
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 11th Oct 2024, 04:51 -
AVI conversion with audio codec PCM
By jpgiz in forum Video ConversionReplies: 5Last Post: 7th Apr 2023, 14:15 -
What audio container works well with .mp4/.mkv containers? FLAC or AAC?
By Guernsey in forum Newbie / General discussionsReplies: 1Last Post: 2nd Dec 2021, 00:18


Quote
