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


up vote
1
down vote
favorite
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
add a comment |Â
up vote
1
down vote
favorite
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
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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
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
video bluetooth headphones
edited Mar 14 at 21:12


Zanna
48.1k13120228
48.1k13120228
asked Mar 5 '17 at 9:25
robosnacks
805
805
add a comment |Â
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
edited May 22 '17 at 9:16
answered Mar 5 '17 at 11:19
Jeremy31
7,90921359
7,90921359
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password