<html><head><style>P {margin-top:2px;margin-bottom:2px;}</style></head><body><div style="font-size:10pt; font-family:gulim,Gulim,AppleGothic,sans-serif;"><P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif">After decoding on another PC(192.168.1.100), I can see the delay 2 seconds more. There is no exact calculation.</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif">The decoding module is also ffmpeg library. </P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif"> </P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif">I found out ffmpeg encoder does not return output data even though vfw capture data exist.</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif">After ffmpeg encoder is received more than 40 frames, the encoder returns output data. </P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif"> </P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif">BTW, I added cqp option and then the ffmpeg encoder returns output data promptly.</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: ,AppleGothic,sans-serif"> </P>
<P style="PADDING-RIGHT: 0px; PADDING-LEFT: 10pt; FONT-SIZE: 10pt; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT-FAMILY: Gulim,AppleGothic,sans-serif"><SPAN>-----Original Message-----</SPAN><BR><B>From:</B> "NEERAJ SHUKLA"<neeraj2009shukla@gmail.com> <BR><B>To:</B> "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter."<libav-user@ffmpeg.org><BR><B>Cc:</B> <BR><B>Sent:</B> 11-09-10(Åä) 02:14:35<BR><B>Subject:</B> Re: [Libav-user] Encoding packetization speed<BR><BR><BR><BR>
<DIV class=gmail_quote>2011/8/31 ±èÈñ¼÷ <SPAN dir=ltr><<A href="mailto:hskim095@naver.com">hskim095@naver.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: gulim,Gulim,AppleGothic,sans-serif">
<P>Hi All,</P>
<P> </P>
<P>I'm testing FFMPEG performance with libx264 for H.264 encoding.</P>
<P>I found there may 2 or 3 seconds delay on receiving PC.</P>
<P> </P>
<P>The command is as follows:</P>
<P>ffmpeg -r 30 -f vfwcap -s 1280x720  -i 0 -vcodec libx264 -b 2000k -minrate 1000k -coder 0 -flags +loop+cgop -cmp +chroma -partitions -parti8x8+parti4x4+partp8x8-partp4x4-partb8x8 -me_method dia -subq 3 -me_range  24 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -flags2 +fastpskip -refs 6 -subq 5 -f rtp rtp://<A href="http://192.168.1.100:40000/" target=_blank>192.168.1.100:40000</A></P>
<P> </P>
<P>I also tested cif resolution and I got same result, 2 or 3 seconds delay.</P>
<P>I captured the rtp packets and I found there is no many packets to be sent on receiving side.</P>
<P> </P>
<P>In general, how many packets to be sent under <A href="mailto:1280x720@30fps" target=_blank>1280x720@30fps</A>?</P>
<P> </P>
<P>the decoding picture quality was good but there was delay.</P>
<P> </P>
<P>I wonder there is missing point on above command or something.</P>
<P> </P>
<P>Please advise something to me.</P>
<P> </P>
<P>Thanks</P>
<P>hsk</P></DIV></DIV><IMG height=0 width=0 border=0><BR>_______________________________________________<BR>Libav-user mailing list<BR><A href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</A><BR><A href="http://ffmpeg.org/mailman/listinfo/libav-user" target=_blank>http://ffmpeg.org/mailman/listinfo/libav-user</A><BR><BR></BLOCKQUOTE></DIV><BR>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>HOW ARE YOU CALCULATING THE DELAY ??<BR>PLEASE SPECIFY ELABORATELY</DIV>
<P></P></div></body></html><!--navermail.footer.start-->
<!--navermail.footer.end-->                                                                                           
<IMG SRC="http://mail2.naver.com/newmailcheck/KPnmW60ObrCoK6UYaqElFoErpA3CKqpvpxb/pxU/Fq2qaxISKqErp6UZFoig+H+0Moum7xU5W4dQarwGM4Jr7BkqpBigp4pRbzkN74eZpm==.gif" border=0 width=0 height=0 style="display:none">