5 votes

ffmpeg: preserve timecode when converting mp4 to mov

Short answer specific to this problem: Use this option: -map_metadata 0:s:2 Explanation: Timecode often comes in a format specific to the file format, so ffmpeg can't be expected to just 'copy' it ...
vaibhavbshete's user avatar
4 votes
Accepted

Reading aux timecode with Premiere Pro

Premiere Pro does not currently read audio timecode, I wish it did as it would solve a lot of problems. There are a couple options but either mean longer work flow and or costs money depending on ...
CardinalBags's user avatar
4 votes
Accepted

How are frames in 59.94 drop-frame timecode dropped?

Apparently, the frames are dropped at the same cadence, but with double frequency. From FFmpeg's timecode drop function, if (fps == 30) { drop_frames = 2; frames_per_10mins = 17982; } else ...
Gyan's user avatar
  • 32.6k
4 votes

ffmpeg: preserve timecode when converting mp4 to mov

In case someone else comes looking for this, timecode in mp4 and mov files is often a "data" track, and ffmpeg usually drops data tracks. To keep all tracks, I usually use these switches to ...
electron.rotoscope's user avatar
3 votes

ffmpeg: preserve timecode when converting mp4 to mov

Just use copy for all streams i.e. ffmpeg -i [filename] -c copy -map 0 [outputDirectory] Edit: Let's switch byte-order ffmpeg -i [filename] -c copy -c:a pcm_s16le -map 0 [outputDirectory]
Gyan's user avatar
  • 32.6k
3 votes
Accepted

Video metadata: What is "Video delay" used for?

Streaming formats maintain timestamps for each frame, whether audio or video, which govern when the player ought to present them. Those non-zero big start times usually occur when a snippet is cut out ...
Gyan's user avatar
  • 32.6k
2 votes

Is it possible in FFMPEG to change scale over time?

From what I understand 't' is evaluated once. Have you read this: https://ffmpeg.org/ffmpeg-filters.html#zoompan ? Ffmpeg Docs: 9.170.1 Examples Zoom-in up to 1.5 and pan at same time to some spot ...
Rob's user avatar
  • 847
2 votes
Accepted

How is 29.97 timecode generated over a full day without frame errors?

As per the Broadcast Engineer's Reference Book, p. 203 This correction will match DF time to real time to within approximately 2.6 frames per day; to eliminate the residual error the timecode ...
Gyan's user avatar
  • 32.6k
2 votes
Accepted

How to use (or should I use) time code/user bit feature on Sony FDR-X3000 action cam

No, they don't have a way to keep it in sync. This is why the timecode is clock based. The idea is that if the clocks are reasonably close, you'll be able to line up multiple cameras across multiple ...
AJ Henderson's user avatar
  • 19.3k
2 votes
Accepted

ffmpeg timecode and -r

Use a filter to reduce the framerate beforehand ffmpeg -i in.mpg -vf "fps=24,scale=-2:360,drawtext=timecode='00\:00\:00\:00': r=24" out.mpg
Gyan's user avatar
  • 32.6k
2 votes

pause video with overlay ffmpeg

Let's call the video frame rate F. And the start time of the overlay t Use ffmpeg -i in.mp4 -i ol.png -filter_complex "[0]trim=0:t,loop=X*F:1:t*F,setpts=N/FRAME_RATE/TB[fol]; [0]...
Gyan's user avatar
  • 32.6k
2 votes
Accepted

How does ffmpeg record -timecode in different file formats?

FFmpeg only supports timecode in a limited set of formats. They are the MOV family (MOV/MP4/3GP..), MXF family, raw DV and Grass Valley GXF. How the timecode is stored and flagged is specific to the ...
Gyan's user avatar
  • 32.6k
2 votes
Accepted

ffmpeg: Preserve timecode when converting mov to mp4

After some detective work, I've started using a command line that converts the video and keeps the timecode intact: ffmpeg -y -i input.mov -map 0:v -map 0:a -c:v mpeg4 output.mp4
DiB's user avatar
  • 141
2 votes

Editing/Changing Cluster Timecode Element in mkv files (Amazon Kinesis Video)

MKV frame timestamps are relative to the start of the cluster. The cluster timestamps, however can be absolute or relative to the beginning of the "presentation". The frame timestamps are the ...
MushMal's user avatar
  • 21
2 votes
Accepted

is there a way to manipulate (pad, slice) a computed PTS timestamp within ffmpeg / drawtext?

The FFMPEG does not support strtime %f option; therefore, the fractional second works with AVTB only. The parameter is -filter_complex "drawtext=fontsize=90:x=20:y=20:text='pts=%{pts\:gmtime\:0\:%...
xer-rex's user avatar
  • 754
2 votes

Blade Tool Stuck on Grid in Final Cut

You can only cut in-between frames of your video clips. Videos have generally frame rates per second of 24 or 25, maybe 30. Sound files have typically a sample rate per second of 48000. So you could ...
German Dude's user avatar
2 votes
Accepted

How can I get timecode start times and chapter names as plain text from a video which has chapter markers?

LosslessCut (GUI for ffmpeg and ffprobe, multi-platform, free) Open video file with video markers. A dialog opens: This file has embedded chapters. Do you want to import the chapters as cut-segments?...
porg's user avatar
  • 151
1 vote

How to export source timecode and clip names as an overlay in Premiere?

I've finally found out the answer. It is possible, but fiddly. For the source timecodes for every clip: Duplicate your sequence. Find the Timecode effects in the Effects panel and apply it to the ...
tomh's user avatar
  • 7,585
1 vote

Using both SMPTE and IRIG-B time codes

If the instrumentation code is available as an audio signal (Modulated or Modified Manchester), it can be added as a new track on the video (separate stream in the file). In a multi-track environment ...
Jim Mack's user avatar
  • 4,674
1 vote

Change the timecode with ffmpeg in the middle of the track?

Depending on your final use case, a non-standard way to deal with that would be to keep the original TC as LTC (audio TC) on an additional track. Concatenating clips would then preserve the original ...
Jim Mack's user avatar
  • 4,674
1 vote

Create a MXF media with a video and audio clip at specific timing compatible with Pro Tools

The method in my comment still stands. Let's say you have two audio tracks. Basic command syntax is ffmpeg -i picsou.mp4 \ -i audio1.wav \ -i audio2.wav \ - filter_complex "[1:a]...
Gyan's user avatar
  • 32.6k
1 vote
Accepted

SDI loop through with LTC embedder

It is quite possible to make, but think FPGA with 3 Gig SERDES (so probably a modest Kintex 7 or something similar) with a couple of SDI line IO parts (TI) and maybe a PLL from SI Labs, add some power ...
Dan Mills's user avatar
  • 211
1 vote

How to copy timecode value from a video to clipboard on a mac

This can be done in Apple's Motion (but not FCPX for some reason). To do so, create a new project and import your footage. You'll want the project's frame rate and starting timecode to match the ...
user1118321's user avatar
  • 2,156
1 vote

Problem setting first frame timecode using ffmpeg - timecode always different from requested for 59.94fps video

The user-supplied timecode value is converted to an integer value that represents the frame number which is associated with that timecode. It is this integer which is stored in the file. In drop-...
Gyan's user avatar
  • 32.6k
1 vote

Audio/video sync puzzle

I record conferences all the time, so I end up getting 10's of hours of footage at a time. I have a few tricks that help with syncing: Run all cams all the time. If a full day shoot gets only 3 ...
user3643's user avatar
  • 2,164
1 vote

Premiere .prproj file ticks drift by 1/1000 compared to timecodes

First, let me say that I have no idea what Premiere is doing with its values or what a 'tick' means in their terms. I can only speak generally. The video frame rate should match the timecode rate, ...
Jim Mack's user avatar
  • 4,674
1 vote

Is 0.0036% time inaccuracy on a consumer-grade camcorder expected?

IME, 0.0036% is rather better than average. Consumer gear operates on quite inexpensive crystal oscillators. These oscillators or crystals are not tuned precisely (or they would cost too much), and ...
Richard Crowley's user avatar
1 vote

Reset timecode in source footage to 00:00:00

You can do this upon export from Premiere. Load up your clip, export timeline (use Cineform or Prores for lossless if you'll be re-inserting into another project), and click the "Set Start Timecode" ...
snomsnomsnom's user avatar
1 vote

Reset timecode in source footage to 00:00:00

You can use ffmpeg, a free command-line tool, like so ffmpeg -i input.mov -c copy -map 0 -dn output.mov The -c copy sees that there's no re-encoding, the -map 0 copies everything over but the -dn ...
Gyan's user avatar
  • 32.6k

Only top scored, non community-wiki answers of a minimum length are eligible