VideoHelp Forum


Try DVDFab Video Downloader and rip Netflix video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. 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
    Quote Quote  
  2. There is no valid audio

    Look at ffmpeg console : data: none

    Medianfo : encoded stream size 0.00 byte

    Just add a Britney Spears track
    Quote Quote  
  3. 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

    Image
    [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
    Image Attached Files
    Quote Quote  
  4. is already strange that the MXF audio part won't play in VLC (seems it don't recognize any audio)
    Quote Quote  
  5. 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 bug
    Last edited by sneaker; 4th Aug 2017 at 03:46. Reason: updated ffmpeg command to extract 2 channels
    Quote Quote  
  6. thanks but where I can download mxf2raw.exe?
    Quote Quote  
  7. Member
    Join Date
    Jul 2018
    Location
    Aarhus DK
    Search PM
    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.
    Quote Quote  
  8. 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
    Quote Quote  



Similar Threads