FFMPEG SDK 开发介绍(原创)_源带码_新浪博客
pkt.pts = av_rescale_q(mediaSample->pts(), in_time_base, out_time_base...// 计算图像宽度比 av_reduce(&sar.num, &sar.den, mConfig.width, mCon...
FFmpeg Protocols Documentation
ffmpeg -i input -f mpegts udp://hostname:port?pkt_size=188&buffer_size=65535 Use ffmpeg to receive over UDP from a remote endpoint: ffmpeg -i ...
同步音频的原理可以参考
/* if update, update the audio clock w/pts */ if(pkt->pts != AV_NOPTS_VALUE) { is->audio_clock = av_q2d(is->audio_st->time_base)*pkt-...