← Back to team overview

epoptes team mailing list archive

[Bug 1504547] Re: Provide an easy way to multicast videos

 

Synthesizing all options above in a server-side script, I've got the
following:

#!/bin/sh

ADDRESS=239.255.100.100
PORT=5004

MULTICAST_BASE="rtp{dst=${ADDRESS},port=${PORT},mux=ts}"
MULTICAST_LOCAL_PLAYBACK="duplicate{dst=${MULTICAST_BASE},dst=display}"

ENABLE_LIVE_TRANSCODING=false
ENABLE_LOCAL_PLAYBACK=false

if ${ENABLE_LOCAL_PLAYBACK}
then
  MULTICAST="${MULTICAST_LOCAL_PLAYBACK}"
else
  MULTICAST="${MULTICAST_BASE}"
fi

if ${ENABLE_LIVE_TRANSCODING}
then
  LIVE_TRANSCODING="transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:"
else
  LIVE_TRANSCODING=
fi

vlc ${1} ":file-caching=300" ":sout=#${LIVE_TRANSCODING}${MUSTICAST}"
":sout-keep"

-- 
You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to Epoptes.
https://bugs.launchpad.net/bugs/1504547

Title:
  Provide an easy way to multicast videos

Status in Epoptes:
  New

Bug description:
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/epoptes/+bug/1504547/+subscriptions


References