Skip to content
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

Shaka Packager HLS MP4 Fails to play - failed fetch and append: code=3014 #1152

Closed
buggles333 opened this issue Nov 23, 2017 · 11 comments
Closed
Labels
status: archived Archived and locked; will not be updated type: external An issue with an external dependency; not our issue; sometimes kept open for tracking

Comments

@buggles333
Copy link

buggles333 commented Nov 23, 2017

Have you read the FAQ and checked for duplicate issues:
Yes

What version of Shaka Player are you using:
2.2.6

Can you reproduce the issue with our latest release version:
Yes

Can you reproduce the issue with the latest code from master:
Yese

Are you using the demo app or your own custom app:
Demo App

What browser and OS are you using:
Windows 7, Chrome 62

What are the manifest and license server URIs:
d2o1ul0cbfdx5w.cloudfront.net/test/h264_master.m3u8

What did you do?
I have encoded a small video into HLS MP4 using the Shaka Packager tutorial - I then tried playing it using the demo Shaka Player code from the wiki

What did you expect to happen?
I expected the video to play

What actually happened?
All looks like it is loading in the console but it then runs into the following errors...

  • The video has now been loaded!
    streaming_engine.js:1211 (video:1) looking up segment: presentationTime=0 currentPeriod.startTime=0
    streaming_engine.js:1374 (video:1) failed fetch and append: code=3014
    CHUNK_DEMUXER_ERROR_APPEND_FAILED: Append: stream …1072 append_window_start=0 append_window_end=5.28"]

I am assuming it is something to do with the encoding but I have followed the official tutorial exactly, can anyone shed any light on what is going wrong?

@buggles333
Copy link
Author

Have just tried with a different source file and encoded it to HLS again using shaka-packager. Still get the same results.

Does anyone have a zipped HLS file they can link to so I can download and compare layout and manifests?

@kqyang
Copy link
Contributor

kqyang commented Nov 28, 2017

It is actually a bug in Shaka Packager, which is already fixed. v1.6.2 does not properly support fmp4+hls.

Please try again with Shaka Packager latest commit. (Shaka Packager team is preparing for a new release, so hopefully a new release will come out soon)

@joeyparrish joeyparrish added type: external An issue with an external dependency; not our issue; sometimes kept open for tracking and removed needs triage labels Nov 28, 2017
@joeyparrish
Copy link
Member

@buggles333, please let us know if an updated Shaka Packager fixes it for you.

@buggles333
Copy link
Author

Will give it a try now and let you know

@buggles333
Copy link
Author

Struggling to build a windows binary for the latest commit, I think a later version of Visual Studio is causing conflicts. Anyone have a prebuilt binary?

@joeyparrish
Copy link
Member

@kqyang, can you provide an up-to-date binary of the packager for Windows? Or should we wait for the next release?

@kqyang
Copy link
Contributor

kqyang commented Dec 1, 2017

@buggles333
Copy link
Author

Thank you! I was just creating a clean windows install but this saves me a job. Will try out a new encode now and update

@kqyang
Copy link
Contributor

kqyang commented Dec 1, 2017

No problem.

Btw, the binary above is for 64-bit Windows. If you happen to use 32-bit, you can always go to this link: https://ci.appveyor.com/project/shaka/shaka-packager and select the relevant config and download the binary from "artifacts" tab.

@buggles333
Copy link
Author

buggles333 commented Dec 1, 2017

Did a fresh encode using the new version of the packager and all is working now, thanks for the help. One further question though, does Shaka Player work on iOs or am I better of using their native HLS player?

@TheModMaker
Copy link
Contributor

We currently don't support iOS since iOS doesn't support MediaSource. But after #997 we will support direct playback of HLS content on iOS, but not DASH. Also, we will just be using the native HLS support anyway, so it won't gain you anything.

@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: external An issue with an external dependency; not our issue; sometimes kept open for tracking
Projects
None yet
Development

No branches or pull requests

6 participants