Hi all
and I'm a cat
Please can I wonder a question? I have 2 files:
A.MXF
that have almost the same timecode of
B.MXF
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
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 17 of 17
Thread
-
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)
please download:
https://www.dropbox.com/s/asjcilbo88nnlhs/A.MXF?dl=0
https://www.dropbox.com/s/clfgx0kp6qidasy/B.MXF?dl=0
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.
Code: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:
Code: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
Similar Threads
-
play and record from /dev/video at the same time?
By ziffusion in forum LinuxReplies: 3Last Post: 29th Oct 2013, 08:07 -
NTSC frame rate and the relation to time (and timecode)
By xcile in forum ProgrammingReplies: 30Last Post: 28th Feb 2013, 12:04 -
Blu-ray .mkv files won't play both audio and video at the same time
By birdbrainblue in forum Software PlayingReplies: 2Last Post: 20th Jan 2012, 06:42 -
Time-Lapse Video Does Not Play Smoothly
By radardetector in forum Newbie / General discussionsReplies: 16Last Post: 17th May 2011, 10:21 -
Adding timecode data to a VP8 video at encode-time
By ilya.lissoboi in forum ProgrammingReplies: 0Last Post: 29th Apr 2011, 05:43