c++ Programming Glossary: audio_pkt_data
Audio output with video processing with opencv http://stackoverflow.com/questions/8187745/audio-output-with-video-processing-with-opencv audio_buf int buf_size static AVPacket pkt static uint8_t audio_pkt_data NULL static int audio_pkt_size 0 int len1 data_size for while.. aCodecCtx int16_t audio_buf data_size audio_pkt_data audio_pkt_size if len1 0 if error skip frame audio_pkt_size.. if len1 0 if error skip frame audio_pkt_size 0 break audio_pkt_data len1 audio_pkt_size len1 if data_size 0 No data yet get more..
Decode audio and video and process both streams — ffmpeg, sdl, opencv http://stackoverflow.com/questions/9429342/decode-audio-and-video-and-process-both-streams-ffmpeg-sdl-opencv audio_buf int buf_size static AVPacket pkt static uint8_t audio_pkt_data NULL static int audio_pkt_size 0 int len1 data_size for while.. pkt if len1 0 if error skip frame audio_pkt_size 0 break audio_pkt_data len1 audio_pkt_size len1 if data_size 0 No data yet get more.. quit return 1 if packet_queue_get audioq pkt 1 0 return 1 audio_pkt_data pkt.data audio_pkt_size pkt.size void audio_callback void userdata..
|