[FFmpeg-user] Capturing raw video and honoring timestamps

Roger Pack rogerdpack2 at gmail.com
Sat Dec 8 18:29:19 CET 2012


On 12/7/12, Joseph Rosensweig <jrosensw at gmail.com> wrote:
> Hey all,
>
>    This is just an open question.  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?

I think it assumes a set framerate.  So if you could manipulate the
data to have that it might work...
-r


More information about the ffmpeg-user mailing list