Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
6th June 2013, 09:55 | #1 | Link |
Registered User
Join Date: Nov 2008
Posts: 324
|
mxf in avisynth
I've been unable to get any mxf's into Avisynth, so decided to de-mux first. Really this is a FFMBC question but there isn't a section for that...!
I can de-mux the video like this: Code:
ffmbc -i test.mxf -t 60 -vcodec copy video.m2v Code:
ffmbc -i test.mxf -t 60 -acodec copy -vn audio.wav Code:
ffmbc -i test.mxf -t 60 -vcodec copy video.m2v -acodec copy audio.wav Could not write header for output file #1 ffmpeg appears to de-mux both audio and video at once (using the same command) but the resulting audio is mangled. Any help much appreciated. Thanks. |
6th June 2013, 12:43 | #3 | Link |
Registered User
Join Date: Nov 2008
Posts: 324
|
Certainly.
The mxf contains one m2v video file and 4 pcm audio files. It was produced (I think) on an avid editor and is a promotional video for a Portugese shopping centre! (I am the voice-over on it!) My object here is to make a more compatible version to use as a demo of my work. |
8th June 2013, 00:10 | #8 | Link |
Registered User
Join Date: Apr 2013
Location: Vienna, Austria
Posts: 55
|
You nailed it. Ufortunately audio handling of MXF Files is not only in ffmpeg based stuff complicated. It is one of the most common "incompatibility" problems of MXF in general.
Basically for understanding the problem you first have to understand that there are different ways to transport audio in MXF: -) with or without audio header (typically wav or AES) -) devided into multiple tracks or multiple channels in one stream * SD/D10: 8 ch / 1 track * HD/XDCAMHD: 8 ch / 8 tracks * some dirty mxf: 2 ch / 1 track * other dirty mxf: 4ch / 2 tracks Now, what you did was to ask default wav for output from ffmbc, without specifying any channel layout. If i was the developer of ffmbc, i would for sure use 2ch / 1 track for default wav layout. |
Thread Tools | Search this Thread |
Display Modes | |
|
|