changing input

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
tlegras
New Cone
New Cone
Posts: 9
Joined: 18 Mar 2008 18:36

changing input

Postby tlegras » 31 Mar 2008 10:18

Hi,

Is there any mean to change the media input or to clear a media input list?
More precisely what I would like to do is:

Code: Select all

setup media1 input udp://@:8000
then at some time changing the input:

Code: Select all

setup media1 input udp://@:8001
And i would like that the new input replace the old one, and not added in input list.
There is probably a simple solution unfortunately i could not find any solution :(

Thanks for any help
Thierry.

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: changing input

Postby yohann.martineau » 31 Mar 2008 17:15

the simplest solution is probably to destroy your current vod, create a new one and to setup your new input, but I think this answer won't satisfy your needs.

maybe this tread could help:

viewtopic.php?f=11&t=45261#p142920

tlegras
New Cone
New Cone
Posts: 9
Joined: 18 Mar 2008 18:36

Re: changing input

Postby tlegras » 01 Apr 2008 09:00

the simplest solution is probably to destroy your current vod, create a new one and to setup your new input
Yes, it is the best workaround i could find.
maybe this tread could help
I know this thread... ;)

Thanks for your help.

Thierry.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: changing input

Postby dionoea » 22 Apr 2008 15:45

I'm sure that you could come up with an ugly hack using the mosaic framework :)

This is what I'm thinking about:

Code: Select all

new stream broadcast enabled setup stream input fake: setup stream ouput #bridge-in:gather:std{...} new input1 broadcast enabled setup input1 input udp://@8000 setup input1 output #bridge-out new input2 broadcast enabled setup input2 input udp://@8001 setup input2 output #bridge-out control input1 play control stream play #And when you want to switch the input: control input1 stop control input2 play
Of course I haven't tested this at all :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 4 guests