Multicast stream cannot be accessed by server even it's reaching the interface











up vote
0
down vote

favorite












My ISP offer me IPTV via multicast MPEG-TS that I want to stream via unicast to some devices (like tablets).
I have Ubuntu 18.04 with two interfaces eth0 and eth1. I want to stream multicast with udpxy or other software from eth1 to eth0 but failed.
I follow couple of guides and sysctl.conf disable rf_filter: sysctl net.ipv4.conf.default.rp_filter=0 and interface has MULTICAST flag. ip route include 224.0.0.0/4 dev eth1.



Multicast stream is ok and I can watch with windows 10 laptop running TSReader Lite or VLC. Issue I have is only with Ubuntu laptop and server. Both device cannot display or relay the stream. They join the multicast group but unfortunatly VLC or ffmpeg seames that cannot read from intefrace....



What I checked so far:




  1. Replace server with Windows 10 laptop with VLC. Stream works and I
    can watch the channel.

  2. Laptop but with Ubuntu 18.04 running on the USB. VLC 3.x. The stream does NOT work

  3. I reconnect my ubuntu laptop to windows 10 laptop. Then I started to generate multicast stream from windows 10 to ubuntu laptop and stream worked fine.

  4. I connect my home server again to ISP stream source and capture the stream via tcpdump. I can see that traffic is MPEG2-TS and it's
    comming to my server. TTL is 60. Stream is comming to linux server but it's not passed to VLC.

  5. I tried with ffprobe but also same issue like with VLC. Stream is comming to interfacd eth1 but ffprobe don't see it.


Anyhow have idea what can cause it?










share|improve this question


























    up vote
    0
    down vote

    favorite












    My ISP offer me IPTV via multicast MPEG-TS that I want to stream via unicast to some devices (like tablets).
    I have Ubuntu 18.04 with two interfaces eth0 and eth1. I want to stream multicast with udpxy or other software from eth1 to eth0 but failed.
    I follow couple of guides and sysctl.conf disable rf_filter: sysctl net.ipv4.conf.default.rp_filter=0 and interface has MULTICAST flag. ip route include 224.0.0.0/4 dev eth1.



    Multicast stream is ok and I can watch with windows 10 laptop running TSReader Lite or VLC. Issue I have is only with Ubuntu laptop and server. Both device cannot display or relay the stream. They join the multicast group but unfortunatly VLC or ffmpeg seames that cannot read from intefrace....



    What I checked so far:




    1. Replace server with Windows 10 laptop with VLC. Stream works and I
      can watch the channel.

    2. Laptop but with Ubuntu 18.04 running on the USB. VLC 3.x. The stream does NOT work

    3. I reconnect my ubuntu laptop to windows 10 laptop. Then I started to generate multicast stream from windows 10 to ubuntu laptop and stream worked fine.

    4. I connect my home server again to ISP stream source and capture the stream via tcpdump. I can see that traffic is MPEG2-TS and it's
      comming to my server. TTL is 60. Stream is comming to linux server but it's not passed to VLC.

    5. I tried with ffprobe but also same issue like with VLC. Stream is comming to interfacd eth1 but ffprobe don't see it.


    Anyhow have idea what can cause it?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      My ISP offer me IPTV via multicast MPEG-TS that I want to stream via unicast to some devices (like tablets).
      I have Ubuntu 18.04 with two interfaces eth0 and eth1. I want to stream multicast with udpxy or other software from eth1 to eth0 but failed.
      I follow couple of guides and sysctl.conf disable rf_filter: sysctl net.ipv4.conf.default.rp_filter=0 and interface has MULTICAST flag. ip route include 224.0.0.0/4 dev eth1.



      Multicast stream is ok and I can watch with windows 10 laptop running TSReader Lite or VLC. Issue I have is only with Ubuntu laptop and server. Both device cannot display or relay the stream. They join the multicast group but unfortunatly VLC or ffmpeg seames that cannot read from intefrace....



      What I checked so far:




      1. Replace server with Windows 10 laptop with VLC. Stream works and I
        can watch the channel.

      2. Laptop but with Ubuntu 18.04 running on the USB. VLC 3.x. The stream does NOT work

      3. I reconnect my ubuntu laptop to windows 10 laptop. Then I started to generate multicast stream from windows 10 to ubuntu laptop and stream worked fine.

      4. I connect my home server again to ISP stream source and capture the stream via tcpdump. I can see that traffic is MPEG2-TS and it's
        comming to my server. TTL is 60. Stream is comming to linux server but it's not passed to VLC.

      5. I tried with ffprobe but also same issue like with VLC. Stream is comming to interfacd eth1 but ffprobe don't see it.


      Anyhow have idea what can cause it?










      share|improve this question













      My ISP offer me IPTV via multicast MPEG-TS that I want to stream via unicast to some devices (like tablets).
      I have Ubuntu 18.04 with two interfaces eth0 and eth1. I want to stream multicast with udpxy or other software from eth1 to eth0 but failed.
      I follow couple of guides and sysctl.conf disable rf_filter: sysctl net.ipv4.conf.default.rp_filter=0 and interface has MULTICAST flag. ip route include 224.0.0.0/4 dev eth1.



      Multicast stream is ok and I can watch with windows 10 laptop running TSReader Lite or VLC. Issue I have is only with Ubuntu laptop and server. Both device cannot display or relay the stream. They join the multicast group but unfortunatly VLC or ffmpeg seames that cannot read from intefrace....



      What I checked so far:




      1. Replace server with Windows 10 laptop with VLC. Stream works and I
        can watch the channel.

      2. Laptop but with Ubuntu 18.04 running on the USB. VLC 3.x. The stream does NOT work

      3. I reconnect my ubuntu laptop to windows 10 laptop. Then I started to generate multicast stream from windows 10 to ubuntu laptop and stream worked fine.

      4. I connect my home server again to ISP stream source and capture the stream via tcpdump. I can see that traffic is MPEG2-TS and it's
        comming to my server. TTL is 60. Stream is comming to linux server but it's not passed to VLC.

      5. I tried with ffprobe but also same issue like with VLC. Stream is comming to interfacd eth1 but ffprobe don't see it.


      Anyhow have idea what can cause it?







      networking vlc ffmpeg






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 at 12:40









      Qrad

      11




      11



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092853%2fmulticast-stream-cannot-be-accessed-by-server-even-its-reaching-the-interface%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092853%2fmulticast-stream-cannot-be-accessed-by-server-even-its-reaching-the-interface%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?