Displaying 2 results from an estimated 2 matches for "header_cod".
Did you mean:
header_code
2002 Mar 14
2
Ogg in MP4 file, Unexpected result from _vorbis_unpack_books
...ut that's no big deal.
So what I'm doing is this. First the init part.
a) vorbis_info_init
b) vorbis_encode_init
c) vorbis_comment_init
d) vorbis_comment_add_tag
e) ogg_stream_init
f) vorbis_analysis_headerout
g) ogg_stream_packetin for the header, the header_comment and the header_code
Then the encode part
a) sample pcm and hand it to encode code
b) get buffer space with vorbis_analysis_buffer
c) convert 16 bit signed pcm to float and place in buffer
d) tell data size submitted with vorbis_analysis_wrote
then go back to a)
In another thread I do
a) submit ogg pa...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...ogg_stream_packetin (&info->to, &info->op);
+ theora_encode_tables (&info->td, &info->op);
+ ogg_stream_packetin (&info->to, &info->op);
}
- if(!info.video_only){
+ if(!info->video_only){
ogg_packet header;
ogg_packet header_comm;
ogg_packet header_code;
- vorbis_analysis_headerout (&info.vd, &info.vc, &header,
+ vorbis_analysis_headerout (&info->vd, &info->vc, &header,
&header_comm, &header_code);
- ogg_stream_packetin (&info.vo, &header); /* automatically placed in its own
+ ogg_strea...