media
media copied to clipboard
transformed video not streamable
transformer library don't support faststart option, so the output mp4 file is always not streamable.
Is there any way to move moov atom to the beginning of the mp4 file?
Hi @YumengNevix, could you please provide more detail on the input media format as well as if you are using InAppMuxer or MediaMuxer?
input media format is mov, muxer is MediaMuxer.
Hi @YumengNevix, Unfortunately there is no option to move "moov" box at the beginning. The MediaMuxer tries to write "moov" box in the beginning but if the size of the "moov" box exceeds a certain value then it is placed at the end of the file. Hence streamable MP4 is not always guaranteed. At this point the support for streamable MP4 is not available via "InAppMuxer" muxer as well but we can add this feature in our backlog and see if we can prioritise it in the near future. Thanks.
I see, thank u for your response.
I am reopening it as it is a feature request. This issue will be closed when the feature will be implemented
@YumengNevix We are currently exploring this feature and I wanted to understand whether you were trying to produce a very large output file? If possible can you please share the duration and size of your output file?