VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. 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
    Quote Quote  
  2. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    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?
    Quote Quote  
  3. 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
    Quote Quote  
  4. 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
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    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
    Quote Quote  
  6. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    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)
    Click image for larger version

Name:	timecodes.jpg
Views:	151
Size:	123.8 KB
ID:	42221

    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..
    Quote Quote  



Similar Threads

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