<div><BR>Hi, </div> <div> </div> <div>I use play VGA size video, on ARM platform.</div> <div>I find video do not play frequently under rate control, and the stream fps is 30/1.</div> <div> </div> <div>command line is <BR>gst-launch filesrc location=*.mpg ! flupsdemux ! mpeg2dec ! overlay2sink</div> <div> </div> <div>video play frequently at full speed, do not use timestamp got from demux.</div> <div>Instead I use GST_CLOCK_TIME_NONE to send buffer.<BR>Display frames is equal with decode frames.</div> <div> </div> <div>mpeg2dec0 totalframes=<STRONG>872</STRONG><BR>mpeg2dec0 fps=<STRONG>34</STRONG><BR>mpeg2dec0 cpu usage=81%<BR>Overlay2VS->frame=<STRONG>873</STRONG></div> <div> </div> <div>But if I use timestamp from demux, performance downgrade immediately.<BR>display fps is only about 520/872x30 = <STRONG>18 </STRONG>fps,<BR>video render discard about 872-520=352 frames.</div> <div> </div> <div>mpeg2dec0
totalframes=<STRONG>872</STRONG><BR>mpeg2dec0 fps=30<BR>mpeg2dec0 cpu usage=73%<BR>Overlay2VS->frame=<STRONG>520</STRONG></div> <div> </div> <div>My video render overlay2sink is based on GstVideoSink, so timestamp and fps is handle by base class.</div> <div> </div> <div>I thought video render discard frame because fps could not reach timestamp.<BR>But for 30 fps stream, why full speed fps can reach 34fps, while using timestamp still can not play frequently.</div> <div> </div> <div>Is there any tricky, since the same story on qtdemux and h264dec.</div> <div> </div> <div>any idea is welcom!</div> <div><BR>Thanks in advance</div><p> 
<hr size=1><a href="http://cn.mail.yahoo.com" target=blank>ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä3.5GÈÝÁ¿£¬20M¸½¼þ£¡</a>