Skip to content

Commit

Permalink
youtube RTMPS
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 8, 2025
1 parent 566a2cc commit 8ed07e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Other projects using FFmpeg from Python include:

## Install

Requires FFmpeg ≥ 3.0 (≥ 4.2 for Facebook Live RTMPS)
Requires FFmpeg ≥ 4.2 for RTMPS as required or recommended by Facebook Live, YouTube Live, etc.

Latest release:

Expand Down
2 changes: 1 addition & 1 deletion reference/screenshare2youtubelive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ffmpeg \
-c:v libx264 -pix_fmt yuv420p -preset veryfast -g 20 -b:v 2500k \
-c:a aac -ar 44100 \
-threads 0 -bufsize 512k \
-f flv rtmp://a.rtmp.youtube.com/live2/$YOURSTREAM &> stream.log
-f flv rtmps://a.rtmp.youtube.com/live2/$YOURSTREAM &> stream.log
2 changes: 1 addition & 1 deletion reference/webcam2youtubelive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ ffmpeg \
-c:v libx264 -pix_fmt yuv420p -preset veryfast -g 20 -b:v 2500k \
-c:a aac -ar 44100 \
-threads 0 -bufsize 512k \
-f flv rtmp://a.rtmp.youtube.com/live2/$YOURSTREAM &> stream.log
-f flv rtmps://a.rtmps.youtube.com/live2/$YOURSTREAM &> stream.log

0 comments on commit 8ed07e6

Please sign in to comment.