[Vorbis] How do I seek to seek to specific samples using libvorbis?
Sergei Steshenko
sergstesh at yahoo.com
Mon May 18 19:57:02 PDT 2015
I am no Vorbis developer, and I have never looked into the details of Ogg-Vorbis implementation, but since Ogg-Vorbis is a lossy format, there is no one to one correspondence of PCM samples and bytes in the stream. Ogg-Vorbis is also a variable bitrate format.
I mean that first the stream has to be reconstituted into uncompressed PCM samples, and only then you can get to the desired sample.
Regards, Sergei.
From: Madison Link <ducks at ducksnm.com>
To: vorbis at xiph.org
Sent: Tuesday, May 19, 2015 3:38 AM
Subject: [Vorbis] How do I seek to seek to specific samples using libvorbis?
<!--#yiv2438338505 #yiv2438338505 p.yiv2438338505MsoNormal, #yiv2438338505 li.yiv2438338505MsoNormal, #yiv2438338505 div.yiv2438338505MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}#yiv2438338505 a:link, #yiv2438338505 span.yiv2438338505MsoHyperlink {color:blue;text-decoration:underline;}#yiv2438338505 a:visited, #yiv2438338505 span.yiv2438338505MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv2438338505 span.yiv2438338505EmailStyle17 {font-family:Arial;color:windowtext;} _filtered #yiv2438338505 {margin:1.0in 1.25in 1.0in 1.25in;}#yiv2438338505 div.yiv2438338505Section1 {}-->What is the best practice for seeking to a specific(arbitrary) PCM sample in an Ogg file that contains vorbis, using libvorbis?
_______________________________________________
Vorbis mailing list
Vorbis at xiph.org
http://lists.xiph.org/mailman/listinfo/vorbis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis/attachments/20150519/968ba554/attachment.htm
More information about the Vorbis
mailing list