[maemo-developers] Gstreamer and mpeg4 decoder elements

From: Stefan Kost ensonic at hora-obscura.de
Date: Sun May 6 12:28:34 EEST 2007
hi,

Justino Santos wrote:
> Hi,
> 
> I'm trying to develop an application able to receive mp4 streams from
> the network using gstreamer but I'm  lacking on pipeline elements. I've
> done some test and what i get is this:
> 
> PC
> 
> gst-launch-0.10 filesrc location=/home/jsantos/Desktop/Vídeo023.3gp ! 
> ffdemux_mov_mp4_m4a_3gp_3g2_mj2 name=d d. ! queue ! ffdec_h263 !
> ffenc_mpeg4 ! rtpmp4vpay ! udpsink host=10.11.5.115 port=9090 d.
> 
> (I know, I'm complicating but in the middle of so many tries this is
> what have in my console buffer :) )
> 
> Nokia 800
> 
> gst-launch-0.10 udpsrc port=9090 ! application/x-rtp,clock-rate=90000 !
> rtpmp4vdepay ! hantro4100dec !  xvimagesink 
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from element /pipeline0/hantro4100dec0: Could not decode stream.
> Additional debug info:
> gsthantro4100dec.c(1059): gst_hantro_4100_dec_chain ():
> /pipeline0/hantro4100dec0:
> unsupported bitstream
> Execution ended after 8659760000 ns.

"unsupported bitstream" means you mpeg4 stream is using Advanced Simple Profile
(ASP) where this is not entirely supported by the decoder. You can try:
  hantro4100dec tolerant-mode=true
If it still does not play, you need to re-configure the streaming source.

> 
> Shouldn't hantro4100 be able to handle mpeg4? Also tried with h263p and
> got the same problem. Wasn't able to use h263 since there is no
> depayloader...
> 
> Best regards,
> 
> Justino Santos
Ciao
  Stefan

More information about the maemo-developers mailing list