HI ****
I'm try to encode to mp4 this video file from Panasonic P2 camera (not my camera)
https://www.dropbox.com/s/lzeesqc3kpgi0ko/PanasonicP2.MXF?dl=0
but strangely ffmpeg get me an error [mxf @ 0291e540] material track 2: no corresponding source track found
and however I need to catch audio of the first 2 track (as audio "1" and audio "2") and stays it into the mp4 output as stereo L+R if possible. Thanks![]()
+ Reply to Thread
Results 1 to 8 of 8
-
-
Oh, but how is possible?
I don't have try to open it with some NLE like avid or edius because I don't have they installed. But I have try to open it with Total Code Studio 3.5 and seems open well without errors
[Attachment 42720 - Click to enlarge]
Try to encode I get the attached with a regular audio on CH2 that I ear, maybe there is something we are not considering? seems strange -
The audio is definitely in there.
I could use:
mxf2raw.exe -p test PanasonicP2.MXF
ffmpeg.exe -i test_v0.raw -filter_complex "[0:1][0:2]amerge=inputs=2,pan=stereo|c0=c1|c1=c3[a]" -map 0:v -map "[a]" output.mp4
(I don't know if this is the correct channel mapping)
Why does ffmpeg not support the original file?
a.) file is malformed or
b.) file not supported or
c.) ffmpeg bug
Either way you will have to report it to the ffmpeg team if you hope to get it supported/fixed.
Since many players (like VLC) are based on ffmpeg they inherit the same problems.
Why do ffmpeg and MediaInfo show different channels counts?
a.) file is malformed or
b.) file not supported or
c.) ffmpeg bug or
d) MediaInfo bugLast edited by sneaker; 4th Aug 2017 at 02:46. Reason: updated ffmpeg command to extract 2 channels
-
Is this AVCLIP mxf? as generally P2 is not muxed and the audio is seperate. The corresponding audio is in the AUDIO folder and the details of what belongs to what are in the metadata in the CLIP folder, and if you want a muxed file you will have to assemble it.
-
Yes cat, I know but in this case I was only given a single file. Not all the structure.
I think to be solved the problem with a routine that seems of this kind
Code:mxf2raw.exe -p tempP2processing inputFileP2Panasonic.MXF ffmpeg34_64bit.exe -loglevel fatal -y -i tempP2processing_v0.raw -filter_complex "[0:1][0:2]amerge=inputs=2,pan=stereo|c0=c0|c1=c1[a]" -map "[a]" -shortest -t %aviGenDuration% -c:a pcm_s16le -ar 48000 output.wav
Similar Threads
-
from avi to mxf with ffmpeg
By marcorocchini in forum Newbie / General discussionsReplies: 58Last Post: 15th Jul 2014, 15:08 -
FFMPEG|FFMBC pipe to encode from .avi to .mxf files
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 21st May 2014, 03:51 -
ffmpeg: from .mp4 to mxf
By marcorocchini in forum Newbie / General discussionsReplies: 31Last Post: 17th Mar 2014, 16:14 -
audio from .mxf file with FFMPEG
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 27th Dec 2013, 17:29 -
Can encode in .avi mjpeg a file .mxf with mjpegtools?
By marcorocchini in forum Newbie / General discussionsReplies: 0Last Post: 2nd Dec 2013, 03:33