command for rewrap mxf to mov - but KEEPING the audio channels separate

707 views
Skip to first unread message

tapwithkarin

unread,
May 21, 2012, 3:54:34 PM5/21/12
to ffmbc-discuss
Rewrapping the mxf to mov...
This works but the audio is combined into stereo and not separate
files. Does anyone know the command to keep the audio files on 2
separate channels?

This is the stereo command:

ffmbc -y -i Capture0001V.mxf -i Capture0001A1.mxf -i Capture0002A1.mxf
-vcodec copy -map_audio_channel 1:0:0:0:1 -map_audio_channel 2:0:0:0:1
-acodec pcm_s16le -ac 2 -f mov Capture0001.mov

THANK YOU in advance!

Phillip Blucas

unread,
May 21, 2012, 5:47:12 PM5/21/12
to ffmbc-...@googlegroups.com
-vcodec copy -map_audio_channel 1:0:0:0:1:0 -map_audio_channel 2:0:0:0:1:1

Tim Nicholson

unread,
May 22, 2012, 2:46:01 AM5/22/12
to ffmbc-...@googlegroups.com
if you f"fmbc -g | grep mapaudio_channel" you will see:-

-map_audio_channel file:stream:channel:outfile:stream[:channel] set audio
channel extraction on stream

Stereo is "2 separate channels", so not sure if you want separate streams, or
completely separate files. But you should be able to work it out from the above...

Currently you have file1:stream0:channel0 going to output0:stream1
and file2:stream0:channel0 also going to output0:stream1

so stereo is no surprise.

> THANK YOU in advance!


--
Tim

Tim Nicholson

unread,
May 22, 2012, 2:51:11 AM5/22/12
to ffmbc-...@googlegroups.com
Err. should that not be-

-map_audio_channel 1:0:0:0:1 -map_audio_channel 2:0:0:0:2 and lose the -ac2

To get two single channel streams? (If that is wanted, although its not clear if
separate streams or separate files are required)

--
Tim

Jóhannes Reykdal

unread,
May 22, 2012, 5:19:15 AM5/22/12
to ffmbc-...@googlegroups.com
Actually I think stereo are 2 channels muxed together while you can get seperate mono channels per stream.

Stream #0.0(eng): Video: dvvideo, yuv420p, 720x576, PAR 118:81 DAR 295:162, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, mono, s16, 768 kb/s
    Stream #0.2(eng): Audio: pcm_s16be, 48000 Hz, mono, s16, 768 kb/s

vs.

Stream #0.0(eng): Video: dvvideo, yuv422p, 1440x1080, PAR 1:1 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, stereo, s16, 1536 kb/s

JR

tapwithkarin

unread,
May 22, 2012, 3:49:16 PM5/22/12
to ffmbc-discuss
Since I'm new to all this, I'm just understanding the commands... so 2
get a single .mov with 2 mono channels taking out the -ac 2

ffmbc -y -i Capture0001V.mxf -i Capture0001A1.mxf -i Capture0002A1.mxf
-vcodec copy -map_audio_channel 1:0:0:0:1:0 -map_audio_channel
2:0:0:0:1:1
-acodec pcm_s16le -f mov Capture0001.mov


because I'm new, I don't know the audio codec pcm_s16le means.. and I
don't want to start messing with the current 1920 x 1080 that it is,
just want to rewrap to .mov

Thanks



On May 22, 5:19 am, Jóhannes Reykdal <jreyk...@gmail.com> wrote:
> On Tue, May 22, 2012 at 6:46 AM, Tim Nicholson <tim.nichol...@bbc.co.uk>wrote:
>
>
> > On 21/05/12 20:54, tapwithkarin wrote:
>
> >> Rewrapping the mxf to mov...
> >> This works but the audio is combined into stereo and not separate
> >> files. Does anyone know the command to keep the audio files on 2
> >> separate channels?
>
> >> This is the stereo command:
>
> >> ffmbc -y -i Capture0001V.mxf -i Capture0001A1.mxf -i Capture0002A1.mxf
> >> -vcodec copy -map_audio_channel 1:0:0:0:1 -map_audio_channel 2:0:0:0:1
> >> -acodec pcm_s16le -ac 2 -f mov Capture0001.mov
>
> > if you f"fmbc -g | grep mapaudio_channel" you will see:-
>
> > -map_audio_channel file:stream:channel:outfile:**stream[:channel]  set
Reply all
Reply to author
Forward
0 new messages