Hi but sorry I'm a c**
I would like do a batch that check if a particullary timecode (e.g. 00:26:53:16) does exist inside a .MXF video file generated from the camera.
How can I do it?
thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
Are you talking about the video Encoded time or 14th the time on each frame that is sometimes included with camera video in the form of a subtitle type time?
-
I think the second: the timecode of professional camcorders.
I try to do a batch that verify inside a .mxf file if a specific timecode valute does exist or not -
For example if you download this:
https://www.dropbox.com/s/bqwde8vozykrhgb/C0007.MXF?dl=0
TimeCode_FirstFrame : 01:57:15:12
I would like do a batch that verify if (for example) 01:57:20:00 does exist inside this C0007.MXF or not. In this case 01:57:20:00 does exist. Meanwhile, for example, 01:57:10:13 does not exist -
I think that would be hard for cli batch method. There is a separate interrogation of the file to get times which then have to be checked against a known time. Are all the files going to be checked against the same time? It may be possible to send timings to a temp file and then parse as input as a variable from that file but i think it would be easier to write a specific program for this since you are talking about checking every single frame if i understand correctly
-
It can be done like in an old post of yours https://forum.videohelp.com/threads/364382-batch-to-extract-with-ffmpeg-(initial)timec...-to-a-txt-file. You can get the information and even pull into a CMD file as variables but calculating how far, if ever, that timecode resides in the video is beyond me for a command file especially for batch processing.
Once you have the start SMPTE TC you can display it in the video
01:57:15:12 leaves 13 frames left until 01:57:16:00
01:57:16:00 leaves 100 frames until 01:57:20:00 (4 seconds x 25 fps)
113 frames into the movie
Code:DirectShowSource(("C:\Users\Bud\Desktop\C0007.MXF"), Pixel_Type="yuy2").Crop(0,0,-0,-0).DelayAudio(-0.0) LanczosResize(960,540) Subtitle("C:\Users\Bud\Desktop\C0007.MXF", x=1920, y=560, font="Arial", size=24, text_color=$ff0000, align=3) Subtitle("This is Anamorphic video", font="Arial", size=24, text_color=$ff0000, align=5) ShowFrameNumber(scroll=true, x=10, y=27, font="Arial", size=24, text_color=$ff0000) ShowTime(x=72, y=44, font="Arial", size=24, text_color=$ff0000) ShowSMPTE(fps=25, offset="01:57:15:12",x=68, y=61, font="Arial", size=24, text_color=$ff0000)
It's much easier to do with a GUI that gets the information and utilizes it for display or calculations but it would need to be something new because I know of no program that will do that now..
Similar Threads
-
Does an app exist to break up a video file into specific size parts?
By brassplyer in forum EditingReplies: 6Last Post: 14th Jun 2014, 08:11 -
batch to extract - with ffmpeg - (initial)timecode to a .txt file
By marcorocchini in forum Newbie / General discussionsReplies: 41Last Post: 20th May 2014, 15:55 -
(dos-batch) findstr into xdcamhd and imx .mxf files
By marcorocchini in forum Newbie / General discussionsReplies: 9Last Post: 7th May 2014, 18:42 -
How to check if AviSynth is installed (from a Windows batch file)
By as264 in forum EditingReplies: 9Last Post: 10th Feb 2014, 10:19 -
Let ffmpeg show used audio and video codec inside a (.mp4) video file?
By pxstein in forum Newbie / General discussionsReplies: 1Last Post: 26th Jan 2013, 03:47