logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
rickb  
#1 Posted : Saturday, March 23, 2019 10:17:24 AM(UTC)
rickb

Rank: Newbie

Groups: Registered
Joined: 8/20/2016(UTC)
Posts: 6

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
.
I'm looking for reports of how other folks capture or generate timecode. FFmpeg can do the job, but see below for a limitation that I haven't been able to work around.

- - - -

We use vMix to mix, overlay and record feeds from 5 cameras on a robot.

Capturing timecode with each recording is essential to syncing the video to other data, for example, the robot's location. We use UTC for timecode, so, starting at 0:00 is not really an option. We also selectively record multiple clips during a session, and I'd like to enable our operators to use vMix's Recording or Multicorder controls. vMix has been ideal for our application: we use NDI (in + out), overlays, shortcuts, streaming, etc.

Currently, we generate and record an audio LTC track, which works, but requires additional post-recording steps to convert to timecode tracks. We record in x264 for file size and ease of distribution and create proxies for editing.

FFmpeg can generate a TMCD timecode track, based on Apple's original spec for QuickTime MOV files, which would work for our purposes. However, FFmpeg's timecode feature requires the start time for the timecode track to be provided in the command line (e.g. "ffmpeg -i input.mpg -timecode 01:02:03.04").

vMix invokes FFmpeg using command line templates found in the ffmpegformats.xml file, brilliantly allowing some user control (tip of the hat to Martin, again). However, I can see no way of inserting the current system time in that invocation.

  • Shell escape, then call time or Get-Date: I've \\\\tried. Does vMix invoking FFmpeg involve the shell, to be escaped to?
  • Use External dshow streams to FFmpeg, with FFmpeg invoked outside of vMix (hat tip DWAM): would work, but I'd really like to control recordings from inside vMix
  • Feature request for vMix for a variable (system time) that can be included in the FFmpeg command line template: so tempting, because vMix already accepts a formatted date-time stamp template for the filename.
  • Feature request for FFmpeg or code it myself to allow a timecode track start time option of 'now', which has precedent in the FFmpeg Utilities.


Or some option I've overlooked. One additional wrinkle - on occasion we've had the FFmpeg-based recording fail, generating an alert in vMix (thankfully). The logs have not been much help, but I without timecode output I've been able to not rely on the FFmpeg recording option.

thanks 1 user thanked rickb for this useful post.
doa on 11/24/2021(UTC)
aircooled76@gmail.com  
#2 Posted : Friday, June 11, 2021 12:13:58 PM(UTC)
aircooled76@gmail.com

Rank: Advanced Member

Groups: Registered
Joined: 8/15/2013(UTC)
Posts: 84
Man
Australia
Location: Could be Australia could be Europe/UK!

Was thanked: 7 time(s) in 7 post(s)
+1 for timecode options in vMix.

I don't know the technical stuff of how easy this may be. But it would be great if there was a global timecode option n vMix that would add time of day timecode to all files recorded (Recording / MultiCorder / Replay)

In our use case we are producing sport and it would be great to be able to reference the time of day in the recordings for referencing later in editing.
FoxICT  
#3 Posted : Sunday, November 21, 2021 12:04:35 AM(UTC)
FoxICT

Rank: Member

Groups: Registered
Joined: 5/4/2016(UTC)
Posts: 22

Thanks: 12 times
Was thanked: 3 time(s) in 3 post(s)
+1 Yes please.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.