mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 03:23:40 -05:00
try higher quality 1080p instead of 1440p
This commit is contained in:
parent
ee467d2565
commit
7df3bde506
1 changed files with 3 additions and 3 deletions
|
|
@ -9,14 +9,14 @@ pacmd update-sink-proplist VirtSink device.description=VirtSink
|
|||
export CHROMIUM_FLAGS="--disable-software-rasterizer --disable-dev-shm-usage"
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
|
||||
bash -c "sleep 5 && DISPLAY=:99 ffmpeg -f x11grab -r 30 -s 2560x1440 -draw_mouse 0 -i :99.0 -f pulse -ac 2 -i default -vcodec libx264 -preset faster -b:v 15000k -framerate 30 -g 2 -pix_fmt yuv420p -acodec aac -f flv rtmp://x.rtmp.youtube.com/live2/$(cat /home/stream/key.txt)" &
|
||||
bash -c "sleep 5 && DISPLAY=:99 ffmpeg -f x11grab -r 60 -s 1920x1080 -draw_mouse 0 -i :99.0 -f pulse -ac 2 -i default -vcodec libx264 -preset medium -b:v 7000k -framerate 60 -g 2 -pix_fmt yuv420p -acodec aac -f flv rtmp://x.rtmp.youtube.com/live2/$(cat /home/stream/key.txt)" &
|
||||
|
||||
DISPLAY=:99 xvfb-run \
|
||||
--server-num 99 \
|
||||
-s "-nocursor -ac -screen 0 2560x1440x24" \
|
||||
-s "-nocursor -ac -screen 0 1920x1080x24" \
|
||||
dbus-launch chromium \
|
||||
--temp-profile \
|
||||
--window-size=2560,1440 \
|
||||
--window-size=1920,1080 \
|
||||
--disable-gpu \
|
||||
--window-position=0,0 \
|
||||
--hide-scrollbars \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue