[FFmpeg-user] Sony XAVC transcoding

Wayne Poll WPoll at nhnz.tv
Wed Jun 12 03:28:34 CEST 2013


Hi,

I'm trying to work with footage form the new Sony 4k camera, the F55, which can record RAW footage and also Sony's new AVC codec, XAVC.

ffmpeg does a great job of converting the footage to Apple ProRes 422 (HQ) at 4096 x 2160 pixels, but... I'm having all manner of grief trying to get the multiple audio streama from the MXF wrapper to the QuickTime container.

The input stream looks like this: -

Input #0, mxf, from 'input.mxf':
  Metadata:
    timecode        : 18:43:23;25
  Duration: 00:00:31.33, start: 0.000000, bitrate: 298202 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le, 4096x2160 [SAR 1:1 DAR 256:135], 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:9: Data: none

I'm using this commandline: -

./ffmpeg -i input.mxf -map 0 -map -0:9:0 -c copy -c:v prores -profile:v 3 output.mov

(process all streams, except stream #0:9: Data, convert video stream from h264 to ProRes 422 (HQ) and leave audio as PCM 24-bit).

The resultant QT file has 1 video and 8 audio tracks but tracks 2-8 are "muted" or disabled. I have tried many different map arrangements etc. but I still get the same result - just one video and one audio. The command above represents the simplest of the many variations I've tested. Anyone tried XAVC to PR422 yet?   :)

Wayne Poll | Technical & IT Systems Manager |
NHNZ | 5 Melville Street, Dunedin 9016, New Zealand |



More information about the ffmpeg-user mailing list