Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Hantro x170 Video Decoder doesn't work.
PostPosted: Thu May 27, 2010 8:19 am 
Offline

Joined: Sun Feb 21, 2010 8:30 pm
Posts: 1
Hi,

We are trying to implement Hantro x170 Video Decoder on AT91SAM9M10-EKES and we cannot. We use gst-plugin-x170 provided by ATMEL, and it doesn't work.
The target detect the device when kernel boots.
We want to play an avi file with mpeg4 codec video and mp3 codec audio, with this pipeline

gst-launch filesrc location=nemo.avi ! avidemux name=demux demux.video_00 ! censored ! ffdec_mpeg4 ! ffmpegcolorspace ! fbdevsink demux.audio_00 ! censored ! ffdec_mp3 ! audioconvert ! censored ! volume volume=10 ! osssink

It's work. But the decoder is by software and it is so slow. We try to implement the same pipeline with x170 plugin, like this

gst-launch filesrc location=nemo.avi ! avidemux name=demux demux.video_00 ! censored ! x170 ! fbdevsink demux.audio_00 ! censored ! ffdec_mp3 ! audioconvert ! censored ! volume volume=10 ! osssink

gstreamer returns:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
FREEING pipeline ...


We have tryed configuring all parameters, output, thresh, input, ... And doesn't work.

Can you help us? What we have to do?

Thank you,

Angel Martinez
Edison Electronics, S.L.


Top
 Profile  
 
 Post subject: Re: Hantro x170 Video Decoder doesn't work.
PostPosted: Tue Jul 13, 2010 6:53 pm 
Offline

Joined: Tue May 11, 2010 6:06 am
Posts: 6
Location: Buenos Aires, Argentina
Hi amc, i have the same development kit and im having the same problem with x170 GST element when trying to playback MPEG2 or AVI files, i guess the plugin does not work at all.

The /etc/init.d/hantro init file tries to load the kernel modules hx170dec and memalloc and create the respective devices files, /dev/hx170 and /dev/memalloc.

In my configuration, the first module hx170dec fails loading because it is built-in in the kernel, and memalloc modules is loaded twice, once the built-in and the second by the module.

So, now i have both devices well created in /dev (check /proc/devices) and when trying to run gst-launch i get segmentation fault.

You can debug gst-launch by exporting the environment variable GST_DEBUG=5
(notice 5 is full debug, while 0 is none debug).

I will be debugging, please be in touch so we can help each other, thanks a lot!

Francisco.

by the way, do you speak spanish? my MSN is fseratti@gmail.com


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 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: