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
+ Reply to Thread
Results 1 to 2 of 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.
Similar Threads
-
ffmpeg overlay question
By Basher06 in forum Newbie / General discussionsReplies: 0Last Post: 19th Jun 2015, 04:52 -
ffmpeg - howto encode creation date/time overlay from metadata
By hydra3333 in forum EditingReplies: 6Last Post: 20th Dec 2014, 18:19 -
can ffmpeg directly type a .txt file with only timecode data?
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 17th May 2014, 16:49 -
How to inject metada data with FFMpeg Converting
By ajo000 in forum Video Streaming DownloadingReplies: 3Last Post: 14th Feb 2013, 12:15 -
Ffmpeg meta data fails to write UTF-8 and screws up files?
By burzum793 in forum AudioReplies: 0Last Post: 22nd Nov 2012, 05:36