Skip to content

Commit 226b2ea

Browse files
committed
Changed help about --command flag.
1 parent 6ddfdce commit 226b2ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mkchromecast/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,11 @@
139139
Set a ffmpeg or avconv command for streaming video.
140140
141141
Example:
142-
python mkchromecast.py --video --command 'ffmpeg -f video4linux2 -i /dev/video0 -f ogg pipe:1'
142+
python3 mkchromecast.py --video --command 'ffmpeg -re -i \
143+
/path/to/myvideo.mp4 -map_chapters -1 -vcodec libx264 -preset ultrafast \
144+
-tune zerolatency -maxrate 10000k -bufsize 20000k -pix_fmt yuv420p -g \
145+
60 -f mp4 -max_muxing_queue_size 9999 -movflags \
146+
frag_keyframe+empty_moov pipe:1'
143147
144148
Note that for the output you have to use pipe:1 to stream. This option only
145149
works for the ffmpeg, avconv backends.

0 commit comments

Comments
 (0)