<div dir="ltr">Hi all,<div><br></div><div>I'm using ffmpeg muxer api to save rtp h264 stream.</div><div>And each frame may come with variable interval, especially when something wrong in network from tx side.</div><div><br></div><div>Although doc/examples/muxing.c looks like an example of muxing a local stream from encoder with fix fps, I followed it to save encoded packet extracted from rtp stream with avg_frame_rate 30 and tried to modify the duration and pts of packet with a large value while tx slowed down.</div><div>But when I play the saved file, the frame which should show on screen with longer time just flashes like other frames so that the total time is not equal to the rtp stream presented on rx screen.</div><div>And from the information provided from player, the video is a constant 25 fps video.</div><div>I guess I had wrong configuration before calling avformat_write_header.</div><div><br></div><div>Please let me know whether ffmpeg muxer supports variable fps, any missing steps from my usage, or any examples for reference.</div><div><br></div><div><br></div><div>thanks,</div><div>jarvis</div><div><div><div class="gmail_signature"><img src="http://infomancie.files.wordpress.com/2008/06/dont-print-email-small-green.jpg?w=480"><br></div></div>
</div></div>