[ogg-dev] gstreamer oggmux and variable framerate

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Thu Aug 19 08:41:47 PDT 2010


On 08/19/2010 11:29 AM, Timothy B. Terriberry wrote:
> Alexey Fisher wrote:
>> My question is: should actually ogg support timestamps, also variable
>> framerate? If yes: it seems to be some where broken.
> 
> The Ogg mapping for Theora is fixed-framerate. You can hack something 
> into Ogg by using a higher framerate and inserting "duplicate frame" 
> packets (which cost approximately one byte each, including the container 
> overhead), but AFAIK there is no gstreamer support for doing this 
> automatically.

The best solution I know of is to use the "videorate" element to convert
the stream into a form that theoraenc can handle:

http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-videorate.html

--Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.xiph.org/pipermail/ogg-dev/attachments/20100819/5180318b/attachment.pgp 


More information about the ogg-dev mailing list