kai
unread,Jun 21, 2011, 5:38:12 AM6/21/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ffmbc-discuss
I am trying to recode a source file with 8 stereo tracks into 16 mono
tracks in IMX30 output. For some reason ffmbc insists on encoding the
output audio as pcm_s16le, rather than the pcm_s24le I'd like to
get.
This is the command line I use:
ffmbc -y -i input.mxf -t 10 -target imx30 output.mxf -acodec copy -
map_audio_channel 0:0:0:0:1 -map_audio_channel 0:0:1:0:1 -
map_audio_channel 0:1:0:0:1 -map_audio_channel 0:1:1:0:1 -
map_audio_channel 0:2:0:0:1 -map_audio_channel 0:2:1:0:1 -
map_audio_channel 0:3:0:0:1 -map_audio_channel 0:3:1:0:1 -
map_audio_channel 0:4:0:0:1 -map_audio_channel 0:4:1:0:1 -
map_audio_channel 0:5:0:0:1 -map_audio_channel 0:5:1:0:1 -
map_audio_channel 0:6:0:0:1 -map_audio_channel 0:6:1:0:1 -
map_audio_channel 0:7:0:0:1 -map_audio_channel 0:7:1:0:1
and on execution it looks like
FFmbc version 0.6-rc7
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[mxf @ 0x2c09be0] Estimating duration from bitrate, this may be
inaccurate
Input #0, mxf, from 'input.mxf':
Metadata:
timecode: 00:00:00;00
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.1(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.2(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.3(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.4(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.5(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.6(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.7(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32,
2304 kb/s
Stream #0.8(und): Video: dvvideo, yuv422p, 720x480i bff [PAR 8:9
DAR 4:3], 29.97 fps
auto-rescaling to IMX resolution
[scale @ 0x2c1bf10] w:720 h:480 fmt:yuv422p -> w:720 h:486 fmt:yuv422p
flags:0x4 interlaced:0
[pad @ 0x2c1c290] w:720 h:486 -> w:720 h:512 x:0 y:26 color:
0x108080FF[yuva]
Warning, QMAT_SHIFT is larger than 21, overflows possible
Last message repeated 1 times
Output #0, mxf_d10, to 'output.mxf':
Metadata:
encoder: FFmbc 0.6
Stream #0.0(und): Video: mpeg2video, yuv422p, 720x512i tff [PAR
128:135 DAR 4:3], cbr, 30000 kb/s, 29.97 fps
Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 16 channels, s16,
12288 kb/s
Stream mapping:
Stream #0.8 -> #0.0
Stream #0.0 -> #0.1 [channel: 0 -> 0]
Stream #0.0 -> #0.1 [channel: 1 -> 1]
Stream #0.1 -> #0.1 [channel: 0 -> 2]
Stream #0.1 -> #0.1 [channel: 1 -> 3]
Stream #0.2 -> #0.1 [channel: 0 -> 4]
Stream #0.2 -> #0.1 [channel: 1 -> 5]
Stream #0.3 -> #0.1 [channel: 0 -> 6]
Stream #0.3 -> #0.1 [channel: 1 -> 7]
Stream #0.4 -> #0.1 [channel: 0 -> 8]
Stream #0.4 -> #0.1 [channel: 1 -> 9]
Stream #0.5 -> #0.1 [channel: 0 -> 10]
Stream #0.5 -> #0.1 [channel: 1 -> 11]
Stream #0.6 -> #0.1 [channel: 0 -> 12]
Stream #0.6 -> #0.1 [channel: 1 -> 13]
Stream #0.7 -> #0.1 [channel: 0 -> 14]
Stream #0.7 -> #0.1 [channel: 1 -> 15]
Press [q] to stop encoding
discarding 1601 audio samples in stream #0.0
discarding 1601 audio samples in stream #0.1
...
[etc]
What do I need to do to keep the original codec?