[FFmpeg-user] muxing into mxf im50

Igor Podobiński ipodobin at gmail.com
Wed Dec 21 14:27:03 CET 2011


Hello,

I am trying to mux files into mxf container.

Input files:
- test.m2v
- test_1.wav
- test_2.wav
- test_3.wav
- test_4.wav

Output file:
output.mxf

Used command:
---
ffmpeg -y -i test.m2v -i test_1.wav -i test_2.wav -i test_3.wav -i
test_4.wav -acodec copy -ac 4 -map_channel 1.0.0:0.1 -map_channel 2.0.0:0.1
-map_channel 3.0.0:0.1 -map_channel 4.0.0:0.1 -b:v 50000k -f mxf_d10
output.mxf
---

I am receiving this file:
---
  Stream #0:0 -> #0:0 (copy)
---
Input #0, mxf, from 'output.mxf':
  Duration: 00:00:14.24, start: 0.000000, bitrate: 50178 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405
DAR 16
:9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
---

but I want to get something like this:
---
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1 [channel: 0 -> 0]
Stream #2.0 -> #0.1 [channel: 0 -> 1]
Stream #3.0 -> #0.1 [channel: 0 -> 2]
Stream #4.0 -> #0.1 [channel: 0 -> 3]
---
Input #0, mxf, from 'ffmbc_d10.mxf':
  Duration: 00:00:14.24, start: 0.000000, bitrate: 62569 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405
DAR 16
:9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s
---
(done using ffmbc with command:
---
ffmbc -y -i test.m2v -i test_1.wav -i test_2.wav -i test_3.wav -i
test_4.wav -map_audio_channel 1:0:0:0:1 -map_audio_channel 2:0:0:0:1
-map_audio_channel 3:0:0:0:1 -map_audio_channel 4:0:0:0:1 -timecode
00:00:11:01 -vcodec copy -target imx50 -acodec pcm_s16le -ac 4 -f mxf_d10
test_d10.mxf
---)

Does anyone knows how to do mapping audio file into specific channel in
output file?

Thanks,
Igor

--
Igor Podobiński
mob: +48 501031552
mail: ipodobin at gmail.com


More information about the ffmpeg-user mailing list