Wizwert / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

FFmpeg - write video frames with a specific timestamp #226

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm receiving JPEG images and want to encode them with specific (increasing) 
timestamps
The attached patch adds a new method to VideoFileWriter that accepts a 
timestamp (as a TimeSpan object) and sets the "pts" value.

Original issue reported on code.google.com by ksha...@gmail.com on 20 Jun 2011 at 10:48

Attachments:

GoogleCodeExporter commented 8 years ago
Adding VideoFileWriter.WriteVideoFrame(Bitmap, TimeSpan) method, which allows 
setting presentation time of the video frame being saved.

Committed in revision 1531. Will be released in version 2.2.0.

Original comment by andrew.k...@gmail.com on 21 Jun 2011 at 10:11

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 28 Jul 2011 at 9:49

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 10 Aug 2011 at 9:37