-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an easy way to multicast videos #19
Comments
Hi Laércio, in the past we've done some tests with multicasting, but we couldn't find any reliable ways to do it, that would nicely fall back to single casting when multicasting is unavailable, e.g. over wifi or remote connections. How are you implementing it? Is it completely stable in your use case? Launchpad Details: #LPC Fotis Tsamis - 2015-10-16 04:22:56 +0000 |
Hi Fotis, this is my procedure for multicasting videos using VLC:
Replace with any of the following: a) No live transcoding, no local playback b) No live transcoding, local playback c) Live transcoding, no local playback d) Live transcoding, local playback It works pretty fine for local files, but for some Youtube streams I need to enable live transcoding, which may slow down the multicast if original video resolution is high (720p and higher). With these options, I can only multicast a single video. I still can't make it multicast an entire playlist. Launchpad Details: #LPC Laércio de Sousa - 2015-10-16 16:30:43 +0000 |
Synthesizing all options above in a server-side script, I've got the following: #!/bin/sh ADDRESS=239.255.100.100 MULTICAST_BASE="rtp{dst=${ADDRESS},port=${PORT},mux=ts}" ENABLE_LIVE_TRANSCODING=false if ${ENABLE_LOCAL_PLAYBACK} if ${ENABLE_LIVE_TRANSCODING} vlc ${1} ":file-caching=300" ":sout=#${LIVE_TRANSCODING}${MUSTICAST}" ":sout-keep" Launchpad Details: #LPC Laércio de Sousa - 2015-10-16 16:54:00 +0000 |
I've found some errors in the script above. The following one is functional: #!/bin/sh ADDRESS=239.255.100.100 ENABLE_LIVE_TRANSCODING=${ENABLE_LIVE_TRANSCODING:-false} MULTICAST_BASE="rtp{dst=${ADDRESS},port=${PORT},mux=ts}" if ${ENABLE_LOCAL_PLAYBACK} if ${ENABLE_LIVE_TRANSCODING} vlc ${MRL} ":file-caching=300" ":sout=#${LIVE_TRANSCODING}${MULTICAST}" ":sout-keep" Launchpad Details: #LPC Laércio de Sousa - 2015-10-16 17:30:17 +0000 |
Some things, like this one, aren't reliable enough to put in upstream code, because we wouldn't be able to support them adequately. |
One task I do a lot in my lab is video multicast using VLC, but the manual setup for multicast always take me some time. I wonder if Epoptes could provide an easy way to provide such a fature (e.g. an interface to VLC to automate multicast configuration).
Launchpad Details: #LP1504547 Laércio de Sousa - 2015-10-09 13:21:54 +0000
The text was updated successfully, but these errors were encountered: