Open Romantic-LiXuefeng opened 5 years ago
In my user case, we don't need to output DASH. Just need to output HLS with TS, so hope to support to configure the output container format.
You can configure in pipeline config:
# Manifest format (dash, hls or both)
manifest_format:
- dash
- hls
https://github.com/google/shaka-streamer/blob/master/config_files/pipeline_vod_config.yaml
To clear that, just need to output HLS with TS container, now the pipeline config default support to output with m4s.
@Romantic-LiXuefeng Thanks for bringing this up, we don't have support for configuring container yet (we only do mp4 now, as you've noticed).
Having this is a great idea, though, so I'm tagging this as an enhancement, and we'll work on it.
If you're interested in mp4/HLS in the meantime, @Angels-group's advice is spot on, just set the manifest_format field to hls and we'll do it.
Until we offer a configuration for this, you can check out the source code and change "mp4" to "ts" in both get_output_format
methods in streamer/bitrate_config.py
. That should allow to you test your workflow in the mean time.
In my user case, we don't need to output DASH. Just need to output HLS with TS, so hope to support to configure the output container format.