<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi All,<br><br></div>I use ffmpeg + ffserver to support a stream server.<br></div>the video and audio source is from usb webcam.<br><br></div>When I test the stream by VLC, it can get video data , and audio data respectively.<br>
</div>but I try to use ffserver to output a rtp stream for audio and a rtp stream for video.<br></div>there are not sync. <br></div>When I study the code of ffmpeg.c and ffserver.c. <br></div>I can see there are a lot of code that does av_rescale_q() for pkt.pts, pkt.dts and pkt.duration<br>
</div>Can somebody explain more detail about that?<br></div>When I can find the document that have detail description about that? <br></div>