samirkumardas / jmuxer

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

x265 support #18

Closed adminy closed 5 years ago

adminy commented 5 years ago

I was wondering if it’s possible to add x265 support, since the file format is very similar. Also can this project have multiple audio tracks?

samirkumardas commented 5 years ago

Nope, Even most browsers does not support h265 https://caniuse.com/#feat=hevc

adminy commented 5 years ago

Safari and edge do, everybody has edge or safari by default, I have both! But that’s not really related to converting hvec or h265 and aac files into an mp4, That is my goal, not what happens next to the mp4

Also can you give a little bit more detail as to why multiple tracks can’t be done?

samirkumardas commented 5 years ago

My comment was in regard to browser compatibility mostly.

Basically JMuxer don't have problem with multiple tracks. Even it does not care which track's buffer you are feeding right now. All you need a resetting the audio track whenever you switch to different track. Honestly I have never tried with multiple tracks, but it should work. It might need little tuning though.

Also You can try with x265. I don't have any idea about difference with h264. So it's worth a try.

dima9911 commented 1 year ago

h265 not work

greendrake commented 2 months ago

Bump. Browser support is now reasonable.