mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2026-04-05 04:41:01 +00:00
Add an example command for using trick play.
Change-Id: Ibf1f455355f72f703e7732833a7a11d99874ce31
This commit is contained in:
@@ -44,7 +44,23 @@ applied to VP9 in the same way.
|
||||
--mpd_output h264.mpd
|
||||
|
||||
The above packaging command creates five single track fragmented mp4 streams
|
||||
(4 video, 1 audio) and a manifest, which describes the streams.
|
||||
(4 video, 1 audio), a subtitle file and a manifest, which describes the streams.
|
||||
|
||||
* on-demand with trick-play tracks::
|
||||
|
||||
$ packager \
|
||||
in=h264_baseline_360p_600.mp4,stream=audio,output=audio.mp4 \
|
||||
in=input_text.vtt,stream=text,output=output_text.vtt \
|
||||
in=h264_baseline_360p_600.mp4,stream=video,output=h264_360p.mp4 \
|
||||
in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4 \
|
||||
in=h264_main_720p_3000.mp4,stream=video,output=h264_720p.mp4 \
|
||||
in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4 \
|
||||
in=h264_main_480p_1000.mp4,stream=video,output=h264_480p.mp4,trick_play_factor=1 \
|
||||
in=h264_high_1080p_6000.mp4,stream=video,output=h264_1080p.mp4,trick_play_factor=1 \
|
||||
--mpd_output h264.mpd
|
||||
|
||||
The above packaging command creates two extra trick play tracks, besides the files
|
||||
genereated with the previous command.
|
||||
|
||||
* static-live::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user