[FFmpeg-user] Muxing audio-only MXF

Robert Krüger krueger at lesspain.software
Fri Dec 1 12:58:49 EET 2017


Hi Kieran,

On Thu, Nov 30, 2017 at 5:39 PM, Kieran O Leary <kieran.o.leary at gmail.com>
wrote:

> On Thu, Nov 30, 2017 at 4:38 PM, Kieran O Leary
> <kieran.o.leary at gmail.com> wrote:
> > Hi,
> >
> > On Thu, Nov 30, 2017 at 3:46 PM, Robert Krüger
> > <krueger at lesspain.software> wrote:
> >> Hi,
> >>
> >> is there a way to mux an mxf file only containing a pcm audio stream?
> When
> >
> > You could try using the op-atom muxer as it looks like your command is
> > defaulting to op1a. Add -f  mxf_opatom to your command line.
> > ffmpeg -i
> > /Users/krueger/lesspain/samples/software/compressor/
> compressor4_1080_25p_apple_devices_best_compat_2s.m4v
> > -vn -c:a pcm_s16le -f mxf_opatom ~/tmp/ffmpeg_pcm16_rewrap.mxf
> >
> > [...]
> >
> >>
> >> Is this a conscious limitation of the muxer or am I missing a command
> line
> >> option?
> >>
> >
> > It looks like it. The reasons why I suggested trying OP-Atom is that
> > this seems to be performing a specific check for OP1a.
> >
> > Best,
> >
> > Kieran.
>
> Eek, I meant to link to the line of code where this check seems to
> occur: https://github.com/FFmpeg/FFmpeg/blob/master/
> libavformat/mxfenc.c#L2151
>
>
perfect, that worked, thanks a lot! The only thing I had to do is to
convert the audio to single-channel "[mxf_opatom @ 0x7feb4e009a00] MXF
OPAtom only supports single channel audio".

Cheers,

Robert


More information about the ffmpeg-user mailing list