We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ddfdce commit 226b2eaCopy full SHA for 226b2ea
mkchromecast/__init__.py
@@ -139,7 +139,11 @@
139
Set a ffmpeg or avconv command for streaming video.
140
141
Example:
142
- python mkchromecast.py --video --command 'ffmpeg -f video4linux2 -i /dev/video0 -f ogg pipe:1'
+ 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'
147
148
Note that for the output you have to use pipe:1 to stream. This option only
149
works for the ffmpeg, avconv backends.
0 commit comments