Re: [FFmpeg-user] Getting precise start time from wall-clock for capture

2015-05-18 Thread Arthur Wait
> > I see the timestamp of the first frame "reset" to 0 - is that what you > mean with "normalize"? > Here's what seems to have worked for me: ffmpeg -f v4l2 -framerate 60 -video_size 1920x1080 -ts mono2abs -i /dev/video-static -r 2997/100 -f matroska -c:v nvenc -b:v 25000k -minrate 25000k -maxra

Re: [FFmpeg-user] Getting precise start time from wall-clock for capture

2015-05-18 Thread Arthur Wait
Fantastic Nicolas, thanks so much! This is exactly what I needed. Arthur > ffprobe -i /dev/video0 -of compact -show_packets > [...] > > packet|codec_type=video|stream_index=0|pts=1392045174616|pts_time=1392045.174616|... > > As you can see, this is the monotonic clock (and my uptime here is 16 >

Re: [FFmpeg-user] Getting precise start time from wall-clock for capture

2015-05-18 Thread Arthur Wait
Thanks Nicolas. > Please remember to follow the mailing list's netiquette, > in particular not hijacking threads (too late for that this time) > but all of it. Apologies for hijacking the thread (though I'm not clear as to what in particular I did in that regard--I started the thread). > You did

[FFmpeg-user] Getting precise start time from wall-clock for capture

2015-05-17 Thread Arthur Wait
Hi all, I'm using FFMPEG to record video from several cameras attached to several networked computers. The computers' clocks are all synced. I'd like to be able to get a precise date/time for the first captured frame; this will allow me to easily sync the recordings later on. I've found that just