Comments on Streaming Your Desktop With Audio And Webcam Overlay In A Browser Using ffmpeg, crtmpserver And Flowplayer
Streaming Your Desktop With Audio And Webcam Overlay In A Browser Using ffmpeg, crtmpserver And Flowplayer This tutorial is based on Ubuntu Lucid, but will work on later releases as well with small changes. I will show how I stream my desktop with audio from pulse and webcam from video4linux2. I will also show how to configure crtmpserver and flowplayer so you can watch the live stream from a web browser. In this scenario I use separate host for the tools. Flowplayer is installed on a server running Apache, crtmp server is on a separate server and ffmpeg is installed on the streaming desktop.
3 Comment(s)
Comments
I found your tutorial really intresting and useful! Do you think that it could work also in windows?
How could i select windows webcam?
I tried with this line:
-vf "movie=Integrated Webcam:f=dshow, scale=240:-1, fps, setpts=PTS-STARTPTS [movie]; [in][movie] overlay=main_w-overlay_w-2:main_h-overlay_h-2 [out]"
Unfortunately it always says:
[movie @ 01E9C3A0] Key 'Integrated Webcam:f' not found.
[movie @ 01E0ECC0] Error parsing options string: 'Integrated Webcam:f=dshow'
Error initializing filter 'movie' with args 'video:Integrated Webcam:f=dshow'
Error opening filters!
Do you have any idea?
Thanks and regards,
MistNick
Every time I try to run this it fails with the following line.
~/Videos/streamtest.flv: No such file or directory
I understand it's not there, it should be created upon running the conversion. This is the output file, the very last argument in the command.Hi! This is great. The best description of how to manage a screen capture and web cam capture at the same time with ffmpeg.This saved me a lot of tweaking. Have not tried it yet though.Is it correct that you could remove: -f flv - | tee name.flv | ffmpeg -i - -codec copy -f flv -metadata streamName=livestream tcp://x.x.y.y:1234 And use a output file instead like: capture.avi or capture.mkv? Which container do you recommend or does it even matter if it is .mkv or .avi?