and I'm a cat
Please can I wonder a question? I have 2 files:
that have almost the same timecode of
We can suppose that A.MXF have timecode starting from 13:39:40,00
and B.MXF have timecode starting from 13:39:50,00
A.MXF and B.MXF are present on the same folder
We already suppose that A.MXF have as final timecode: 13:45:16,00
and B.MXF have as final timecode: 13:43:00
I would like do a "program" (ffplay?) that analyze the timecode of A.MXF and the timecode of B.MXF and playback in syncronous on the pc-desktop the 2 files on 2 separate windows starting from the common minimum interval timecode that are (in this case) 13:39:50,00 until 13:43:00
How can I do? thanks
ps: I don't need to see timecode as picture on the screen, "simply" I need to playback on 2 windows the 2 video files in the part of video that have a common timecode
+ Reply to Thread
Results 1 to 17 of 17
Last edited by marcorocchini; 30th Jun 2015 at 19:19.
mmm poison are you meaning to do an .avs file that have a program1 video stream and program2 video stream in witch the trim is the common part [referred to the timecode] of a.mxf and b.mxf? and then play this .avs for example with vlc
Last edited by marcorocchini; 1st Jul 2015 at 03:22.
avisynth doesn't work in timecodes, so convert the start and end points to frames using math.
e.g if you want to start at 1 min exactly , and it's 25fps content,
25frames/s * 60s/min * 1min = 1500 frames
So the start point for 1 min would be Trim(1500,0) if you wanted to play to the end (that's what the ,0 is for)
You can use showtime() to overlay the time on each clip if it helps, and/or showframenumber()
I have upload A.MXF and B.MXF with a sincronous timecode (there are connected to the cameras a timecode generator, it's connected also to the betacam deck shown in the video. I personally check from above that the timecode was exactly sincronous to all)
so that this is the situation
I try to understand if there is way to playback the common part of the 2 video files, in 2 windows, in this case the start and stop of the playback have to be the total lenght of the B.MXF
Replace Bob() with whatever deinterlacer you want.
a = ffVideoSource("A.MXF").Bob().Trim(111, 0).BilinearResize(960, 540) b = ffVideoSource("B.MXF").Bob().ConvertToYV12().BilinearResize(960, 540) StackHorizontal(a, b)
Last edited by jagabo; 2nd Jul 2015 at 07:31.
Trim() off the end of the video. Add this to the end of my earlier script:
a.framecount < b.framecount ? Trim(0,a.framecount) : Trim(0, b.framecount)
jagabo , it won't matter in this case since you're trimming off the end, but shouldn't it be framecount-1 for trimming the endframe ?
e.g if he wanted to stop 1 frame early, it would be framecount-2 since numbering starts at zero
Yes, framecount-1 would be more precise.