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
6230a956
Commit
6230a956
authored
Sep 18, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/muxers: itemize tee examples
Improve rendering.
parent
ea70e2f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
muxers.texi
doc/muxers.texi
+7
-3
No files found.
doc/muxers.texi
View file @
6230a956
...
@@ -878,15 +878,18 @@ specified by a stream specifier. If not specified, this defaults to
...
@@ -878,15 +878,18 @@ specified by a stream specifier. If not specified, this defaults to
all the input streams.
all the input streams.
@end table
@end table
Example: encode something and both archive it in a WebM file and stream it
Some examples follow.
@itemize
@item
Encode something and both archive it in a WebM file and stream it
as MPEG-TS over UDP (the streams need to be explicitly mapped):
as MPEG-TS over UDP (the streams need to be explicitly mapped):
@example
@example
ffmpeg -i ... -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a
ffmpeg -i ... -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a
"archive-20121107.mkv|[f=mpegts]udp://10.0.1.255:1234/"
"archive-20121107.mkv|[f=mpegts]udp://10.0.1.255:1234/"
@end example
@end example
Example: use @command{ffmpeg} to encode the input, and send the output
@item
Use @command{ffmpeg} to encode the input, and send the output
to three different destinations. The @code{dump_extra} bitstream
to three different destinations. The @code{dump_extra} bitstream
filter is used to add extradata information to all the output video
filter is used to add extradata information to all the output video
keyframes packets, as requested by the MPEG-TS format. The select
keyframes packets, as requested by the MPEG-TS format. The select
...
@@ -896,6 +899,7 @@ audio packets.
...
@@ -896,6 +899,7 @@ audio packets.
ffmpeg -i ... -map 0 -flags +global_header -c:v libx264 -c:a aac -strict experimental
ffmpeg -i ... -map 0 -flags +global_header -c:v libx264 -c:a aac -strict experimental
-f tee "[bsfs/v=dump_extra]out.ts|[movflags=+faststart]out.mp4|[select=a]out.aac"
-f tee "[bsfs/v=dump_extra]out.ts|[movflags=+faststart]out.mp4|[select=a]out.aac"
@end example
@end example
@end itemize
Note: some codecs may need different options depending on the output format;
Note: some codecs may need different options depending on the output format;
the auto-detection of this can not work with the tee muxer. The main example
the auto-detection of this can not work with the tee muxer. The main example
...
...
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