Re: Gstreamer and mpeg4 decoder elements

2007-05-06 Thread Stefan Kost
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=9 !
> 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 865976 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
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Gstreamer and mpeg4 decoder elements

2007-03-22 Thread MoRpHeUz

Hi Justino,


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...


I used this to stream video through gstreamer using h263...

client:
-
gst-launch-0.10 udpsrc uri=udp://192.168.1.53 caps="application/x-rtp,
media=(string)video, payload=(int)96, clock-rate=(int)9,
encoding-name=(string)H263-1998, ssrc=(guint)2572236931,
clock-base=(guint)1217098624, seqnum-base=(guint)3621" ! queue !
rtph263pdepay ! ffdec_h263 ! xvimagesink sync=false

server:
--
gst-launch-0.10 -v filesrc location=dvb.mpg ! flutsdemux name=d !
queue ! ffdec_mpeg2video ! videoscale !
video/x-raw-yuv,width=240,height=144 ! ffenc_h263p ! rtph263ppay !
udpsink   d. ! queue !  fakesink silent=true

--

Blog: http://labs.morpheuz.eng.br/blog/
GPG: 0xE956BA7F @ wwwkeys.pgp.net
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Gstreamer and mpeg4 decoder elements

2007-03-22 Thread Justino Santos
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=9 !
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 865976 ns.

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




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers