New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dailymotion plugin doesn't seem to work anymore #786

Closed
TehBreakout opened this Issue Mar 14, 2015 · 12 comments

Comments

Projects
None yet
10 participants
@TehBreakout

TehBreakout commented Mar 14, 2015

Hello,

Since a few days, I can't watch any dailymotion stream. I think they changed something on their side.

Here are the kind of errors I get :

[cli][info] Found matching plugin dailymotion for URL http://www.dailymotion.com /embed/video/xmehe4 [cli][info] Available streams: 1080p+ (best), 132p (worst), 236p, 412p, 720p [cli][info] Opening stream: 1080p+ (hds) [stream.hds][error] Failed to open fragment 1-514: Unable to open URL: http://st ream-06.vty.dmcdn.net/16/dm/1/xmehe4/live_src.isml/events(live_src-1426320404)/l ive_src-audio=128000-video=399360-?hls_no_audio_only=1Seg1-Frag514 (400 Client E rror: Bad Request) [stream.hds][error] Failed to open fragment 1-514: Unable to open URL: http://st ream-06.vty.dmcdn.net/16/dm/1/xmehe4/live_src.isml/events(live_src-1426320404)/l ive_src-audio=128000-video=399360-?hls_no_audio_only=1Seg1-Frag514 (400 Client E rror: Bad Request) [stream.hds][error] Failed to open fragment 1-514: Unable to open URL: http://st ream-06.vty.dmcdn.net/16/dm/1/xmehe4/live_src.isml/events(live_src-1426320404)/l ive_src-audio=128000-video=399360-?hls_no_audio_only=1Seg1-Frag514 (400 Client E rror: Bad Request) [stream.hds][error] Failed to open fragment 1-515: Unable to open URL: http://st ream-06.vty.dmcdn.net/16/dm/1/xmehe4/live_src.isml/events(live_src-1426320404)/l ive_src-audio=128000-video=399360-?hls_no_audio_only=1Seg1-Frag515 (400 Client E rror: Bad Request) [stream.hds][error] Failed to open fragment 1-515: Unable to open URL: http://st ream-06.vty.dmcdn.net/16/dm/1/xmehe4/live_src.isml/events(live_src-1426320404)/l ive_src-audio=128000-video=399360-?hls_no_audio_only=1Seg1-Frag515 (400 Client E rror: Bad Request) [stream.hds][error] Failed to open fragment 1-515: Unable to open URL: http://st ream-06.vty.dmcdn.net/16/dm/1/xmehe4/live_src.isml/events(live_src-1426320404)/l ive_src-audio=128000-video=399360-?hls_no_audio_only=1Seg1-Frag515 (400 Client E rror: Bad Request)
etc...

I think Dailymotion changed something, because it worked perfectly a few days after I installed the last update.

Do you have the same problem ?
Thanks !

@barbacos

This comment has been minimized.

Show comment
Hide comment
@barbacos

barbacos Mar 14, 2015

Same issue since a few day.
Only with dailymotion

barbacos commented Mar 14, 2015

Same issue since a few day.
Only with dailymotion

@Bromind

This comment has been minimized.

Show comment
Hide comment
@Bromind

Bromind Mar 14, 2015

Hi, just tried it right now, I had no problem.

Bromind commented Mar 14, 2015

Hi, just tried it right now, I had no problem.

@canoine

This comment has been minimized.

Show comment
Hide comment
@canoine

canoine Mar 15, 2015

Same problem here, but not on all Dailymotion streams. www.dailymotion.com/embed/video/x25eyo8 is OK, for example, but www.dailymotion.com/embed/video/x15ztwg isn't :

[cli][info] Found matching plugin dailymotion for URL www.dailymotion.com/embed/video/x15ztwg
[cli][info] Available streams: 1080p+ (best), 132p (worst), 232p, 408p, 720p
[cli][info] Opening stream: 408p (hds)
[stream.hds][error] Failed to open fragment 1-4994: Unable to open URL: http://stream-09.vty.dmcdn.net/11/dm/1/x15ztwg/live.isml/events(live-1426361198)/live-audio=128000-video=989000-?hls_no_audio_only=1Seg1-Frag4994 (400 Client Error: Bad Request)
[stream.hds][error] Failed to open fragment 1-4994: Unable to open URL: http://stream-09.vty.dmcdn.net/11/dm/1/x15ztwg/live.isml/events(live-1426361198)/live-audio=128000-video=989000-?hls_no_audio_only=1Seg1-Frag4994 (400 Client Error: Bad Request)
...

canoine commented Mar 15, 2015

Same problem here, but not on all Dailymotion streams. www.dailymotion.com/embed/video/x25eyo8 is OK, for example, but www.dailymotion.com/embed/video/x15ztwg isn't :

[cli][info] Found matching plugin dailymotion for URL www.dailymotion.com/embed/video/x15ztwg
[cli][info] Available streams: 1080p+ (best), 132p (worst), 232p, 408p, 720p
[cli][info] Opening stream: 408p (hds)
[stream.hds][error] Failed to open fragment 1-4994: Unable to open URL: http://stream-09.vty.dmcdn.net/11/dm/1/x15ztwg/live.isml/events(live-1426361198)/live-audio=128000-video=989000-?hls_no_audio_only=1Seg1-Frag4994 (400 Client Error: Bad Request)
[stream.hds][error] Failed to open fragment 1-4994: Unable to open URL: http://stream-09.vty.dmcdn.net/11/dm/1/x15ztwg/live.isml/events(live-1426361198)/live-audio=128000-video=989000-?hls_no_audio_only=1Seg1-Frag4994 (400 Client Error: Bad Request)
...

@benoit-intrw

This comment has been minimized.

Show comment
Hide comment
@benoit-intrw

benoit-intrw Mar 17, 2015

Same problem here :

$ livestreamer http://www.dailymotion.com/embed/video/x173n01 best
[cli][info] A new version of Livestreamer (1.12) is available!
[cli][info] Found matching plugin dailymotion for URL http://www.dailymotion.com/embed/video/x173n01
[cli][info] Available streams: 216p (worst), 720p (best)
[cli][info] Opening stream: 720p (hds)
[stream.hds][error] Failed to open fragment 1-10468: Unable to open URL: http://stream-12.vty.dmcdn.net/04/dm/1/x173n01/live.isml/events(live-1426544205)/live-audio=128000-video=2200000-?hls_no_audio_only=1Seg1-Frag10468 (400 Client Error: Bad Request)
[stream.hds][error] Failed to open fragment 1-10468: Unable to open URL: http://stream-12.vty.dmcdn.net/04/dm/1/x173n01/live.isml/events(live-1426544205)/live-audio=128000-video=2200000-?hls_no_audio_only=1Seg1-Frag10468 (400 Client Error: Bad Request)

Someone made progress to fix this ?

benoit-intrw commented Mar 17, 2015

Same problem here :

$ livestreamer http://www.dailymotion.com/embed/video/x173n01 best
[cli][info] A new version of Livestreamer (1.12) is available!
[cli][info] Found matching plugin dailymotion for URL http://www.dailymotion.com/embed/video/x173n01
[cli][info] Available streams: 216p (worst), 720p (best)
[cli][info] Opening stream: 720p (hds)
[stream.hds][error] Failed to open fragment 1-10468: Unable to open URL: http://stream-12.vty.dmcdn.net/04/dm/1/x173n01/live.isml/events(live-1426544205)/live-audio=128000-video=2200000-?hls_no_audio_only=1Seg1-Frag10468 (400 Client Error: Bad Request)
[stream.hds][error] Failed to open fragment 1-10468: Unable to open URL: http://stream-12.vty.dmcdn.net/04/dm/1/x173n01/live.isml/events(live-1426544205)/live-audio=128000-video=2200000-?hls_no_audio_only=1Seg1-Frag10468 (400 Client Error: Bad Request)

Someone made progress to fix this ?

@benoit-intrw

This comment has been minimized.

Show comment
Hide comment
@benoit-intrw

benoit-intrw Mar 17, 2015

By looking at how manifest is parsed and how fragment url are build, I thought that the part ?hls_no_audio_only=1 looks weird. By removing it it's working ... but I don't know any things about HDS and f4m manifest. Is this ?hls_no_audio_only=1 supposed to be present and used ? What do you think ??

Forgot to link the manifest file : https://gist.github.com/benoit-intrw/cccb2eee54c0528e7a58

benoit-intrw commented Mar 17, 2015

By looking at how manifest is parsed and how fragment url are build, I thought that the part ?hls_no_audio_only=1 looks weird. By removing it it's working ... but I don't know any things about HDS and f4m manifest. Is this ?hls_no_audio_only=1 supposed to be present and used ? What do you think ??

Forgot to link the manifest file : https://gist.github.com/benoit-intrw/cccb2eee54c0528e7a58

@TehBreakout

This comment has been minimized.

Show comment
Hide comment
@TehBreakout

TehBreakout Mar 17, 2015

I just realised that sometimes, I can open a dailymotion stream after about 8 attempts in a row. Works 100% fine if I manage to start the stream. Really strange.

TehBreakout commented Mar 17, 2015

I just realised that sometimes, I can open a dailymotion stream after about 8 attempts in a row. Works 100% fine if I manage to start the stream. Really strange.

benoit-intrw pushed a commit to benoit-intrw/livestreamer that referenced this issue Mar 18, 2015

Benoît Laurent
Try to fix problem with dailymotion live stream.
This patch remove trailling parameter in the media url found in f4m manifest.

See chrippa/livestreamer#786 for more details.
@gmarsay

This comment has been minimized.

Show comment
Hide comment
@gmarsay

gmarsay Mar 20, 2015

Same problem here, with this URL : http://games.dailymotion.com/live/x2igv5y
(Tested with development version from github)

$ livestreamer -l debug --player-external-http --player-external-http-port 50000 http://games.dailymotion.com/live/x2igv5y?hls_no_audio_only=1 best
[cli][info] Found matching plugin dailymotion for URL http://games.dailymotion.com/live/x2igv5y?hls_no_audio_only=1
[cli][info] Available streams: 216p (worst), 720p, 720p+ (best)
[cli][info] Starting server, access with one of:
[cli][info] http://127.0.0.1:50000/
[cli][info] http://0.0.0.0:50000/
[cli][info] Got HTTP request from unknown player
[cli][info] Opening stream: 720p+ (hds)
[stream.hds][error] Failed to open fragment 1-1571: Unable to open URL: http://stream-05.vty.dmcdn.net/18/dm/1/x2igv5y/live_src.isml/events(live_src-1426861629)/live_src-audio=95232-video=2099200-?hls_no_audio_only=1Seg1-Frag1571 (400 Client Error: Bad Request)
[stream.hds][error] Failed to open fragment 1-1571: Unable to open URL: http://stream-05.vty.dmcdn.net/18/dm/1/x2igv5y/live_src.isml/events(live_src-1426861629)/live_src-audio=95232-video=2099200-?hls_no_audio_only=1Seg1-Frag1571 (400 Client Error: Bad Request)
...
[stream.hds][debug] Updating bootstrap
[stream.hds][debug] Current timestamp: 6689.84
[stream.hds][debug] Current segment: 1
[stream.hds][debug] Current fragment: 1673
[stream.hds][debug] First fragment: 1658
[stream.hds][debug] Last fragment: 1672
[stream.hds][debug] End fragment: None
[stream.hds][debug] Bootstrap not changed, shortening timer
[stream.hds][debug] Updating bootstrap
[stream.hds][debug] Current timestamp: 6693.84
[stream.hds][debug] Current segment: 1
[stream.hds][debug] Current fragment: 1673
[stream.hds][debug] First fragment: 1659
[stream.hds][debug] Last fragment: 1673
[stream.hds][debug] End fragment: None
[stream.hds][debug] Adding fragment 1-1673 to queue

gmarsay commented Mar 20, 2015

Same problem here, with this URL : http://games.dailymotion.com/live/x2igv5y
(Tested with development version from github)

$ livestreamer -l debug --player-external-http --player-external-http-port 50000 http://games.dailymotion.com/live/x2igv5y?hls_no_audio_only=1 best
[cli][info] Found matching plugin dailymotion for URL http://games.dailymotion.com/live/x2igv5y?hls_no_audio_only=1
[cli][info] Available streams: 216p (worst), 720p, 720p+ (best)
[cli][info] Starting server, access with one of:
[cli][info] http://127.0.0.1:50000/
[cli][info] http://0.0.0.0:50000/
[cli][info] Got HTTP request from unknown player
[cli][info] Opening stream: 720p+ (hds)
[stream.hds][error] Failed to open fragment 1-1571: Unable to open URL: http://stream-05.vty.dmcdn.net/18/dm/1/x2igv5y/live_src.isml/events(live_src-1426861629)/live_src-audio=95232-video=2099200-?hls_no_audio_only=1Seg1-Frag1571 (400 Client Error: Bad Request)
[stream.hds][error] Failed to open fragment 1-1571: Unable to open URL: http://stream-05.vty.dmcdn.net/18/dm/1/x2igv5y/live_src.isml/events(live_src-1426861629)/live_src-audio=95232-video=2099200-?hls_no_audio_only=1Seg1-Frag1571 (400 Client Error: Bad Request)
...
[stream.hds][debug] Updating bootstrap
[stream.hds][debug] Current timestamp: 6689.84
[stream.hds][debug] Current segment: 1
[stream.hds][debug] Current fragment: 1673
[stream.hds][debug] First fragment: 1658
[stream.hds][debug] Last fragment: 1672
[stream.hds][debug] End fragment: None
[stream.hds][debug] Bootstrap not changed, shortening timer
[stream.hds][debug] Updating bootstrap
[stream.hds][debug] Current timestamp: 6693.84
[stream.hds][debug] Current segment: 1
[stream.hds][debug] Current fragment: 1673
[stream.hds][debug] First fragment: 1659
[stream.hds][debug] Last fragment: 1673
[stream.hds][debug] End fragment: None
[stream.hds][debug] Adding fragment 1-1673 to queue

@canoine

This comment has been minimized.

Show comment
Hide comment
@canoine

canoine Mar 21, 2015

The patch resolves the problem for me. Thanks.

canoine commented Mar 21, 2015

The patch resolves the problem for me. Thanks.

@chrippa chrippa closed this in 55a097b Mar 22, 2015

@campones

This comment has been minimized.

Show comment
Hide comment
@campones

campones Jul 8, 2017

for me it seems it stopped working few days ago.. example:

http://www.dailymotion.com/video/x2lefik

it seems to contain a token now and the script can't retrieve anything?

campones commented Jul 8, 2017

for me it seems it stopped working few days ago.. example:

http://www.dailymotion.com/video/x2lefik

it seems to contain a token now and the script can't retrieve anything?

@cirrusUK

This comment has been minimized.

Show comment
Hide comment
@cirrusUK

cirrusUK Jul 26, 2017

you boys need to be using streamlink, livestreamer is no longer being actively developed
https://github.com/streamlink/streamlink

cirrusUK commented Jul 26, 2017

you boys need to be using streamlink, livestreamer is no longer being actively developed
https://github.com/streamlink/streamlink

@refriedfood

This comment has been minimized.

Show comment
Hide comment
@refriedfood

refriedfood Jan 4, 2018

Why use streamlink when livestreamer doesn't need to be actively developed because it's perfect already? Dailymotion support is just a plugin that anyone can update.

refriedfood commented Jan 4, 2018

Why use streamlink when livestreamer doesn't need to be actively developed because it's perfect already? Dailymotion support is just a plugin that anyone can update.

@campones

This comment has been minimized.

Show comment
Hide comment
@campones

campones Feb 3, 2018

"Dailymotion support is just a plugin that anyone can update."

yea right..

campones commented Feb 3, 2018

"Dailymotion support is just a plugin that anyone can update."

yea right..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment