[FFmpeg-user] Capturing raw video and honoring timestamps

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 8 19:05:08 CET 2012


Joseph Rosensweig <jrosensw <at> gmail.com> writes:

> I've been playing around with streaming a bit. I'm 
> essentially taking a stream of raw YUV data and feeding 
> it into ffmpeg to create h264 recordings of the data 
> packed in an mp4.  This has worked really well for me, 
> but I was wondering if there was any way to provide 
> timestamps to ffmpeg so that when it received the video 
> data it would honor the timestamps when creating the 
> recording. 

> Is there a way to encode the timestamp into the raw stream 
> frames such that ffmpeg will recognize and honor it?

Command line and complete, uncut console output missing.
(Normally, I write this although I already could guess - 
not always correct of course - what the issue is, in your 
case I have absolutely no idea because "timestamps in raw 
YUV data" is just not precise enough to understand, at 
least for me.)

Carl Eugen



More information about the ffmpeg-user mailing list