gpac / mp4box.js

JavaScript version of GPAC's MP4Box tool
https://gpac.github.io/mp4box.js/
BSD 3-Clause "New" or "Revised" License
1.94k stars 326 forks source link

Question: how convert fragment-mp4 to non-fragmented-mp4? #257

Open iChengbo opened 2 years ago

iChengbo commented 2 years ago

hi, Can mp4box.js convert fragment-mp4 to non-fragmented-mp4 while downloading?

thx

ikmolbo commented 2 years ago

Did you find an answer to this, @iChengbo?

cconcolato commented 2 years ago

mp4box.js does not support generating non-fragmented files. Do you have more details on the use case? All players that support fragmented should support non-fragmented. Also, have you considered using MP4Box(.exe) for that?

ikmolbo commented 2 years ago

The use case is for DASH MP4 files that won't play properly in iOS/Safari. They need to be converted to non-fragmented MP4 files to play as expected. I have used MP4box.exe for this, but would ideally like this to run in a pure JS environment.