Log in

View Full Version : MXF - Trim / Concatenate?


Blue_MiSfit
2nd December 2011, 06:08
Hello Folks!

I've been dealing with a lot of MXF files recently, specifically the widespread (and irritating) 1080i XDCAM HD422 variety. Prior to this I'd never really touched MXF, and wasn't sure what to expect.

For those who are curious, XDCAM HD422 is essentially Long GOP MPEG-2 using 4:2:2 chroma subsampling. The flavor I'm using is 1080i60, at 50mbps CBR. It's pretty good quality, and usually comes with 8 channels of 24 bit, 48 KHz AES style PCM (to account for 4 AES pairs).

I've found that despite MXF aiming to be "the" universal post-production container, there are lots of "gotchas". One such issue is regarding trims and concatenations.

When it comes to other containers like MPEG PS, MPEG TS, MKV, MOV, AVI etc... performing trims is fairly straighforward, and there are a lot of free / open-source tools that can be used. Concatenation is also possible, if a bit more involved. DGIndex, MKVMergeGUI, QuickTime Pro, mpg2cut2, VirtualDub and others come to mind.

With MXF, I've yet to find a good solution. Sure, you can dump it on the timeline of an NLE and trim what you want, but this usually involves a lengthy import process. Transcoding is an option, but it's slow and you obviously take a quality hit.

Does anyone have a good (preferably free, but payware is okay too) solution to cut and join MXF files?

Derek

seanmc102
4th December 2011, 00:16
Interestingly enough, I ran into this same situation today and was searching the web for a solution. I did not find much but I tried one thing that might work. I needed a 20 second piece out of the middle of a 4 minute MXF file created by an XDCAM camera.

I used the following command line in ffmpeg:

ffmpeg.exe -i input.mxf -vcodec copy -acodec copy -ss 125 -t 20 output.mxf

It gave a bit of lip in the feedback but it created the file... now to see if it will import into an Avid...

-Sean

a451guy451
17th December 2011, 03:15
I think Vegas might be able to do this. There's also ffmbc:
http://code.google.com/p/ffmbc/

unihumi
9th January 2013, 16:45
This might be way too late, but if anyone's still interested...

I do work alot with MXF files myself. We use the Sony XDCAM EX3 and the software for wrapping up the files, which the camera recorded, is called Content Browser (v1.1) and this one also allows simple trim jobs. Right now I can't check if it does concatenate files as well, as I'm not at work right now, but you might want to check it out yourself.

It's a free program (which has more features, once you bought/registered it) and should do the trick, hopefully.

Here's a link to the Sony site: https://pro.sony.com/bbsc/ssr/micro-xdcam/resource.downloads.bbsccms-assets-micro-xdcam-downloads-XDCAMSoftwareDownload.shtml

/edit: The program is now called "Content Browser"