Displaying 2 results from an estimated 2 matches for "libvorbis_encode_frame".
2015 Jun 19
2
Muxing vorbis in WebM
...s would mean the next Block in the
Cluster has the exact same timecode).
2. FFmpeg seems to use granulepos for presentation timestamp - is this
correct? See here:
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/libvorbisenc.c#L345l
To me it seems the breakdown of ffmpeg's libvorbis_encode_frame is:
- get an ogg_packet from libvorbis (I think this contains a *single*
vorbis block, right?)
- store just the data from that packet (no header) in ffmpeg's own
AVPacket struct
- eventually this AVPacket data will be inserted as the contents of a
WebM (Matroska) block:
h...
2015 Jun 24
0
Muxing vorbis in WebM
...t; Cluster has the exact same timecode).
>
> 2. FFmpeg seems to use granulepos for presentation timestamp - is this
> correct? See here:
>
> https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/libvorbisenc.c#L345l
>
> To me it seems the breakdown of ffmpeg's libvorbis_encode_frame is:
>
> - get an ogg_packet from libvorbis (I think this contains a *single*
> vorbis block, right?)
> - store just the data from that packet (no header) in ffmpeg's own
> AVPacket struct
> - eventually this AVPacket data will be inserted as the contents of a
&g...