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

How to play sample admiral.264? #45

Open
mangreen opened this issue Sep 8, 2017 · 5 comments
Open

How to play sample admiral.264? #45

mangreen opened this issue Sep 8, 2017 · 5 comments

Comments

@mangreen
Copy link

mangreen commented Sep 8, 2017

I used server-static.js to delivery samples.
Sample out.h264 can be play well, but admiral.264 can not be play.
I tried to use ffplay to play admiral.264, it worked fine.

My client player setting was copied from your h264-live-player/public/index.html.

<script type="text/javascript">
var canvas = document.createElement("canvas");
document.body.appendChild(canvas);
var uri = "ws://" + document.location.host;
var wsavc = new WSAvcPlayer(canvas, "webgl", 1, 35);
wsavc.connect(uri);
window.wsavc = wsavc;
</script>

Should I change any setting?

Because I have a h264 file looks like sample admiral.264 have the same problem.
It can not be play too.
That is why I ask this question.

@David-Development
Copy link

This issue might be related to #40 (comment). Did you find a solution yet?

@weibinzhu
Copy link

I have the same problem. Did you find any solution?

@classLfz
Copy link

classLfz commented Jun 7, 2018

Me too, and I download a mp4 video, use ffmpeg transform to a h264 file, replace the source.video_path still not work.

@djytwy
Copy link

djytwy commented Aug 7, 2020

I have the same problem.
Has anyone solved this problem?

@djytwy
Copy link

djytwy commented Aug 7, 2020

I solved this problem. Because Broadway can only support h264 with profile baseline and admiral.264 don't have SPS and PPS. Please make sure you h264 file profile is baseline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants