VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Hi but sorry I'm_a_cAt

    please I wonder

    is there a way to concatenate more .mxf files

    C0001.mxf
    C0002.mxf
    C0003.mxf
    C0004.mxf
    C0005.mxf
    C0006.mxf
    C0007.mxf
    ...
    and so on

    so that a unique .avs open all thsi .mxf files with the audio part of each file?

    thanks

    ps: if a .mxf file does not have the audio part, avisynth should put a silence in audio but the sync audio/video for each file have to be keep, thanks
    Quote Quote  
  2. Code:
    file1 = SOURCEFILTER("C0001.mxf") #replace "SOURCEFILTER" with the source filter of your choice
    file2 = SOURCEFILTER("C0002.mxf")
    file3 = SOURCEFILTER("C0003.mxf")
    file1++file2++file3
    Note that you can run into memory problems because more source filters = more RAM needed. So you may need to append them before loading them in AviSynth. (Using ffmpeg/fmbc?)

    http://avisynth.nl/index.php/Splice
    Quote Quote  
  3. Code:
    SetMemoryMax(16)
    LoadPlugin("v:\automazioneclip\avisynth\plugins\LSMASHSource.dll")
    file1 = LWLibavVideoSource("W:\brisighella\C0060.MXF") 
    file2 = LWLibavVideoSource("W:\brisighella\C0061.MXF")
    file3 = LWLibavVideoSource("W:\brisighella\C0062.MXF")
    file1++file2++file3
    mmmm yes I have try this but there is no audio :=(
    Quote Quote  
  4. mmmmmmmmmmm
    Image Attached Thumbnails Click image for larger version

Name:	ohmy2.jpg
Views:	193
Size:	49.7 KB
ID:	36125  

    Quote Quote  
  5. SetMemoryMax(16)
    LoadPlugin("v:\automazioneclip\avisynth\plugins\LSMASHSource.dll")

    videofile1 = LWLibavVideoSource("W:\brisighella\C0060.MXF")
    audiofile1 = LWLibavAudioSource("W:\brisighella\C0060.MXF")
    file1 = audiodub(videofile1,audiofile1)

    videofile2 = LWLibavVideoSource("W:\brisighella\C0061.MXF")
    audiofile2 = LWLibavAudioSource("W:\brisighella\C0061.MXF")
    file2 = audiodub(videofile2,audiofile2)

    videofile3 = LWLibavVideoSource("W:\brisighella\C0062.MXF")
    audiofile3 = LWLibavAudioSource("W:\brisighella\C0062.MXF")
    file3 = audiodub(videofile3,audiofile3)

    file1++file2++file3
    Quote Quote  
  6. can I tell to avisynth:

    if the videofile or audiofile part does not have video (or audio) part, please insert black (video) or silence into the gap?
    Quote Quote  
  7. There are functions to create black video and silence. I'm sure it's possible to make it a bit automatic but I'm too lazy to give you an example. Try a search.
    http://avisynth.nl/index.php/BlankClip
    http://avisynth.nl/index.php/Tone
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!