Can I have two IPTV streams in VDR?

  • Hi friends,


    I am using yavdr 0.4 with IPTV plugin.
    And its working perfectly.


    While recording one channel, If i shift to another channel the recoding of that channel starts.
    Means... I cant record one channel while watching another channel.
    If I use vdr-addon-osdpip then while changing main channel the channel in box is also changed.


    Is there any solution?


    Thanks in advance.

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • amanker


    Well, vdr-plugin-iptv does provide virtual DVB adapters, if started plain it's just one. Plugin's author did suggest me a couple of time ago to start at least with 2 virtual adapters, this is done IIRC by the switch "-d X". But consult online help "vdr --help" to show options.


    You need a file "/etc/vdr/plugins/plugin.iptv.conf" with the content:


    Code
    -d 4


    Please put in the number you want up to 8.


    Regards
    fnu

    HowTo: APT pinning

    2 Mal editiert, zuletzt von fnu ()

  • Hi fnu,


    First of all thanks for such a quick reply. Its nice to see such a great support on this forum.


    I have used option " -d 4 " and " -d 2 " for IPTV plugin
    in file /etc/vdr/plugins/plugin.iptv.conf


    I can see now VDR is registering 2 or 4 adapters acording to configuration.
    But still I cannt record and watch different channel at same time.
    In yavdr-addon-pip same channel is displayed in pip box and main screen.


    Is there anything more to do?


    Regards
    Ashok Manker

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • But still I cannt record and watch different channel at same time.


    Hmm, are you sure your IPTV provider does allow multiple simultaneous streams? Is your network capable of doing this (e.g. multicast)?


    Last time I testet it with my provider, it was even possible w/ one virtual adapter, but sometimes recordings had been damaged, after setting 2 adapters everything was fine. And no nothing more you could do from point of information.


    What about plugin's setting at all, look here. What about you're entries in "channels.conf", do think they're right?


    Regards
    fnu

    HowTo: APT pinning

    Einmal editiert, zuletzt von fnu ()

  • Ist das hier unter schon drin?
    Das hab ich von einem Jahr von rofafor bekommen:



    Hier geht das ganz gut! Carel

  • carel


    Thanks for the input.


    Hmm, I guess at this point I need to engage "mini73". In yaVDR we use "vdr-plugin-dynamite" which does overtake attaching and detaching DVB devices dynamically and he's the the specialist who could oversee the if this fix helps, breaks more or does nothing.


    Regards
    fnu

    HowTo: APT pinning

  • Hi,


    Basically, dynamite asks all devices if it provides the channel just like vdr does. It acts just like a proxy.
    If iptv without dynamite works better with this patch it will work better with dynamite. :)


    Lars.

  • If iptv without dynamite works better with this patch it will work better with dynamite. :)


    Oops, just read "device.c" and thought this is from VDR itself, didn't got that iptv-plugin could have also a "device.c" in the source :rolleyes:


    Well this might be possible to patch iptv-Plugin in our repository, but need to check if it is not already in there.


    Regards
    fnu

    HowTo: APT pinning

  • Hmm, are you sure your IPTV provider does allow multiple simultaneous streams? Is your network capable of doing this (e.g. multicast)?


    What about plugin's setting at all, look here. What about you're entries in "channels.conf", do think they're right?


    Hi fnu, carel and mini73
    Thanks for such a prompt reply and taking pain for me.


    Yes, I am sure my IPTV provider allow simultaneous streams. Yes network is capable of multicast.
    I have confirmed this using progdvb v6.83.1 in windows 7. I can watch two channels simultaneously in progdvb.


    I have channels.conf and plugin configuration OK and working, also tried disabling 3 section filters ( 0x40, 0x42, 0x70 )


    I have tried the patch mentioned by "carel"
    after this patch, If I use multiple IPTV devices in configuration then main channel and second channel both become corrupted. garbage channel display and recording.
    If I use single IPTV device in configuration, then only one channel display and other channel blank display.


    mini73
    If I use dynamite plugin then system brokes.
    "channel not available" is displayed in IPTV


    I have tried latest vdr-plugin-iptv v0.5
    in this plugin I can't change channel. it only displays the channel which was displaying on VDR startup. On switching channels only blank screen.

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • Hi fnu,


    Sir, I am waiting for your reply. Please suggest me something.


    Regards
    Ashok Manker

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • Please suggest me something.


    Honestly I don't have a brilliant idea, sorry, seems a bit special in your site.


    I wrote an email to one of the developers, let's see if he does have time ...


    Regards
    fnu

    HowTo: APT pinning

  • after this patch, If I use multiple IPTV devices in configuration then main channel and second channel both become corrupted. garbage channel display and recording.

    Now, you really should provide the channels.conf entries. I'm guessing you're using two multicast channels using the same port. Now, Linux's IP stack sends all active multicast data on the same port to all binded sockets. Therefore, if you want to receive two simultaneously multicast channels both using port 1234, you'll need to validate source addresses while reading the sockets. The newest (0.5.0) iptv plugin should already have this implemented: take a look at the README.


    Code
    - Source address validation can be enabled for UDP protocol separated by 
      adding the source address after a ';' character: "U=239.192.0.1;239.192.0.2"


    Unfortunately, there are still some channel switch problems left in the 0.5.0, but I don't have a valid debug environment for multicast streams available anymore and all the debugging and coding has been quite academical/theoretical.

  • Hi Rofafor


    Thanks for taking interest in my problem.

    Zitat

    Now, you really should provide the channels.conf entries. .......

    Here is my channels.conf (only a part of it.. )
    channels.conf..
    ---------------------------------
    :Hindi Entertainment
    Colors;undefined:800:S=0|P=0|F=UDP|U=224.1.2.80|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0
    Star Plus;undefined:350:S=0|P=0|F=UDP|U=224.1.2.35|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0
    Life OK;undefined:370:S=0|P=0|F=UDP|U=224.1.2.37|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0
    Sony;undefined:880:S=0|P=0|F=UDP|U=224.1.2.88|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0
    SAB;undefined:870:S=0|P=0|F=UDP|U=224.1.2.87|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0
    NDTV Imagine;undefined:1040:S=0|P=0|F=UDP|U=224.1.2.104|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0
    Zee TV;undefined:640:S=0|P=0|F=UDP|U=224.1.2.64|A=5000:I:0:42=27:45=@3:0:0:1:0:0:0


    -----------------------------------------------------


    Everything is working perfectly ok...
    Except for two simultaneous streams


    Hope you can make out something..


    Regards
    Ashok Manker

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • Your config looks ok, but you really should use unique service ids for each channel. The multicast groups are using the same port, so you need 0.5.0+ version of the plugin for simultaneous receiving. Unfortunately, there might be some channel switching bugs left in that version that I haven't spotted. I don't currently have a proper development environment available in order to develop the plugin further. All fixes and patches are mostly welcome....

  • hi rofafor,
    thanks for your support.


    i have tried plugin version 0.5 with vdr 1.7.26 and 1.7.27 and 1.7.22 and 1.7.21
    but always i have channel switching problem.


    but i have noted one strange thing.
    if i switch on signal information screen. ( femon plugin )
    then i can switch channels easily. while signal information screen is on.
    as soon as i close femon, again i cant change channels.


    i know you dont have development environment available.
    can i help in some way in development of this plugin?


    regards
    ashok manker

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • It might help, if you could enable the debug build (make IPTV_DEBUG=1) and send me the log files: both cases of channel switches (with and without femon plugin) are interesting.


    Hi rofafor,
    please have a look at the log file i am attaching.
    you can see that after activation femon plugin, IPTV work. I have switched on femon before switching to channel 8


    http://pastebin.com/DETRPAhN

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

  • Thanks. I'll look into it. Anyway, I already spotted a bug in the femon plugin that causes those annoying error logs entries.


    Could you try this patch whether it makes any difference?


    Code
    removed


    Please, contact me directly via email for further debugging.

  • Hi rofafor,


    I have used the patch as you have suggested.


    But the result is not good.
    1. I cant change channel as before.
    2. Now I cant even change channel while femon is on.


    Now please tell me what further steps i do?


    Regards
    Ashok Manker

    yavdr 0.4 testing branch /// asus p5k mb /// intel core2quad /// 4 gb ddr2 /// geforce gtx550 /// creative sb 24 bit /// dvbhd 2080p dvb-s2 card /// 1tb 500gb 80gb hdd /// BSNL IPTV ///

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!