[gst-devel] gst-ffmpeg vs ffmpeg (Some profile data)

Jaap Haitsma jaap at haitsma.org
Tue Apr 19 12:29:22 CEST 2005


Bastien Nocera wrote:
> On Tue, 2005-04-19 at 19:47 +0200, Jaap Haitsma wrote:
> 
>>Jaap Haitsma wrote:
>>
>>>Ronald S. Bultje wrote:
>>>
>>>
>>>>Hi Jaap,
>>>>
>>>>On Mon, 2005-04-18 at 22:44, Jaap Haitsma wrote:
>>>>
>>>>
>>>>>With totem + gstreamer-ffmpeg 0.8.4 cpu usage is 100%
>>>>>With ffplay only 30%
>>>>>Why is this?
>>>>
>>>>
>>>>
>>Some simple profile data with the time utility. A movie of about 1 
>>minute played with:
>>
>>1 gst-launch: user 30.8s sys 5.6s
>>2 ffmplay: user 13.6s sys 0.3s
>>3 totem: user 31.1s sys 6.2s
>>
>>Conclusion culprit is not totem.
>>
>>
>>For gst-launch I used the following
>>gst-launch-0.8 filesrc location=$1 ! mpegdemux name=d { d.audio_00 ! 
>>queue ! mad ! audioconvert ! audioscale ! esdsink } { d.video_00 ! queue 
>>! mpeg2dec ! ffmpegcolorspace ! videoscale ! xvimagesink }
> 
> 
> Did you use esound with ffplay as well?
> 
Don't know how to configure ffplay to use esound or if it is using esound.

If I use gst-launch with alsa sink decoding time goes down to 23.1 usr 
and 5.2 sys time.

Wow, esound is eating up 8 seconds!!!!
gstreamer still twice as slow as ffplay though :-(

Could it be that ffplay is using mmx optimisations and gstreamer not?

Jaap




More information about the gstreamer-devel mailing list