search for: stream_index

Displaying 3 results from an estimated 3 matches for "stream_index".

2014 Jan 06
2
Meaning of mapping[]
...ront centre speaker is given the first mono stream. mapping[2] is '1' > so the front right speaker gets the right channel of the first coupled > stream, and so on. Ahh, I see. Thanks for the explanation. It's sort of the opposite of what I'd expect. I'd expect mapping[stream_index] = vorbis_index, but it's actually mapping[vorbis_index] = stream_index. And so I guess that means that the interleaved audio samples you pass into opus_multistream_encode_float() should always be in Vorbis order, and mapping[] just tells the encoder how to package them in the streams? Brend...
2014 Jan 06
2
Meaning of mapping[]
Hey everyone, I've added Ogg Opus support to my Adobe Premiere plug-in here: http://github.com/fnordware/AdobeOgg Now I'll add Opus support to me WebM plug-in too. I've got this Opus stuff mostly figured out, but I have a few questions. Here's one: What do the numbers in mapping mean? I see that opus.h refers to the Vorbis channel mapping order, so does mapping in Opus take
2004 Nov 20
0
ffmpeg2theora start and end time support
...(frame_number > no_frames){ printf("\nTime to break\n"); break; } } ret = av_read_frame(this->context,&pkt); if(ret<0){ e_o_s=1; } ptr = pkt.data; len = pkt.size; if (e_o_s && !info.audio_only || (ret >= 0 && pkt.stream_index == this->video_index)){ if(len == 0 && !first && !e_o_s){ fprintf (stderr, "no frame available\n"); } while(e_o_s || len > 0){ if(len >0 && (len1 = avcodec_decode_video(&vstream->codec, frame,&got_pict...