I think it has to do with caps.

When i play a local file (works fine) i see:
dsp gstdspvdec.c:1229:sink_setcaps:<dspvdec0> sink caps: video/mpeg, 
mpegversion=(int)4, systemstream=(boolean)false, 
codec_data=(buffer)000001b003000001b50900000100000001200086c400630c5010b0518f, 
width=(int)640, height=(int)352, framerate=(fraction)24/1
dsp gstdspparse.c:656:gst_dsp_mpeg4_parse:<dspvdec0> width=640, height=352
dsp gstdspbase.c:994:init_node:<dspvdec0> src caps: video/x-raw-yuv, 
format=(fourcc)UYVY, width=(int)640, height=(int)352, framerate=(fraction)24/1
dsp gstdspvdec.c:947:create_node:<dspvdec0> algo=mp4vdec_sn.dll64P 
dsp gstdspvdec.c:1049:create_node:<dspvdec0> dsp node created

but when i try with telepathy (rtp), i see:
dsp gstdspvdec.c:1229:sink_setcaps:<dspvdec0> sink caps: video/x-h264
dsp gstdspbase.c:994:init_node:<dspvdec0> src caps: video/x-raw-yuv, 
format=(fourcc)UYVY, framerate=(fraction)0/1, width=(int)352, height=(int)288
dsp gstdspvdec.c:947:create_node:<dspvdec0> algo=h264vdec_sn.dll64P
dsp gstdspvdec.c:1049:create_node:<dspvdec0> dsp node created

Which is different off course.
Since the codec_data cannot be hardcoded (comes from camera), any other ideas?

  _____  

From: Bas van den Berg [mailto:[email protected]]
To: [email protected]
Sent: Thu, 30 Sep 2010 11:37:28 +0200
Subject: [Telepathy] gst-dsp: dspvdec (h264)

      
I'm running a setup with h264video streaming. The audio is working,
but the video doesn't. My video-widget.cpp just creates an autovideosink, which
does create the correct pipeline.

Did anyone get gst-dsp on Omap3 working with telepathy? I'd love to know how.

What i see in my output is:

static void Tp::FarsightChannel::Private::onSrcPadAdded(TfStream*, GstPad*, 
FsCodec*, Tp::FarsightChannel::Private*) media-type: audio
tp-qt4 0.3.10 DEBUG: Entering Chan::Priv::updateContacts() with 3 contacts
void CallWidget::onTfChannelStatusChanged(Tp::FarsightChannel::Status)
** Message: Element error: Internal data flow error. -- gstbasesrc.c(2550): 
gst_base_src_loop (): 
/GstPipeline:pipeline0/FsRtpConference:fsrtpconference0/GstBin:bin1/GstUDPSrc
streaming task paused, reason not-linked (-1)

(<unknown>:1413): tp-fs-DEBUG: stream 1 0x17d570 (video) 
cb_fs_stream_src_pad_added: New pad src_2_608194910_96: 96: video H264 
clock:90000 channels:0 params:(nil)
static void Tp::FarsightChannel::Private::onSrcPadAdded(TfStream*, GstPad*, 
FsCodec*, Tp::FarsightChannel::Private*) media-type: video
void CallWidget::onTfChannelStatusChanged(Tp::FarsightChannel::Status)
output_loop: empty buffer
output_loop: empty buffer
output_loop: empty buffer
...
(the last msg repeats with around 20Hz, framerate?)



  
_______________________________________________
telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to