Hallo
ich bräuchte Hilfe sonst verwerde ich ganz langsam irre !!!!
Auf meinem PC ist ffmpeg und avconv installiert
USB webcam angeschlossen Test mit fswebcam und avconv bilder zu erzeugen funktioniert
Wie bekomme ich es jetzt hin ein Livestream über ffmpeg oder avconv
* auf meinem Raspi schiebe ich das per raspistill zu ffmepg
1 | raspivid -n -o - -vs -ex auto -awb auto -t 0 -a 12 -ae 20,0x00,0x8080FF -a "Frondside" -e -fps 25 -w 1280 -h 720 -b 2000000 | ffmpeg -thread_queue_size 1024 -threads 0 -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -metadata title="Raspicam" -f flv $RTMP_URL/$STREAM_KEY |
das funktioniert 100%
aber bei Ubuntu /Debian finde ich keine lösung Beispiel
1 | ffmpeg -s 640x420 -re -i plughw:1.1 -f alsa -i default -ab 96k -ac 2 -vcodec libx264 -acodec libmp3lame -ar 44100 -pix_fmt yuv420p -threads 0 -s 640x480 -g 50 -strict experimental -f flv $RTMP_URL/$STREAM_KEY |
das mein letztes scripte
1 | avconv -f video4linux2 -r 25 -i /dev/video0 -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec mpeg4 -acodec aac -ab 96k -pix_fmt yuv420p -g 50 -strict experimental -f flv $RTMP_URL/$STREAM_KEY |
hat jemand irgendeine IDEE?
danke
Bearbeitet von rklm:
Codeblöcke. Bitte beachte Forum/Syntax!