131/h264-live-player

How to play sample admiral.264?

mangreen opened this issue · 5 comments

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.

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

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

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

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

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.