Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
timecode [2016/06/21 18:56]
slackermedia
timecode [2021/06/03 19:48] (current)
Line 19: Line 19:
 And so on. And so on.
  
-It is also//time// being what it is, possibly ​to specify units less than a whole frame. The timecode ''​00:​00:​12:​12.5''​ indicates ​12 seconds, 12 frames, and a half of a frame. If you know how many frames are in one second, you can convert that value to milliseconds. For instance, if there are 24 frames per second, then 12.5 frames is ''​.5208''​ second or ''​520.8''​ milliseconds (because 12.5 divided by 24 frames is 0.5208, with 24 frames being a value equal to 1 second).+It is also (//time// being what it is) possible ​to specify units less than a whole frame. The timecode ''​00:​00:​14:​12.5''​ indicates ​14 seconds, 12 frames, and a half of a frame. If you know how many frames are in one second, you can convert that value to milliseconds. For instance, if there are 24 frames per second, then 12.5 frames is ''​.5208''​ second or ''​520.8''​ milliseconds (because 12.5 divided by 24 frames is 0.5208, with 24 frames being a value equal to 1 second).
  
 ==== Time Base ==== ==== Time Base ====
Line 39: Line 39:
 Timecode is available across both video and audio. Strictly speaking, you don't need to use SMPTE timecode if you are not working to video, but pragmatically it is probably available to you if you find it useful. Many DAWs display timecode just as happily as they display traditional hour-and-minutes counters or measures-and-beats. Timecode is available across both video and audio. Strictly speaking, you don't need to use SMPTE timecode if you are not working to video, but pragmatically it is probably available to you if you find it useful. Many DAWs display timecode just as happily as they display traditional hour-and-minutes counters or measures-and-beats.
  
 +You can manually burn in timecode to video files using [[https://​opensource.com/​life/​15/​12/​10-kdenlive-tools|Kdenlive]],​ or even [[ffmpeg]] (thanks to Github user [[https://​gist.githubusercontent.com/​reidransom/​2630650/​raw/​63e4748b3cd903b916291658c14f97f81c6ae3e4/​gistfile1.sh|reidransom]]):​
 +
 +<​code>​
 +$ ffmpeg -i video.mp4 -vcodec copy -acodec copy \
 +-vf "​drawtext=fontfile=DroidSansMono.ttf:​ timecode='​01\:​00\:​00\:​00':​ r=24: \
 +x=(w-tw)/2: y=h-(2*lh): fontcolor=white:​ box=1: boxcolor=0x00000099"​ \
 +-threads 6 -y output.mp4
 +</​code>​
 +
 +Or you can use a video player that dynamically displays timecode, like [[xjadeo]]
  
 <WRAP centeralign>​ <WRAP centeralign>​