Hi to all,
please I have 2 files from my gopro hero3+: one is 1080 (hd) and one is 720 (sd).
Here I have upload hp.mp4 and sd.mp4
please I would like transcode the hd.mp4 into .mxf in xdcamhd422 target.
And I would like transcode sd.mp4 into .mxf in imx50 target.
I use
ffmpeg -i hd.mp4 -target xdcamhd422 -an test.mxf
but result is:
ffmpeg -i hd.mp4 -target xdcamhd422 -an test.mxf
ffmpeg version N-61191-gea9399f Copyright (c) 2000-2014 the FFmpeg developers
built on Mar 8 2014 22:01:33 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
libavutil 52. 66.101 / 52. 66.101
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 34.100 / 55. 34.100
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'hd.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2014-03-09 21:13:26
Duration: 00:00:07.00, start: 0.000000, bitrate: 32078 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709
), 1920x1080 [SAR 1:1 DAR 16:9], 30750 kb/s, 50 fps, 50 tbr, 180k tbn, 100 tbc (
default)
Metadata:
creation_time : 2014-03-09 21:13:26
handler_name : GoPro AVC
timecode : 21:13:26:00
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 12
7 kb/s (default)
Metadata:
creation_time : 2014-03-09 21:13:26
handler_name : GoPro AAC
timecode : 21:13:26:00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2014-03-09 21:13:26
timecode : 21:13:26:00
Could not determine norm (PAL/NTSC/NTSC-Film) for target.
Please prefix target with "pal-", "ntsc-" or "film-",
or set a framerate with "-r xxx".
The same problem I have in sd mode using:
ffmpeg -i sd.mxf -target imx50 -an testsd.mxf
My targets is xdcamhd422 when I use hd, and imx50 when I use sd.
How can I resolve? thanks
ps: I'm in italy so I use pal system
		
			+ Reply to Thread
			
		
		
		
			 
		
			
	
	
				Results 1 to 30 of 32
			
		- 
	
- 
	I'm still waiting for the download to finnish............ 
 
 Do yourself a favor and use EyeFrame Converter. It will do all your transcoding using FFMBC with the propper commands. Give it a shot, I think it will help you greatly..........
 
 ***** Edit ****** I tried running it with FFMBC and it reported that XDCAM does not support 50 fps @ 1080 only @ 720. It looks like you'll either have to resize, change frame rate, or chose another output format like TS, mkv, or mp4Last edited by racer-x; 9th Mar 2014 at 16:15. Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
- 
	1) 1080p50 isn't supported by xdcam - you would have to convert it to interlaced 1080i50 (also called 1080i25, same thing different naming conventions) 
 2) Your "sd.mp4" file is 1280x720p50 , that's not SD imx specs - you would have to scale and interlace it as well
 3) Your gopro videos are flagged "full range" YUV (aka "yuvj420p", or 0-255). Different programs might handle it differently - be aware of potential levels issues
 
 
 I don't think ffmpeg has -target xdcamhd422 presets, only ffmbc. But ffmbc doesn't have -vf interlace filter (it hasn't been updated in long time). So maybe you can pipe ffmpeg (convert to interlace) to ffmbc
 
 yuv4mpegpipe doesn't support yuvj420p, so it will be "legalized" to 16-235 so point #3 is moot if you use this .Code:ffmpeg -i hd.mp4 -vf interlace -an -f yuv4mpegpipe -pix_fmt yuv420p - | ffmbc -i - -r 25 -tff -target xdcamhd422 -an test.mxf 
 
 If you want to keep it full range, you can use raw video pipe instead
 
 Code:ffmpeg -i hd.mp4 -vf interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 1920x1080 -r 25 -i - -pix_fmt yuvj420p -tff -target xdcamhd422 -an test2.mxf 
 Or you can do these transformations through avisynth scripts , it will give you more control, probably faster (piping ffmpeg to
 
 
 Or use a different intermediate format that supports 1080p50 so you don't have to degrade the go pro videos by converting them to interlaced, and by re-encoding themLast edited by poisondeathray; 9th Mar 2014 at 17:25. 
- 
	You use -i for multiple inputs, remove the -an (no audio), but -target xdcamhd422 has restrictions on the audio inputs I think, only mono tracks . You might have to use -map 
- 
	thanks poison, in fact my camcorder does not accept .mxf files without audio. Encoding video maybe it's ok: I have try also remove the "-an" option with no other but my camcorder does not accept the .mxf generated. 
 
 I think that: it is necessary extract audio from the original .mp4, encode it PCM16bit and duplicate in the audio channel 1 and 2 of the .mxf
 
 is possible that? thank you
- 
	You have to split the stereo to two mono audio tracks . You can use -map_audio_channel. This should work from a separate stereo source "audio.wav" 
 
 Code:ffmpeg -i hd.mp4 -vf interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 1920x1080 -r 25 -i - -i audio.wav -pix_fmt yuvj420p -tff -target xdcamhd422 -an output.mxf -newaudio -map_audio_channel 1:0:0:0:1:0 -newaudio -map_audio_channel 1:0:1:0:2:0 
- 
	For the 720p to SD IMX50 case, using full range (if you want legal range, just use yuv4mpegpipe method above instead, or -pix_fmt yuv420p should scale it too) 
 
 It's important the the order is done properly - progressive scaling from 1280x720p50 to 720x576p50, then re-interlacing it. That is piped to ffmbc for encoding. The imx50 preset will accept separate audio and mux into single 4channel track (final output is 608 height with the IMX spec), so no need to use -map_audio_channel
 
 EDIT: you can add the -vf colormatrix to make it SD colors (Rec601)Code:ffmpeg -i sd.mp4 -vf scale=720:576,interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 720x576 -r 25 -i - -i audio.wav -pix_fmt yuvj420p -vf colormatrix=bt709:bt601 -tff -target imx50 imx.mxf 
 
 There should be a way in ffmbc to re-interlace, then you wouldn't have to pipe ffmpeg to ffmbc. Or if ffmpeg had -target xdcamhd422 or imx50 presets, then you wouldn't need ffmbcLast edited by poisondeathray; 9th Mar 2014 at 19:32. 
- 
	Why are you trying to put it onto your camera ? 
 
 You probably need 24bit audio to make it compatible as well, so add -acodec pcm_s24le -ar 48000 before each -newaudio
 
 Code:ffmpeg -i hd.mp4 -vf interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 1920x1080 -r 25 -i - -i audio.wav -pix_fmt yuvj420p -tff -target xdcamhd422 -an output.mxf -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:0:0:0:1:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:0:1:0:2:0 
- 
	
 Dear poison,
 I have do a lot of proof:
 
 ffmpeg -i sd.mp4 -vf scale=720:576,interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -y -f rawvideo -s 720x576 -r 25 -i - -i spears.wav -pix_fmt yuvj420p -vf colormatrix=bt709:bt601 -tff -target imx50 -aspect 16:9 imx.mxf
 
 where spears.wav is the attached wav file
 
 tha camcoder (sony pdw-f800) accept the final output file IMX.MXF and can play as a normal file.
 
 If I exclude from the command line the "-i spears.wav", imx.mxf is unplayable by the camcorder maybe because there is no audio.
 
 To "extract" audio from original sd.mp4 file I have previuously to do:
 
 ffmpeg -i sd.mp4 -map_channel 0.1.0 -map_channel 0.1.1 -af "volume=volume=0dB recision=fixed" sd.wav recision=fixed" sd.wav
 
 and using the sd.wav as audio file instead of spears.wav
 
 So this way I can reintroduce into the xdcam disc the gopro mp4 files: why? because my directors want it to avoiding transcode during editing in avid, to avoid wast hours for transcode .mp4 from the gopro.
 
 Poison, kindly, can I integrate the "ffmpeg -i sd.mp4 -map_channel 0.1.0 -map_channel 0.1.1 -af "volume=volume=0dB recision=fixed" sd.wav" into the main string? recision=fixed" sd.wav" into the main string?
 
 thank you!
- 
	You might have to experiment with -vol for volume, because ffmbc is doing the volume manipulation, not ffmpeg (it doesn't use -af volume)Code:ffmpeg -i sd.mp4 -vf scale=720:576,interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 720x576 -r 25 -i - -i sd.mp4 -map 0:0 -pix_fmt yuvj420p -vf colormatrix=bt709:bt601 -tff -map 1:1 -vol 256 -target imx50 imx50.mxf 
 
 
 -vol volume change audio volume (256=normal)
 
- 
	Very thank you poison 
 
 ffmpeg -i temp.mp4 -vf scale=720:576,interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -y -f rawvideo -s 720x576 -r 25 -i - -i temp.mp4 -map 0:0 -pix_fmt yuvj420p -vf colormatrix=bt709:bt601 -tff -map 1:1 -vol 256 -target imx50 -aspect 16:9 tempIMX.mxf
 
 with this, in SD, is possible encode from gopro .mp4 to .mxf and the camcorder accept the .mxf file: with SD or HD .mp4 file as source, and SD (IMX) target.
 
 Only now I try to encode from HD .mp4 gopro file to HD xdcamhd422 target, file .mxf is do but the camcorder does not accept as playable file 
 
 I have try with:
 
 ffmpeg -i hd.mp4 -vf interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 1920x1080 -r 25 -i - -i audio.wav -pix_fmt yuvj420p -tff -target xdcamhd422 -an output.mxf -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:0:0:0:1:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:0:1:0:2:0
 
 audio.wav = spears.wav
 
 is there a remedy?
 
 thank you
- 
	mm I don't know, seems when the .mxf file is not conform, the camera returns with a "Conncection closed; transfer aborted" without specify the reason. 
 
 If I try to encode a .mxf file without audio or with the correct audio/video parameters, the camera returns alwais this "Connection closed; transfer aborted".
 
 
 Only for example, this is a HD .mxf file recorded by the camera (if I try to re-introduce it to the camera, it is playable):
 
 Generale
 Complete name : V:\uova\xdcam\C0020.MXF
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 23,4MiB
 Duration : 3s 240ms
 Overall bit rate : 60,6 Mbps
 Encoded date : 2014-03-09 18:36:09.000
 Writing application : SONY Opt 1.22
 Writing library : SONY Opt 1.22
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Si
 Format settings, Matrix : Personalizzato
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 3s 240ms
 Bit rate : 50,0 Mbps
 Width : 1.920 pixel
 Height : 1.080 pixel
 Display aspect ratio : 16:9
 Frame rate : 25,000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bit
 Scan type : Interlacciato
 Scan order : Top field first
 Compression mode : Con perdita
 Bits/(Pixel*Frame) : 0.965
 Stream size : 19,3MiB (83%)
 Colori primari : BT.709
 Caratteristiche trasferimento : BT.709
 Coefficienti matrici : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #3
 ID : 5
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #4
 ID : 6
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #5
 ID : 7
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #6
 ID : 8
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #7
 ID : 9
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Audio #8
 ID : 10
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 3s 240ms
 Bit rate mode : Costante
 Bit rate : 1.152 Kbps
 Channel(s) : 1 canale
 Sampling rate : 48,0 KHz
 Bit depth : 24 bit
 Stream size : 456 KiB (2%)
 
 Altri #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:08:01:15
 Time code settings : Striped
 
 Altri #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:08:01:15
 
 This is .mxf - IMX sd file recorded by the camera (if I try to re-introduce it to the camera, it is playable):
 
 General
 Complete name : V:\cesenaCalcio\C0052.MXF
 Format : MXF
 Commercial name : IMX 50
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 992 MiB
 Duration : 2mn 13s
 Overall bit rate : 62.6 Mbps
 Encoded date : 2013-09-19 16:02:51.000
 Writing application : SONY Opt 1.41
 Writing library : SONY Opt 1.41
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : IMX 50
 Format version : Version 2
 Format profile : 4:2:2@Main
 Format settings, BVOP : No
 Format settings, Matrix : Default
 Format settings, GOP : N=1
 Format_Settings_Wrapping : Frame (D-10)
 Duration : 2mn 13s
 Bit rate : 50.0 Mbps
 Width : 720 pixels
 Height : 576 pixels
 Original height : 608 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : PAL
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 4.823
 Stream size : 797 MiB (80%)
 
 Audio
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (D-10)
 Duration : 2mn 13s
 Bit rate mode : Constant
 Bit rate : 12.3 Mbps
 Channel(s) : 8 channels
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 195 MiB (20%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:36:39:15
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:36:39:15
 
 This the file, SD playable by the camcorder, from the gopro and correctly transcoded with your string command:
 
 General
 Complete name : I:\GOPR0660.mxf
 Format : MXF
 Commercial name : IMX 50
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 440 MiB
 Duration : 58s 960ms
 Overall bit rate : 62.6 Mbps
 Encoded date : 2014-03-16 18:14:41.000
 Writing application : FFmbc OP1a Muxer 53.6.0
 Writing library : FFmbc OP1a Muxer 53.6.0
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : IMX 50
 Format version : Version 2
 Format profile : 4:2:2@Main
 Format settings, BVOP : No
 Format settings, Matrix : Default
 Format settings, GOP : N=1
 Format_Settings_Wrapping : Frame (D-10)
 Duration : 58s 960ms
 Bit rate : 50.0 Mbps
 Width : 720 pixels
 Height : 576 pixels
 Original height : 608 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 4.823
 Time code of first frame : 00:00:00:00
 Time code source : Group of pictures header
 Stream size : 353 MiB (80%)
 Color primaries : BT.601 PAL
 Transfer characteristics : BT.709
 Matrix coefficients : BT.601
 
 Audio
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (D-10)
 Duration : 58s 960ms
 Bit rate mode : Constant
 Bit rate : 12.3 Mbps
 Channel(s) : 4 channels
 Sampling rate : 48.0 KHz
 Bit depth : 16 bits
 Stream size : 86.4 MiB (20%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
 
 
 But now I'm not able, only for my cat , to encode from gopro HD to .mxf xdcamhd422 target  
- 
	from http://code.google.com/p/ffmbc/wiki/XDCAMHD422Encoding: 
 
 Introduction
 
 How to encode your content to XDCAMHD422 MXF or MOV
 Details
 
 Interlaced encoding: add: -tff or -bff before -target
 MXF
 
 ffmbc -i < file > -target xdcamhd422 < file.mxf >
 
 Note: XDCAM transfer supports no fewer than 2 mono tracks channels. Use -newaudio and -map_audio_channel.
 
 As an example, this command takes a stereo source file and makes an output file with two mono tracks.
 
 ffmbc -i < file > -target xdcamhd422 -an < file.mxf > -acodec pcm_s24le -ar 48000 -newaudio -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:1:0:2:0
 
 This output file is compatible with Sony XDCAM Viewer.
 MOV
 
 ffmbc -i < file > -target xdcamhd422 -vtag < tag > < file.mov >
 
 Select tag from the following:
 
 "xd54" XDCAM HD422 720p24 CBR
 "xd59" XDCAM HD422 720p60 CBR
 "xd5a" XDCAM HD422 720p50 CBR
 "xd5b" XDCAM HD422 1080i60 CBR
 "xd5c" XDCAM HD422 1080i50 CBR
 "xd5d" XDCAM HD422 1080p24 CBR
 "xd5e" XDCAM HD422 1080p25 CBR
 "xd5f" XDCAM HD422 1080p30 CBR
- 
	thanks poison, but we prefer encode in .mxf also to put the gopro in the camcorder to see directly on the broadcast monitor the gopro. We think is more easy also for editing. 
 
 Considering my last post, is necessary the -vtag xd5c before the -target xdcamhd422 ?
 
 Or
 
 Can I encode from my hd.mp4 into .mxf (target xdcamhd422) with 2 (mono?) audio e.g. audio1.wav and audio2.wav? In this case what should be the command line?
 
 thank you
- 
	ffmpeg -i hd.mp4 -vf interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 1920x1080 -r 25 -i - -i audio.wav -pix_fmt yuvj420p -tff -target xdcamhd422 -an output.mxf -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:0:0:0:1:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:0:1:0:2:0 
 
 using audio.wav attached
 
 Resulting output.mxf does not work in the camcorder 
 
 General
 Complete name : V:\uova\output.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 45.1 MiB
 Duration : 7s 0ms
 Overall bit rate : 54.0 Mbps
 Encoded date : 2014-03-16 20:29:50.000
 Writing application : FFmbc OP1a Muxer 53.6.0
 Writing library : FFmbc OP1a Muxer 53.6.0
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Default
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 7s 0ms
 Bit rate : 50.0 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 0.965
 Time code of first frame : 00:00:00:00
 Time code source : Group of pictures header
 Stream size : 41.7 MiB (93%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 7s 0ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 984 KiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 7s 0ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 984 KiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
 
 
 Is possibly modify the string so audio used is directly internal audio of hd.mp4 instead of audio.wav?Last edited by marcorocchini; 16th Mar 2014 at 16:00. 
- 
	
 Unlikely to help, because it's essentially the same thing in 2 steps. Note the channel mapping syntax has changed, because 1st example was audio, this one has video & audio for hd.mp4
 
 Code:ffmpeg -i hd.mp4 -vf interlace -an -pix_fmt yuvj420p -f rawvideo - | ffmbc -f rawvideo -s 1920x1080 -r 25 -i - -i hd.mp4 -map 0:0 -pix_fmt yuvj420p -tff -target xdcamhd422 -an output.mxf -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:1:0:0:1:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:1:1:0:2:0 
- 
	mm it's strange. 
 
 However I have dowload 2 test file of example from here:
 
 http://hamburgpromedia.com/Testfiles/MXF_MPEG_Testfiles.php
 
 XDcam_HD4221080i50.mxf:
 MXF Testfile 1
 XDCAM HD422 1080i
 50Mbit, 8 Tracks Audio
 
 XDCAM_HD422_720p50.mxf:
 MXF Testfile 2
 XDCAM HD422 720p
 50Mbit, 8 Tracks Audio
 
 both files are playable by the camcorder.
 
 I have try:
 open XDCAM_HD422_720p50.mxf in virtualdub, and "AUDIO" --> Audio from other file --> spears.wav
 
 Save as avi in one file: gatto720.avi
 
 and then
 
 ffmbc -y -i gatto720.avi -target xdcamhd422 -an gatto720.mxf -acodec pcm_s24le -ar 48000 -newaudio -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:1:0:2:0
 
 Result:
 
 gatto720.mxf unplayable by camcorder 
 
 And then:
 
 ffmbc -y -i gatto720.avi -map 0:0 -tff -target xdcamhd422 -an output3.mxf -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:1:0:0:1:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 1:1:1:0:2:0
 
 Result: unplayable
 
 
 
 
 
 
 
 
 
 General
 Complete name : I:\XDcam_HD4221080i50.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 73.0 MiB
 Duration : 10s 200ms
 Overall bit rate : 60.0 Mbps
 Encoded date : 2013-03-04 11:51:31.840
 Writing application : Hamburg Pro Media GmbH MXF4mac GC Export FCP 1.6
 Writing library : Hamburg Pro Media GmbH MXF4mac GC Export FCP 1.6
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Custom
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 200ms
 Bit rate : 50.0 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 0.965
 Stream size : 60.8 MiB (83%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #3
 ID : 5
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #4
 ID : 6
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #5
 ID : 7
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #6
 ID : 8
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #7
 ID : 9
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #8
 ID : 10
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
 
 
 General
 Complete name : I:\XDCAM_HD422_720p50.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 73.5 MiB
 Duration : 10s 240ms
 Overall bit rate : 60.2 Mbps
 Encoded date : 2012-06-11 19:14:01.072
 Writing application : Hamburg Pro Media GmbH MXF4mac GC Export FCP 1.5.1
 Writing library : Hamburg Pro Media GmbH MXF4mac GC Export FCP 1.5.1
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Custom
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 240ms
 Bit rate : 50.0 Mbps
 Width : 1 280 pixels
 Height : 720 pixels
 Display aspect ratio : 16:9
 Frame rate : 50.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Progressive
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 1.085
 Stream size : 61.0 MiB (83%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #3
 ID : 5
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #4
 ID : 6
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #5
 ID : 7
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #6
 ID : 8
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #7
 ID : 9
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #8
 ID : 10
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
 
 
 General
 Complete name : I:\gatto720.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 65.1 MiB
 Duration : 10s 240ms
 Overall bit rate : 53.3 Mbps
 Encoded date : 2014-03-16 21:36:31.000
 Writing application : FFmbc OP1a Muxer 53.6.0
 Writing library : FFmbc OP1a Muxer 53.6.0
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Default
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 240ms
 Bit rate : 50.0 Mbps
 Width : 1 280 pixels
 Height : 720 pixels
 Display aspect ratio : 16:9
 Frame rate : 50.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Progressive
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 1.085
 Time code of first frame : 00:00:00:00
 Time code source : Group of pictures header
 Stream size : 61.0 MiB (94%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
 
 
 General
 Complete name : I:\output3.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 65.1 MiB
 Duration : 10s 240ms
 Overall bit rate : 53.4 Mbps
 Encoded date : 2014-03-16 21:42:01.000
 Writing application : FFmbc OP1a Muxer 53.6.0
 Writing library : FFmbc OP1a Muxer 53.6.0
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Default
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 240ms
 Bit rate : 50.0 Mbps
 Width : 1 280 pixels
 Height : 720 pixels
 Display aspect ratio : 16:9
 Frame rate : 50.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 1.085
 Time code of first frame : 00:00:00:00
 Time code source : Group of pictures header
 Stream size : 61.0 MiB (94%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 240ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.41 MiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
- 
	Try it with 8 mono audio (ie. just re-encode it with -target xdcamhd422 setting) 
 
 ffmbc -i XDcam_HD4221080i50.mxf -target xdcamhd422 TEST.mxf
 
 
 If that doesn't play , then there is an incompatibility between ffmbc's -target xdamhd422 preset, and in camera playback. You should file a report to baptiste
- 
	ffmbc -y -i i:\XDcam_HD4221080i50.mxf -target xdcamhd422 TEST.mxf 
 
 
 test.mxf unplayable by the camcorder  
 
 General
 Complete name : I:\TEST.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 62.2 MiB
 Duration : 10s 200ms
 Overall bit rate : 51.2 Mbps
 Encoded date : 2014-03-16 21:56:46.000
 Writing application : FFmbc OP1a Muxer 53.6.0
 Writing library : FFmbc OP1a Muxer 53.6.0
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Default
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 200ms
 Bit rate : 50.0 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Progressive
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 0.965
 Time code of first frame : 00:00:00:00
 Time code source : Group of pictures header
 Stream size : 60.8 MiB (98%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 768 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 16 bits
 Stream size : 956 KiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00Last edited by marcorocchini; 16th Mar 2014 at 17:00. 
- 
	You can make "blank" or "silent" audio tracks, but try the 8mono re-encode test first. If that doesn't work, then there is no point going any farther, at least with ffmbc 
 
 2 mono audio is the minimum requirement AFAIK
- 
	can I modify the string so that the output .mxf file have 8 audio track (or channels?)? 
 
 I don't know how... oh my cat
- 
	You have to put -newaudio for each audio track, and -acodec pcm_s24le -ar 48000 if they are not already. Since the source audio is already 24bit 48000Khz, I ommitted them here for this test 
 
 Code:ffmbc -i input.mxf -tff -target xdcamhd422 output.mxf -newaudio -map_audio_channel 0:1:0:0:1:0 -newaudio -map_audio_channel 0:2:0:0:2:0 -newaudio -map_audio_channel 0:3:0:0:3:0 -newaudio -map_audio_channel 0:4:0:0:4:0 -newaudio -map_audio_channel 0:5:0:0:5:0 -newaudio -map_audio_channel 0:6:0:0:6:0 -newaudio -map_audio_channel 0:7:0:0:7:0 -newaudio -map_audio_channel 0:8:0:0:8:0 
- 
	What a sad cat! 
 Hold on, there was a typo, I forgot to use -an for the first part, so there are 9! audio tracks
 
 This one should be correct
 Code:ffmbc -i input.mxf -tff -target xdcamhd422 -an test2.mxf -newaudio -map_audio_channel 0:1:0:0:1:0 -newaudio -map_audio_channel 0:2:0:0:2:0 -newaudio -map_audio_channel 0:3:0:0:3:0 -newaudio -map_audio_channel 0:4:0:0:4:0 -newaudio -map_audio_channel 0:5:0:0:5:0 -newaudio -map_audio_channel 0:6:0:0:6:0 -newaudio -map_audio_channel 0:7:0:0:7:0 -newaudio -map_audio_channel 0:8:0:0:8:0 
- 
	nothing do to: my cat is too sad 
 
 ffmbc -i input.mxf -tff -target xdcamhd422 -an test2.mxf -newaudio -map_audio_channel 0:1:0:0:1:0 -newaudio -map_audio_channel 0:2:0:0:2:0 -newaudio -map_audio_channel 0:3:0:0:3:0 -newaudio -map_audio_channel 0:4:0:0:4:0 -newaudio -map_audio_channel 0:5:0:0:5:0 -newaudio -map_audio_channel 0:6:0:0:6:0 -newaudio -map_audio_channel 0:7:0:0:7:0 -newaudio -map_audio_channel 0:8:0:0:8:0
 
 Unplayable.
 
 Also with:
 
 ffmbc -i input.mxf -tff -target xdcamhd422 -an test2.mxf -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:1:0:0:1:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:2:0:0:2:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:3:0:0:3:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:4:0:0:4:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:5:0:0:5:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:6:0:0:6:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:7:0:0:7:0 -acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:8:0:0:8:0
 
 Unplayable.
 
 General
 Complete name : V:\uova\test2.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 73.1 MiB
 Duration : 10s 200ms
 Overall bit rate : 60.1 Mbps
 Encoded date : 2014-03-16 22:52:56.000
 Writing application : FFmbc OP1a Muxer 53.6.0
 Writing library : FFmbc OP1a Muxer 53.6.0
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Default
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 200ms
 Bit rate : 50.0 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 0.965
 Time code of first frame : 00:00:00:00
 Time code source : Group of pictures header
 Stream size : 60.8 MiB (83%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #3
 ID : 5
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #4
 ID : 6
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #5
 ID : 7
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #6
 ID : 8
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #7
 ID : 9
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #8
 ID : 10
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
 
 This is the original input.mxf (XDcam_HD4221080i50.mxf) and is playable:
 
 General
 Complete name : V:\uova\input.mxf
 Format : MXF
 Commercial name : XDCAM HD422
 Format profile : OP-1a
 Format settings : Closed / Complete
 File size : 73.0 MiB
 Duration : 10s 200ms
 Overall bit rate : 60.0 Mbps
 Encoded date : 2013-03-04 11:51:31.840
 Writing application : Hamburg Pro Media GmbH MXF4mac GC Export FCP 1.6
 Writing library : Hamburg Pro Media GmbH MXF4mac GC Export FCP 1.6
 
 Video
 ID : 2
 Format : MPEG Video
 Commercial name : XDCAM HD422
 Format version : Version 2
 Format profile : 4:2:2@High
 Format settings, BVOP : Yes
 Format settings, Matrix : Custom
 Format settings, GOP : M=3, N=12
 Format_Settings_Wrapping : Frame
 Duration : 10s 200ms
 Bit rate : 50.0 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Standard : Component
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Scan order : Top Field First
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 0.965
 Stream size : 60.8 MiB (83%)
 Color primaries : BT.709
 Transfer characteristics : BT.709
 Matrix coefficients : BT.709
 
 Audio #1
 ID : 3
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #2
 ID : 4
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #3
 ID : 5
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #4
 ID : 6
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #5
 ID : 7
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #6
 ID : 8
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #7
 ID : 9
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Audio #8
 ID : 10
 Format : PCM
 Format settings, Endianness : Little
 Format_Settings_Wrapping : Frame (AES)
 Duration : 10s 200ms
 Bit rate mode : Constant
 Bit rate : 1 152 Kbps
 Channel(s) : 1 channel
 Sampling rate : 48.0 KHz
 Bit depth : 24 bits
 Stream size : 1.40 MiB (2%)
 
 Other #1
 ID : 1
 Type : Time code
 Format : MXF TC
 Time code of first frame : 00:00:00:00
 Time code settings : Striped
 
 Other #2
 Type : Time code
 Format : SMPTE TC
 Muxing mode : SDTI
 Time code of first frame : 00:00:00:00
Similar Threads
- 
  audio from .mxf file with FFMPEGBy marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 27th Dec 2013, 18:29
- 
  FFMPEG: from .mxf to mjpeg encodingBy marcorocchini in forum Newbie / General discussionsReplies: 10Last Post: 11th Jul 2013, 17:52
- 
  Converting everything to mp4 using ffmpegBy euphonic in forum Video ConversionReplies: 1Last Post: 13th May 2011, 08:53
- 
  ffmpeg help... convert mp4 to jpeg array, and back to mp4 - problem!By SaskVideoMaker in forum Video ConversionReplies: 2Last Post: 4th Feb 2011, 05:53
- 
  Help with FFmpeg .TS to .mp4By ViM in forum Video ConversionReplies: 2Last Post: 15th Nov 2010, 11:39


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote 
			
 
 
			
			