samirkumardas / jmuxer

jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Other
549 stars 108 forks source link

not support h264 substream ? #93

Closed sinianzhiren closed 2 years ago

sinianzhiren commented 2 years ago

Excuse me,Does this library not support H264 substream play?

samirkumardas commented 2 years ago

It is supposed to work. If you face any issues in playing, please provide a sample file containing your streaming. You can try playing that file using the VLC player. If the VLC player can play but jmuxer does not, please give the file.

sinianzhiren commented 2 years ago

@samirkumardas Thank you for your last reply. I tried to upload the following video to the official online demo, but it can't be played, but it can be played with vlc. Since github issues do not support uploading h264 bare streams, I have provided an address to download this video. https://zhaitaoyigou.com/smoke.264 this video is the sub-stream data obtained from Haikang camera.

sinianzhiren commented 2 years ago

@samirkumardas The same video can be played if it is the main stream h264 file from the camera and uploaded to the official demo address.

samirkumardas commented 2 years ago

I can play the file with jmuxer https://samirkumardas.github.io/jmuxer/h264_player.html

sinianzhiren commented 2 years ago

@samirkumardas Thank you. I've found the reason. The sub streams from some cameras are encoded in h265 format. Do you plan to support h265 format encoding in this library