Video not playing in web browser with Bluetooth headphones connected. How can I fix this?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite
1












I have an Emby media server running on Ubuntu 16.04 on a home server.
I like to watch video on my laptop, running Ubuntu 16.10. Playback works as expected but when I try to watch with my Bluetooth headphones connected videos will not play.



If I run top on my server I can see that ffmpeg is maxing out the CPU:



6626 emby 20 0 1094264 348240 27820 R 181.2 4.3 10:46.21 ffmpeg


As soon as I quit trying to playback the video CPU usage drops back to an expected normal level.



If I disconnect the Bluetooth headphones, video playback immediately works OK and audio comes through the laptop built in speakers OK.



I usually use Firefox but I've tried Chrome, Chromium and Opera but they all exhibit the same behaviour when trying to play video with the headphones connected.



It appears the behaviour is not limited to my Emby media server, I've tried to play YouTube videos and they will not play either with the Bluetooth headphones connected.



The headphones and Emby video playback both work OK with my Android phone.



If I play the same video file from my server through VLC on my laptop, the video and audio work fine. This is a workaround but not my preference.



The problem seems to be related to playing video in a web browser with Bluetooth headphones connected. Can anyone help me get this working?










share|improve this question



























    up vote
    1
    down vote

    favorite
    1












    I have an Emby media server running on Ubuntu 16.04 on a home server.
    I like to watch video on my laptop, running Ubuntu 16.10. Playback works as expected but when I try to watch with my Bluetooth headphones connected videos will not play.



    If I run top on my server I can see that ffmpeg is maxing out the CPU:



    6626 emby 20 0 1094264 348240 27820 R 181.2 4.3 10:46.21 ffmpeg


    As soon as I quit trying to playback the video CPU usage drops back to an expected normal level.



    If I disconnect the Bluetooth headphones, video playback immediately works OK and audio comes through the laptop built in speakers OK.



    I usually use Firefox but I've tried Chrome, Chromium and Opera but they all exhibit the same behaviour when trying to play video with the headphones connected.



    It appears the behaviour is not limited to my Emby media server, I've tried to play YouTube videos and they will not play either with the Bluetooth headphones connected.



    The headphones and Emby video playback both work OK with my Android phone.



    If I play the same video file from my server through VLC on my laptop, the video and audio work fine. This is a workaround but not my preference.



    The problem seems to be related to playing video in a web browser with Bluetooth headphones connected. Can anyone help me get this working?










    share|improve this question

























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I have an Emby media server running on Ubuntu 16.04 on a home server.
      I like to watch video on my laptop, running Ubuntu 16.10. Playback works as expected but when I try to watch with my Bluetooth headphones connected videos will not play.



      If I run top on my server I can see that ffmpeg is maxing out the CPU:



      6626 emby 20 0 1094264 348240 27820 R 181.2 4.3 10:46.21 ffmpeg


      As soon as I quit trying to playback the video CPU usage drops back to an expected normal level.



      If I disconnect the Bluetooth headphones, video playback immediately works OK and audio comes through the laptop built in speakers OK.



      I usually use Firefox but I've tried Chrome, Chromium and Opera but they all exhibit the same behaviour when trying to play video with the headphones connected.



      It appears the behaviour is not limited to my Emby media server, I've tried to play YouTube videos and they will not play either with the Bluetooth headphones connected.



      The headphones and Emby video playback both work OK with my Android phone.



      If I play the same video file from my server through VLC on my laptop, the video and audio work fine. This is a workaround but not my preference.



      The problem seems to be related to playing video in a web browser with Bluetooth headphones connected. Can anyone help me get this working?










      share|improve this question















      I have an Emby media server running on Ubuntu 16.04 on a home server.
      I like to watch video on my laptop, running Ubuntu 16.10. Playback works as expected but when I try to watch with my Bluetooth headphones connected videos will not play.



      If I run top on my server I can see that ffmpeg is maxing out the CPU:



      6626 emby 20 0 1094264 348240 27820 R 181.2 4.3 10:46.21 ffmpeg


      As soon as I quit trying to playback the video CPU usage drops back to an expected normal level.



      If I disconnect the Bluetooth headphones, video playback immediately works OK and audio comes through the laptop built in speakers OK.



      I usually use Firefox but I've tried Chrome, Chromium and Opera but they all exhibit the same behaviour when trying to play video with the headphones connected.



      It appears the behaviour is not limited to my Emby media server, I've tried to play YouTube videos and they will not play either with the Bluetooth headphones connected.



      The headphones and Emby video playback both work OK with my Android phone.



      If I play the same video file from my server through VLC on my laptop, the video and audio work fine. This is a workaround but not my preference.



      The problem seems to be related to playing video in a web browser with Bluetooth headphones connected. Can anyone help me get this working?







      video bluetooth headphones






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 14 at 21:12









      Zanna

      48.1k13120228




      48.1k13120228










      asked Mar 5 '17 at 9:25









      robosnacks

      805




      805




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Sounds like the headset is in the wrong mode, pylovers a2dp.py script should get it working


          wget https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae/archive/d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
          unzip d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
          mv ~/d68be364adac5f946887b85e6ed6e7ae-d698974910bbb7d016ec0ad08c1bf41b4b524364/a2dp.py .a2dp.py
          chmod +x a2dp.py


          Then just run ./a2dp.py
          If you have paired with more than one bluetooth device you will need to enter the number that corresponds with the headset in a list it will display.



          You will likely have to run ./a2dp.py after reconnecting the device






          share|improve this answer






















            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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f889737%2fvideo-not-playing-in-web-browser-with-bluetooth-headphones-connected-how-can-i%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            Sounds like the headset is in the wrong mode, pylovers a2dp.py script should get it working


            wget https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae/archive/d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
            unzip d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
            mv ~/d68be364adac5f946887b85e6ed6e7ae-d698974910bbb7d016ec0ad08c1bf41b4b524364/a2dp.py .a2dp.py
            chmod +x a2dp.py


            Then just run ./a2dp.py
            If you have paired with more than one bluetooth device you will need to enter the number that corresponds with the headset in a list it will display.



            You will likely have to run ./a2dp.py after reconnecting the device






            share|improve this answer


























              up vote
              2
              down vote



              accepted










              Sounds like the headset is in the wrong mode, pylovers a2dp.py script should get it working


              wget https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae/archive/d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
              unzip d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
              mv ~/d68be364adac5f946887b85e6ed6e7ae-d698974910bbb7d016ec0ad08c1bf41b4b524364/a2dp.py .a2dp.py
              chmod +x a2dp.py


              Then just run ./a2dp.py
              If you have paired with more than one bluetooth device you will need to enter the number that corresponds with the headset in a list it will display.



              You will likely have to run ./a2dp.py after reconnecting the device






              share|improve this answer
























                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                Sounds like the headset is in the wrong mode, pylovers a2dp.py script should get it working


                wget https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae/archive/d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
                unzip d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
                mv ~/d68be364adac5f946887b85e6ed6e7ae-d698974910bbb7d016ec0ad08c1bf41b4b524364/a2dp.py .a2dp.py
                chmod +x a2dp.py


                Then just run ./a2dp.py
                If you have paired with more than one bluetooth device you will need to enter the number that corresponds with the headset in a list it will display.



                You will likely have to run ./a2dp.py after reconnecting the device






                share|improve this answer














                Sounds like the headset is in the wrong mode, pylovers a2dp.py script should get it working


                wget https://gist.github.com/pylover/d68be364adac5f946887b85e6ed6e7ae/archive/d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
                unzip d698974910bbb7d016ec0ad08c1bf41b4b524364.zip
                mv ~/d68be364adac5f946887b85e6ed6e7ae-d698974910bbb7d016ec0ad08c1bf41b4b524364/a2dp.py .a2dp.py
                chmod +x a2dp.py


                Then just run ./a2dp.py
                If you have paired with more than one bluetooth device you will need to enter the number that corresponds with the headset in a list it will display.



                You will likely have to run ./a2dp.py after reconnecting the device







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 22 '17 at 9:16

























                answered Mar 5 '17 at 11:19









                Jeremy31

                7,90921359




                7,90921359



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f889737%2fvideo-not-playing-in-web-browser-with-bluetooth-headphones-connected-how-can-i%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

                    `kcmshell` modules relation with `/usr/share/applications`

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491