[Libav-user] Encoding packetization speed

김희숙 hskim095 at naver.com
Wed Aug 31 04:12:05 CEST 2011


Hi All,
 
I'm testing FFMPEG performance with libx264 for H.264 encoding.
I found there may 2 or 3 seconds delay on receiving PC.
 
The command is as follows:
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://192.168.1.100:40000
 
I also tested cif resolution and I got same result, 2 or 3 seconds delay.
I captured the rtp packets and I found there is no many packets to be sent on receiving side.
 
In general, how many packets to be sent under 1280x720 at 30fps?
 
the decoding picture quality was good but there was delay.
 
I wonder there is missing point on above command or something.
 
Please advise something to me.
 
Thanks
hsk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110831/9e63efdc/attachment.html>


More information about the Libav-user mailing list