Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0e702124
Commit
0e702124
authored
Oct 13, 2017
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Provide better examples for hls and segment muxing
Some encoders do not output further IDRs if not requested to.
parent
9dc79b29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
muxers.texi
doc/muxers.texi
+8
-2
No files found.
doc/muxers.texi
View file @
0e702124
...
...
@@ -163,8 +163,11 @@ filename specifies the playlist filename; the segment filenames
receive the same basename as the playlist, a sequential number and
a .ts extension.
Make sure to require a closed GOP when encoding and to set the GOP
size to fit your segment time constraint.
@example
avconv -i in.
nut
out.m3u8
avconv -i in.
mkv -c:v h264 -flags +cgop -g 30 -hls_time 1
out.m3u8
@end example
@table @option
...
...
@@ -625,8 +628,11 @@ Prepend @var{prefix} to each entry. Useful to generate absolute paths.
Wrap around segment index once it reaches @var{limit}.
@end table
Make sure to require a closed GOP when encoding and to set the GOP
size to fit your segment time constraint.
@example
avconv -i in.mkv -c
copy
-map 0 -f segment -list out.list out%03d.nut
avconv -i in.mkv -c
hevc -flags +cgop -g 60
-map 0 -f segment -list out.list out%03d.nut
@end example
@c man end MUXERS
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment