Re: Live channel streaming



Thanks Sebastien and Frankie for the replies.
 
Frankie, i can see that once the device request for second channel in parallel dvb daemon is trying to reuse the same pipeline and in case channel is not part of active channels it's adding the tee and sink element to the pipeline. However, instead of on-pad-added callback looks like rtspmedia is calling unprepare and from gstreamer logs it looks like it's throwing internal flow error.
 

0:05:26.309144326 ?[332m 3151?[00m      0x201fc30 ?[32;01mINFO   ?[00m ?[00m    rtspmediafactory rtsp-media-factory.c:467:gst_rtsp_media_factory_construct:?[00m constructed media 0x222feb0 for url /1/8511/Accenture_ABIC_Accenture_
0:05:26.309157106 ?[332m 3151?[00m      0x201fc30 ?[32;01mINFO   ?[00m ?[00m           rtspmedia rtsp-media.c:1648:gst_rtsp_media_prepare:?[00m preparing media 0x222feb0
0:05:26.309927731 ?[332m 3151?[00m      0x2255770 ?[36mDEBUG  ?[00m ?[00;43m             GST_BUS gstbus.c:500:gst_bus_timed_pop_filtered:<bus3>?[00m got message 0x7f74300024a0, state-changed from rtspfunnel0, type mask is 4294967295
0:05:26.309999965 ?[332m 3151?[00m      0x2255770 ?[36mDEBUG  ?[00m ?[00;43m             GST_BUS gstbus.c:762:gst_bus_source_dispatch:<bus3>?[00m source 0x2295f00 calling dispatch with state-changed message from element 'rtspfunnel0': GstMessageState, old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
0:05:26.310085369 ?[332m 3151?[00m      0x2255770 ?[36mDEBUG  ?[00m ?[00;43m             GST_BUS gstbus.c:500:gst_bus_timed_pop_filtered:<bus3>?[00m got message 0x7f7448001da0, state-changed from rtspfunnel1, type mask is 4294967295
0:05:26.310120306 ?[332m 3151?[00m      0x2255770 ?[36mDEBUG  ?[00m ?[00;43m             GST_BUS gstbus.c:762:gst_bus_source_dispatch:<bus3>?[00m source 0x22d7cd0 calling dispatch with state-changed message from element 'rtspfunnel1': GstMessageState, old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
0:05:26.311408190 ?[332m 3151?[00m      0x2255770 ?[33;01mWARN   ?[00m ?[00m           rtspmedia rtsp-media.c:1498:default_handle_message:?[00m 0x222fdc0: got error Internal data flow error. (gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:recording/DvbBaseBin:dvbbasebin0/GstDvbSrc:dvbsrc0:
0:05:26.311446461 ?[332m 3151?[00m      0x2255770 ?[36mDEBUG  ?[00m ?[00m           rtspmedia rtsp-media.c:1412:gst_rtsp_media_set_status:?[00m setting new status to 3
0:05:26.330524937 ?[332m 3151?[00m      0x201fc30 ?[36mDEBUG  ?[00m ?[00;01;36m  GST_PLUGIN_LOADING gstpluginfeature.c:106:gst_plugin_feature_load:?[00m loading plugin for feature 0x21e2000; 'rtspfunnel'

 
 
Looks like it is happening because there is something wrong with the pipeline for the playing the same second channel. With regard to mpegtsparse, does it mean mpegtsparse needs to be fixed ? Is there a  patch already available for the same?
 
Sebastien, i was myself planning to try out the recording part or atleast extracting the two DVB streams together to a file sink using gstreamer pipeline. I'm going to try that also. But i'm able to configure two channels one at a time without issue. And both the channels are configured at same frequency in channel.conf.
 
My observation also is that every time sink element/payload is created with the same name "pay0" and then gst-rtsp actually uses this further.
Is this the correct behavior? I'm not sure as my investigation is still on but somehow felt little suspicious on this.

Gst.Element payload = Gst.ElementFactory.make ("rtpmp2tpay", "pay0");

 

 
Regards,
Vijay/Pinkoo

On Fri, Jan 25, 2013 at 2:27 PM, Frankie Eymard <frankie eymard gmail com> wrote:

Dear Vijay,


mpegtsparse parses the PMTs and configures dvbsrc with all the PIDs corresponding to a program SI.

It should be possible to parse multiple programs on a same transponder but mpegtsparse needs a patch.

 

Best regards,

Frankie



2013/1/24 Sebastian Pölsterl <sebp k-d-w org>
Dear VIJAY,

it's true that watching multiple channels on the same TS should work,
I'm not sure if/how it works with respect to rygel, though.

What you could try first is to schedule two recordings at the same time
on two channels on the same TS. This way we would be able to narrow down
the cause, whether it's caused by streaming or not.

Best regards,
Sebastian

Am 24.01.2013 07:36, schrieb VIJAY RANA:
> Hello All,
> I am trying to share and stream multiple channels to my laptop using
> Rygel 0.14.0 and DVB Daemon 0.2.7. I'm able to share the channel but not
> able to play two channels simultaneously. Everytime i try to play two
> channels together it results in following issues:
>
> Invalid seek request
> default      DEBUG      ChannelFactory.vala:568: Watching channel
> Accenture ABIC(Accenture) (8511)
> default      DEBUG      ChannelFactory.vala:585: Creating new
> PlayerThread: false
> default      DEBUG      ChannelFactory.vala:156: Reusing existing pipeline
> default      DEBUG      ChannelFactory.vala:457: Element tee6 (0xc79a28)
> added to pipeline
> default      DEBUG      ChannelFactory.vala:457: Element bin2 (0xc851c0)
> added to pipeline
> default      DEBUG      ChannelFactory.vala:181: Changing
> program-numbers from 8512 to 8512:8511
> default      DEBUG      MediaFactory.vala:79: Retrieving sink bin with
> payloader
> default      DEBUG      ChannelFactory.vala:264: Searching for sink pay0
> (0xc69368) of channel 8511
> default      DEBUG      ChannelFactory.vala:283: Found sink
> default      DEBUG      ChannelFactory.vala:627: Stopping channel
> Accenture ABIC(Accenture) (8511)
> default      DEBUG      ChannelFactory.vala:333: Changing
> program-numbers from 8512:8511 to 8512
> default      DEBUG      ChannelFactory.vala:437: Stopping pipeline
> (rygel:1468): Rygel-CRITICAL **: Error from pipeline
> RygelHTTPGstResponse: gstrtspsrc.c(4746): gst_rtspsrc_send ():
> /GstPipeline:RygelHTTPGstResponse/GstRTSPSrc:rtspsrc3:
> Got error response: 503 (Service Unavailable).
> My understanding from the documentation and the code is that it possible
> to watch multiple channels which are coming on single mpeg-ts stream.
> I'm wondering how can i test that out? and If it is possible to watch
> multiplechannels then i believe it should also be possible to stream
> multiple channels. In case it is not supported i would like to get some
> thoughts and pointers from your side as to how can i make it happen and
> would ofcourse like to contribute it back to the community.
>
> Looking forward to your support.
>
> Regards,
> Pinkoo
>
>
> _______________________________________________
> dvb-daemon-list mailing list
> dvb-daemon-list gnome org
> https://mail.gnome.org/mailman/listinfo/dvb-daemon-list
>



_______________________________________________
dvb-daemon-list mailing list
dvb-daemon-list gnome org
https://mail.gnome.org/mailman/listinfo/dvb-daemon-list





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