Re: Webcam live streaming on a DLNA TV?





I tested several profile names according to what i read in
/usr/share/gupnp-dlna-2.0/dlna-profiles/*.xml (without a clear
understanding of what does those profiles refers to ;( )


EU and NA differ in FPS and resolution (25 vs 24 fps, 400 vs 388 lines etc.)
webcam-dlnaprofile=MPEG_TS_SD_EU_ISO
webcam-dlnaprofile=MPEG_TS_SD_NA_ISO

and that one obviously has a higher resolution (IIRC 720p)
webcam-dlnaprofile=MPEG_TS_HD_NA_ISO

That's the wrong codec (MPEG1, not MPEG2 or h.264):

webcam-dlnaprofile=MPEG1

Those are the wrong container (DVD-like instead of TS):

webcam-dlnaprofile=MPEG_PS_PAL
webcam-dlnaprofile=MPEG_PS_NTSC

unfortunately without success (not a big surprise ;) )


I get this error message:
(rygel:14797): MediaEngine-GStreamer-CRITICAL **: 16:59:42.042: Error
from pipeline RygelGstDataSource: gstbasesrc.c(3055): gst_base_src_loop
(): /GstPipeline:RygelGstDataSource/GstBin:bin1/GstV4l2Src:v4l2src1:
streaming stopped, reason not-negotiated (-4)

Does this means that gstreamer is expecting some kind of "negotiation"
from the TV? or Rygel?

The good news is: The original problem is fixed - The TV is accepting the file and triggering the playback, but the internal GStreamer workings then fail. It looks like the output of v4l2src, when using the default settings, is not compatible to what avenc_mpeg2video expects.

I would suggest that you try to build a pipeline that captures from your webcam with gst-lauch-1.0 to mpeg. Once that works, you can move to Rygel again. The easiest fix might be to throw in a videoconvert element between the src and the avenc. It might even be that your cam outputs h264 directly which you could wrap into MPEG-TS without encoding.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]