Questions tagged [timecodes]

A timecode is a way of displaying time-only information as an offset from a starting point. Often used on audio and video as the time from the start of the media. Commonly displayed in HH:MM:SS

82 questions
23
votes
7 answers

Can ffmpeg burn in time code?

I have a need to burn in a time code to a video and am wondering if this is something that ffmpeg is capable of?
spinon
  • 10,760
  • 5
  • 41
  • 59
11
votes
3 answers

MPV player time format HH:MM:SS or HH:MM:SS:mmm

does anybody know, if it is possible to set default displayed time format including milliseconds in mpv.conf ? Now I need click on time to switch to millisecnds, because option ,,timems'' from manual https://mpv.io/manual/master/ doesn't…
user2432166
  • 151
  • 1
  • 8
6
votes
1 answer

How to convert midi timeline into the actual timeline that should be played

I have researched the subject for some time now and still haven't figure it out. I use midas3 library (Midi-actionscript3) to import midi to flash. I get each note-item on a timeline. I get the divisions value (192) and all of the "GET-TEMPO"…
alon
  • 61
  • 1
  • 2
4
votes
4 answers

How to do timecode calculation?

I got a question regarding calculating time code delta. I read metadata from a movie file containing a timecode formated HH:MM:SS:FF (FF = frame, 00->23 for example. So its like 00 to framerate-1) So i get some data like 15:41:08:02 and from…
Malu05
  • 119
  • 2
  • 3
  • 10
4
votes
1 answer

How to read a timecode track with AVAsset and Swift 3?

I'd like to read the time value of a timecode track. There is an excellent documentation from Apple (see Technical Note 2310) but it's written in Objective C. I have translated the core logic to Swift 3. It works exactly as the ObjC version, which…
4
votes
1 answer

Convert Timecode to Frames with set start timecode

I am using the below script to convert timecode to frames, which works but is only converting with a start timecode of 00:00:00:00. I want to be able to set the start timecode so the calculation is relative. Also it breaks if I se the frame rate to…
speedyrazor
  • 3,127
  • 7
  • 33
  • 51
4
votes
1 answer

Read metadata with FFMPEG

I'm looking for a way to print a video or audio file metadata using FFMPEG. I tried the following command: ffmpeg -i DirtyLove.mov And got the following result: ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers built on Feb 16…
Martin Delille
  • 11,360
  • 15
  • 65
  • 132
4
votes
3 answers

Using AVPlayer in iOS can you know the current .ts file or the current timestamp from the encoder?

Since we are unable to get Closed caption data or subtitle data out of the AVPlayer, we are looking at other trigger methods, such as timecode or at least the knowledge of the .ts file that is currently active. I couldn't find anything in the…
angelfilm entertainment
  • 1,155
  • 2
  • 15
  • 31
3
votes
2 answers

RegEx: How can I match timecodes above a certain time?

I'm writing a script to scour the metadata of YouTube videos and grab timecodes out of them, if any. with urllib.request.urlopen("https://www.googleapis.com/youtube/v3/videos?id=m65QTeKRWNg&key=AIzaSyDls3PGTAKqbr5CqSmxt71fzZTNHZCQzO8&part=snippet")…
Lukabratzee
  • 137
  • 1
  • 10
3
votes
1 answer

Timecodes in Rails - time or numeric values?

I'm working on a project that stores data on audio tracks and requires the use of timecodes for the start and end points of the track on the audio. I also need to calculate and display the duration of the track. Eg. a track starts at 0:01:30 and…
richard
  • 1,565
  • 2
  • 18
  • 35
2
votes
2 answers

Python CSV find string and pass column number to variable

I just joined here after reading a ton of info over the last few months as I get grounds with Python. Anyway, I'm very new and have been researching as much as possible but most of the answers are a bit out of my reach in understanding and don't…
iceblueorbitz
  • 920
  • 1
  • 7
  • 17
2
votes
1 answer

Read MPEG-2 timecode

I'm using some old code from many years ago to calculate the duration of MPEG-2 videos. It seems something has changed as I'm getting 1 hour and 49 seconds for a 49 second video. The last GOP Header is found in the file and the 4 byte TimeCode is…
Ross
  • 157
  • 9
2
votes
1 answer

How to set different values for SMPTE TC and MXF TC in the same file?

As you can see in the attached picture, there are two different timecodes in my file, according to MediaInfo. Is there a way to set them to different values? Thank you.
user1722669
  • 488
  • 2
  • 6
  • 22
2
votes
0 answers

c# read LTC timecode from audio stream?

..As above. I am looking for a way to read an audio stream in c# (or c++, that I can convert to a dll and marshall it) and get the Linear Time Code data as Hour:Minute:Second:Frame. I have found a c# port that uses libltc…
anti
  • 3,011
  • 7
  • 36
  • 86
2
votes
1 answer

How to add backslashes to timecode string in python 2.7 in windows and osx

To create a burnt in timecode in ffmpeg, two escaping backslashes are required on the command line as so: 00\\:00\\:00\\:00 Using ffprobe to find the starting timecode produces the following output with a subprocess_output 00:00:00:00\n I am…
Tandy Freeman
  • 528
  • 5
  • 15
1
2 3 4 5 6