简体   繁体   中英

Create different qaulities for my manifest with only mp4box

I asked a question on slack on why the quality and bitrate of my dash video wasn't changing and I got this response: You only have one quality in your manifest. there is no way for the player to choose a different one You only have one quality in your manifest. there is no way for the player to choose a different one

So how can I create different "qualities"?

I have a mp4box command like:

MP4Box -dash 2000 -profile dashavc264:live -bs-switching multi -url-template whatever.mp4#trackID=1:id=vid0:role=vid0 whatever.mp4#trackID=2:id=aud0:role=aud0 -out whatever.mpd

Would it be possible to create different "qualities" with only mp4box or would I have to create the same video with different resolutions with something like ffmpeg and then feed them into the inputs to the command above?

GPAC contributor here. Since v0.9, GPAC has introduced a new architecture that allows to transcode by leveraging FFmpeg.

Example (forced intra period of 2 seconds):

MP4Box -dash 2000 -profile dashavc264:live -out session.mpd source.mp4:@@enc:c=avc:fintra=2

Edit: since 2020/09/29 multi-encoding is possible

MP4Box -fgraph -dash 2000 -profile dashavc264:live source.mp4:@ffsws:osize=160x120@enc:c=avc:fintra=2:b=100k:#Representation=1@@ffsws:osize=320x240@enc:c=avc:fintra=2:b=200k:#Representation=2

Please let us know if you have any questions!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM