Skip to content

Player stops working when seeking with HTML5 controls. js html5 api seeking works (Win10/Edge) #951

Closed
@cm-cm-cm-cm

Description

@cm-cm-cm-cm

Have you read the FAQ and checked for duplicate issues:
yes
What version of Shaka Player are you using:
2.1.5
Can you reproduce the issue with our latest release version:
yes
Can you reproduce the issue with the latest code from master:
yes
Are you using the demo app or your own custom app:
custom app
If custom app, can you reproduce the issue using our demo app:
no
What browser and OS are you using:
Works: Windows 10 Chrome, Doesnt work: Windows 10 Edge
What are the manifest and license server URIs:
Manifest: https://gist.github.com/mchanton/af95d168a53daa749bcffe32bb564a6e
No license

What did you do?
Start playing the video, click into the timeline to seek to a different spot of the video.

What did you expect to happen?
The player to seek and continue play.

What actually happened?
The player seeked to the spot, the video changes to that frame, but doesnt continue playing. Also: player is frozen now, not possible to press play again. Console output ends with "calling switch_()" and then "switch_", just like if it would work. It also fires all the "timechanged" and "seek" events, just doesnt ever play again.

Seeking does work if I seek by using the html5 api. It also works if I press the "-30s" Button of the Edge HTML5 video controls. Seeking also works perfectly in Chrome and Firefox.

I encoded the video like this:

ffmpeg -i "$source_absolute" -c:v libx264 -preset ultrafast -tune fastdecode -g 100 -crf 28 -vsync passthrough -c:a aac -strict -2 output.mp4

And then created the dash files like this:
MP4Box -dash 4000 -frag 4000 -rap -bs-switching no -segment-name segment output.mp4

Does anyone have an Idea wat the Problem is?

edit:

Also, the video and audio data is muxed into one file.

If I put seperate segments for audio and video into the mpd file, it works perfectly with the dash-if dash.js.

Metadata

Metadata

Assignees

Labels

status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions