I still need to test it properly, but I think it is very much possible to use ffmpeg to stream to tunemelt (a video CDN) directly. We can stream ffmpegs DirectShow input to the Tunemelt RTMP.
Update: Apparently even though Tunemelt accepts the stream, it is not properly linked to the Stream Name. I suspect the problem lays in the unconventional way of authenticating, where user/pass have to be entered in the path. I’m not sure if there’s any way around this…
In order to do so, the first step is to find the device name of the webcam and sound input. Do this by typing the following command:
ffmpeg -list_devices true -f dshow -i dummy
Example output is:
In my case, we need the “General Image Devic” and “Line In (2- IDT High Definition”.
Use the following command to start streaming this device to tunemelt (-r for frame rate of 30, if necessary, specify the proper output resolution of -s 1280×720).
ffmpeg -f dshow -i video=”General Image Devic”:audio=”Line In (2- IDT High Definition” -c:v libx264 -r 30 -f flv rtmp://live.tunemelt.tv/stream/live/[email:password]/[stream-name]
For added bonuspoints integrate a logo overlay. Use a png with transparency and use the -vf overlay command.
ffmpeg -f dshow -i video=”General Image Devic”:audio=”Line In (2- IDT High Definition” -vf “movie=logo1.png,scale=120:120 [watermark]; [in][watermark] overlay=10:10 [out]” -c:v libx264 -preset ultrafast -r 30 -f flv rtmp://live.tunemelt.tv/stream/live/[email:password]/[stream-name]
The end result is a nice video stream with logo overlay sent directly to Tunemelt.
In the beginning of this year I switched careers. I quit my job as assistant…
Artificial Intelligence (AI) is everywhere. When you use the internet or computers in general you…
I’m not too embarrassed to admit that I just finished a 16-session therapy with a…
Introduction Recently I’ve said farewell to my academic career and switched back to industry. While…
Disclaimer: I am as good as a surfer as I am experienced a professional. I…
Q-Park is probably the biggest owner of parking garages in the Netherlands. Based in Maastricht,…
View Comments