Hallo,
ich würde gerne meinen vServer zum Streamen von gespeicherten Content zu Twitch verwenden...am besten sogar mit einer Playlist....einzelne Files wären auch schonmal sehr gut^^
Ich weiß nicht ob es für sowas Software gibt, aber ich habe es mit Bordmitteln und einen Skript probiert...funktioniert leider nicht...
Kommt immer ein Fehler:
[alsa @ 0xdaf740] cannot open audio device pulse (No such file or directory) pulse: Input/output error
Kann damit nichts anfangen...
Skript:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #! /bin/bash # originaly from http://tinyurl.com/twitch-linux from taladan # www.youtube.com/user/taladan # gist created by brodul INRES="1366x768" # input resolution #OUTRES="1024x640" # Output resolution OUTRES="1024x640" # Output resolution FPS="30" # target FPS QUAL="medium" # one of the many FFMPEG preset on (k)ubuntu found in /usr/share/ffmpeg # If you have low bandwidth, put the qual preset on 'fast' (upload bandwidth) # If you have medium bandwitch put it on normal to medium # Write your key in a file named .twitch_key in your home directory STREAM_KEY=$(cat .twitch_key) # This is your streamkey generated by jtv/twitch found at: http://www.justin.tv/broadcast/adv_other avconv \ 2015-08-31_11-21-38.mp4 -s $INRES -r "$FPS" \ -f alsa -ac 2 -i pulse \ -vcodec libx264 -s $OUTRES -preset $QUAL \ -acodec libmp3lame -ar 44100 -threads 2 -qscale 3 -b 2000000 -bufsize 512k \ -f flv "rtmp://live.justin.tv/app/$STREAM_KEY" |
Hoffe hier kann mir jemand weiterhelfen ☺
Grüße,
David