GStreamer Yocto

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

GStreamer Yocto

Felipe C. Gehrke
Hello,


Is there anyone here who could make GStreamer works on Yocto? It's just to play MP4 video ?

I could make it, but the quality is very poor because I was not able to activate hardware rendering. It runs on an Arm IMX6 based board.

The idea is to create a Qt remote controlled vídeo player.

Best Regards,
Felipe C. Gehrke


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

Re: GStreamer Yocto

Becker Béla
On Monday, 2 July 2018 12.57.35 CEST Felipe C. Gehrke wrote:

> Hello,
>
> Is there anyone here who could make GStreamer works on Yocto? It's just to play MP4 video ?
>
> I could make it, but the quality is very poor because I was not able to activate hardware rendering. It runs on an Arm IMX6 based board.
>
> The idea is to create a Qt remote controlled vídeo player.
>
> Best Regards,
> Felipe C. Gehrke
>

Hi,

What exactly are you having trouble with? Have you already tried to use imxvpudec in your pipeline?


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

Re: GStreamer Yocto

Felipe C. Gehrke


Sorry, clicked the wrong button.


Att,
Felipe C. Gehrke
Software Developer

"Antes de imprimir, pense em sua responsabilidade com o MEIO AMBIENTE."

De: Becker Béla <[hidden email]>
Enviado: segunda-feira, 2 de julho de 2018 10:05:03
Para: Felipe C. Gehrke
Assunto: Re: GStreamer Yocto
 
On Monday, 2 July 2018 14.58.22 CEST Felipe C. Gehrke wrote:
> Hello Becker,
>
>
> I'm using this line on terminal to play an HLS stream:
>
>
> gst-launch-1.0 souphttpsrc location=http://192.168.0.3/agent327/playlist.m3u8 ! hlsdemux ! decodebin ! videoconvert ! videoscale ! autovideosink
>
>
> But when it runs, it doen't seem to run on hardware rendering mode. The final objective is to build a remote controllable video player by websocket which can plays HLS Streams.
>
>
> How do I use imxvpudec ?
>
>
>
> Att,
> Felipe C. Gehrke
> Software Developer


Hi Felipe,

Please post your message to the list so others can see it too!



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

Re: GStreamer Yocto

Becker Béla
> On Monday, 2 July 2018 14.58.22 CEST Felipe C. Gehrke wrote:
> > Hello Becker,
> >
> >
> > I'm using this line on terminal to play an HLS stream:
> >
> >
> > gst-launch-1.0 souphttpsrc location=http://192.168.0.3/agent327/playlist.m3u8 ! hlsdemux ! decodebin ! videoconvert ! videoscale ! autovideosink
> >
> >
> > But when it runs, it doen't seem to run on hardware rendering mode. The final objective is to build a remote controllable video player by websocket which can plays HLS Streams.
> >
> >
> > How do I use imxvpudec ?
> >
> >
> >
> > Att,
> > Felipe C. Gehrke
> > Software Developer

Take a look at https://github.com/Freescale/gstreamer-imx for some basic info on using the Freescale/NXP plugins.
You can use the plugins by adding the meta-fsl-arm layer to your bblayers.conf, although I think this should already be there. Check the output of `gst-inspect-1.0` on your target so you can verify that the imx plugins are present.

In your example, change the following for a hardware enhanced pipeline (you may need some extra glue bits for the formats to match):
    gst-launch-1.0 souphttpsrc location=http://192.168.0.3/agent327/playlist.m3u8 ! hlsdemux ! imxvpudec ! imxg2dvideotransform ! "${OUTPUT VIDEO FORMAT HERE}" ! imxg2dvideosink


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

Re: GStreamer Yocto

Nicolas Dufresne-5
In reply to this post by Felipe C. Gehrke


Le lun. 2 juil. 2018 07:12, Felipe C. Gehrke <[hidden email]> a écrit :
Hello,


Is there anyone here who could make GStreamer works on Yocto? It's just to play MP4 video ?

You need to update Yocto recipes to build GStreamer 1.14. Note that in upcoming 1.14.2 there will be couple of fixes for IMX.6.


I could make it, but the quality is very poor because I was not able to activate hardware rendering. It runs on an Arm IMX6 based board.

The idea is to create a Qt remote controlled vídeo player.

Best Regards,
Felipe C. Gehrke

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

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

Re: GStreamer Yocto

Philippe Normand
You can find 1.14 recipes there: https://github.com/OSSystems/meta-gstreamer1.0/commits/master

Philippe

On 3 Jul 2018, at 11:31, Nicolas Dufresne <[hidden email]> wrote:



Le lun. 2 juil. 2018 07:12, Felipe C. Gehrke <[hidden email]> a écrit :
Hello,


Is there anyone here who could make GStreamer works on Yocto? It's just to play MP4 video ?

You need to update Yocto recipes to build GStreamer 1.14. Note that in upcoming 1.14.2 there will be couple of fixes for IMX.6.


I could make it, but the quality is very poor because I was not able to activate hardware rendering. It runs on an Arm IMX6 based board.

The idea is to create a Qt remote controlled vídeo player.

Best Regards,
Felipe C. Gehrke

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


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