-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to transcode fragments? #12
Comments
The typical encoding workflow is to configure an encoder/transcoder to produce one file per bitrate, in a way that guarantees the alignment of GOPs (Group Of Picture), so that a valid, aligned, set of DASH segments can be made. Some encoders can produce files that are already in fragmented-mp4 form, but some don't (in which case mp4fragment is used to fragment the encoder output). |
when I run that tool, I get an error:
I get the feeling that this has to do with me not installing the binary tools, or having them in my path. Or not having the option for Anyways, I'm giving a talk next week on MSE that will be live streamed from air.mozilla.org, and I plan on plugging these great FOSS tools! https://air.mozilla.org/tech-talk-3/ |
mp4-dash-encode.py needs to run ffmpeg, so you'll need that to be in your path. |
Data stream encoding not supported yet (only streamcopy) ffmpeg and ffprobe are in my path. both are version 2.6.3. hmm, I have libfdk_aac:
|
Looks like I have to play around with muxing. I was able to edit the first command that ran to:
which worked. Ah, if I strip out the two unsupported streams:
ahoy mateys, were in business! |
the --select-streams option of mp4-dash-encode.py should allow you to ignore the data streams in your input video. |
So I was able to successfully try out a fragmented mp4 with 2 DASH clients. I produced the fragmented and segmented mp4 with mp4fragment and mp4-dash.py. This produced numerous .m4f files. For the adaptive part of adaptive bitrate streaming, I was wondering if there were any built in tools for performing the transcoding? Should the original source be transcoded into multiple transcodings first, then segmented, or segmented into multiple files then each transcoded? I'm more than happy to use ffmpeg, but I was just curious what the suggestion was.
The text was updated successfully, but these errors were encountered: