Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
Hoe to transcode vorbis stream from MKV container to OGG container
post Mar 22 2011, 08:58
Post #1

Group: Members
Posts: 2
Joined: 22-March 11
Member No.: 89201

I have a question while I try to implement a transcoder which can chage the vorbis container from MKV to OGG. According to the specification of OGG, the granule position of a page represents the end PCM sample position of the last packet completed on that page. I don't want to get the sample position by decoding vorbis stream, so I use the timecode and sample rate in MKV to generate sample position. If the duration information is not coded in MKV header, I don't know how to calculate the granule position for the last page of the stream. Could help to give some suggestion on this issue? Thanks in advance!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th November 2015 - 05:29