izmit escort escort ankara adana escort

 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: SAMA5D4 Xplained Ultra - GStreamer
PostPosted: Tue Apr 25, 2017 3:00 pm 
Offline

Joined: Mon Jan 09, 2017 11:59 am
Posts: 12
I am using a SAMA5D4 Xplained Ultra board.

I am accessing the demo images via the following link: http://www.at91.com/linux4sam/bin/view/Linux4SAM/

When I flash the image contained in the "linux4sam-poky-sama5d4_xplained_hdmi-5.3.zip" download I am able to run /opt/VideoPlayer/Atmel-Video-Player.sh and see a video on a monitor hooked up via HDMI.


Now under the section Linux4SAM 5.5 demo directory there is a note:

Quote:
Please note:
SAMA5D4 Video Decoder not supported. Use Linux4SAM 5.3 for HW video decoding feature.


Sure enough, if I try to flash the image contained in "linux4sam-poky-sama5d4_xplained_hdmi-5.5.zip" and run the same /opt/VideoPlayer/Atmel-Video-Player.sh I get the following error:

Quote:
root@sama5d4-xplained:/opt/VideoPlayer# ./Atmel-Video-Player.sh
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstG1H264Dec:g1h264dec0: Could not initialize suppo
rting library.
Additional debug info:
../../../../gst-plugins-base-1.6.3/gst-libs/gst/video/gstvideodecoder.c(2571): gst_video_decod
er_change_state (): /GstPipeline:pipeline0/GstG1H264Dec:g1h264dec0:
Failed to open decoder
Setting pipeline to NULL ...
Freeing pipeline ...



Now, my issue is that I am trying to build a Yocto image using the instructions here http://www.at91.com/linux4sam/bin/view/Linux4SAM/PokyBuild... however when I do that, I get the same error as above.

As I understand it, to get hardware accelerated video on the atmel platform you need to use GStreamer, but as we can see it does not seem to work on the later Yocto builds.

Any ideas?

Thanks,

Brian.


Top
 Profile  
Reply with quote  
 Post subject: Re: SAMA5D4 Xplained Ultra - GStreamer
PostPosted: Tue Apr 25, 2017 10:35 pm 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 1419
Location: USA
brian_ wrote:
Now, my issue is that I am trying to build a Yocto image using the instructions here http://www.at91.com/linux4sam/bin/view/Linux4SAM/PokyBuild... however when I do that, I get the same error as above.
You claim to be aware the Linux4SAM 5.3 supports HW video decoding and Linux4SAM 5.5 does not.
You demonstrated to yourself that Linux4SAM 5.5 does not support HW video decoding by installing and executing the already-built demo from the Atmel site.
Then you follow instructions for building the current Linux4SAM demo, which is Linux4SAM 5.5, yourself, and then complain that what you built behaves like the downloaded binaries of the latest demo.
Ordinarily you would hope that what you build performs identical to what is pre-built, yet you seem to expect something different/better?

If you want Linux4SAM 5.3 functionality, then you either try to forward port the required functionality yourself, or you have to build Linux4SAM 5.3 instead of "the later Yocto builds" that you insist on using.

Regards


Top
 Profile  
Reply with quote  
 Post subject: Re: SAMA5D4 Xplained Ultra - GStreamer
PostPosted: Wed Apr 26, 2017 10:39 am 
Offline

Joined: Mon Jan 09, 2017 11:59 am
Posts: 12
blue_z wrote:
If you want Linux4SAM 5.3 functionality, then you either try to forward port the required functionality yourself, or you have to build Linux4SAM 5.3 instead of "the later Yocto builds" that you insist on using.


Thank you for this part of your reply, this is what I feared. We are either locked in to an older kernel or we (and every customer) will have to individually port the parts needed.

It's a shame that the poky build instructions are not more clear about the limitations for the SAMA5D4 Xplained.

For others wondering how to find the instructions to build 5.3:

Direct link: https://github.com/linux4sam/meta-atmel/blob/linux4sam_5.3/README


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: