VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hi c**s

    in a directory I have some .mxf video files e.g:

    C0001.MXF
    C0002.MXF
    C0003.MXF
    ...
    ...
    C0099.MXF
    C0100.MXF

    I would like do a batch that concatenate all this .mxf file in one output.mp4 file in wich is impressed (overlay video) this information data:

    - name of the clip (e.g. C0033.MXF)
    - timecode of initial_timecode of the clip (e.g. if C0033.MXF has 00:47:01:19, the "00:47:01:19" have to overlay in video in output.mp4 in the part of C0033.MXF clip)

    is it possible avoiding use avisynth? thanks
    Quote Quote  
  2. Yes but not automatically and not in single step AFAIK (but i can be wrong as i'm newbie in ffmpeg).
    You can use subtitle filter and create subtitle file with all those information - such file can be created more or less automatically but also probably in few steps

    My crude batch scripting skills looks like: (forgot to mention that it will extract filename, start time and duration from files before concatenation - it can be later used by conversion to create subtitle file that can be overlayed on concatenated file so it is not full solution but only part - first step)

    Code:
    @echo filename,start_time,duration >fileinfo.txt
    @FOR %%a IN (*.mxf) DO (@ffprobe -select_streams v -i "%%a" -show_entries "format=filename,start_time,duration" -sexagesimal -v quiet -of csv="p=0" >>fileinfo.txt)
    Last edited by pandy; 1st Oct 2017 at 05:18.
    Quote Quote  



Similar Threads

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