mp4 high CPU

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mp4 high CPU

Tibo W
Hi,

when I play a mp4 video file (I just need video, no sound), I get a high CPU load (1 core is 100% on a quad-core), and it takes 5s before I see the video:

gst-launch filesrc location=video.mp4 ! decodebin2 dec=name ! queue ! ffmpegcolorspace ! autovideosink

I just started with GStreamer so I apologize if the questions sound dumb:
- how can I tell if it's hardware accelerated (beside a lower CPU%) ?
- which decoder should I use ?
- how to improve the loading time ?
- what pipeline should I use if it's an mpeg-2 ?

I found some stuff online saying that ffmepgcolorspace does impact the CPU, but I don't know what else to use ?
I'm basically trying to figure out how to play the video with hardware acceleration.
- should I recompile a package ?
- should I find an existing plugin for my hardware ?
- how can I know which video my hardware support (I've got an intel N10 chipset, I think it handles mpeg-2, but not sure).

thanks a lot for your help guys !

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: mp4 high CPU

Tim-Philipp Müller-2
On Fri, 2012-03-23 at 21:56 -0700, Tibo W wrote:

Hi,

> when I play a mp4 video file (I just need video, no sound), I get a
> high CPU load (1 core is 100% on a quad-core), and it takes 5s before
> I see the video:
>
> gst-launch filesrc location=video.mp4 ! decodebin2 dec=name ! queue !
> ffmpegcolorspace ! autovideosink

Could you pass -v to gst-launch and show us the output you get?

Cheers
 -Tim



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel