VLM, VOD & DVB-S

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
gael
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Apr 2007 11:48

VLM, VOD & DVB-S

Postby gael » 15 Apr 2007 12:19

Hi,

I try to create a VOD based on DVB-S streams.
I managed to broadcast DVB-S stream with this configuration :
test1.vlm :

Code: Select all

new France5 broadcast enabled setup France5 input "dvb:" setup France5 option dvb-frequency=11591000 setup France5 option dvb-srate=20000000 setup France5 option program=260 setup France5 option ts-es-id-pid setup France5 option sout-standard-mux=ts setup France5 option sout-standard-access=udp setup France5 output #std{dst=192.168.1.2:1234,select="program=260"}
NB: 192.168.1.2 is the client IP
VLC command line :

Code: Select all

vlc -vv --color -I telnet --vlm-conf test1.vlm
throught Telnet, I can play this channel

Now, here my VOD configuration (which doesn't work :( )

test3.vlm :

Code: Select all

new France4 vod enabled setup France4 input "dvb:" setup France4 option dvb-srate=20000000 setup France4 option ts-es-id-pid setup France4 option dvb-frequency=11591000 setup France4 option programs=257 setup France4 option sout-standard-mux=ts
VLC command line :

Code: Select all

vlc -vv --color -I telnet --rtsp-host 0.0.0.0:5554 --vlm-conf test3.vlm
1- there isn't port 5554 binding with NETSTAT -na
2- vlc try to play the DVB stream without demand :shock:

I get to many messages error :

Code: Select all

[00000311] [Média: France4] dvb access debug: trying to tune the frontend... [00000311] [Média: France4] dvb access debug: frequency 11954000 is in Ku-band [00000311] [Média: France4] dvb access debug: using inversion=2 [00000311] [Média: France4] dvb access debug: using fec=9 [00000311] [Média: France4] dvb access debug: using voltage=13 [00000311] [Média: France4] dvb access debug: using tone=1 [00000311] [Média: France4] dvb access debug: Opening device /dev/dvb/adapter0/dvr0 [00000311] [Média: France4] dvb access debug: setting filter on PAT [00000311] [Média: France4] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [00000311] [Média: France4] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0 [00000311] [Média: France4] dvb access debug: Opening device /dev/dvb/adapter0/ca0 [00000311] [Média: France4] dvb access warning: CAMInit: opening CAM device failed (Aucun fichier ou r?pertoire de ce type) [00000311] [Média: France4] main access debug: using access2 module "dvb" [00000313] [Média: France4] main private debug: pre buffering [00000311] [Média: France4] dvb access debug: frontend has acquired signal [00000311] [Média: France4] dvb access warning: no lock, tuning again [00000311] [Média: France4] dvb access debug: using inversion=2 [00000311] [Média: France4] dvb access debug: using fec=9 [00000311] [Média: France4] dvb access debug: using voltage=13 [00000311] [Média: France4] dvb access debug: using tone=1
I would to know if it is possible to use a DVB stream instead of a video file in VOD mode.

If it isn't possible, I can use a program which send signal to telnet server in order to activate/desactivate broadcast flow.

Info:
VLC media player 0.8.6a Janus on Debian


Thanks for help.

gael
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Apr 2007 11:48

Postby gael » 15 Apr 2007 14:10

I did another test : I decided to stream a AVI movie and it worked:
my VLM config file :

Code: Select all

new France4 vod enabled setup France4 input "/mnt/divers/partage/test.avi"
VLC command line :

Code: Select all

vlc -vv --color -I telnet --rtsp-host 0.0.0.0:5554 --vlm-conf test4.vlm
maybe I did a mistake in the syntax of VLM config for DVB streaming.

gael
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Apr 2007 11:48

Postby gael » 15 Apr 2007 14:45

as I thought, it was a mistake in the syntax :
I used this vlm config viewtopic.php?t=22247 although he had a DVB-T device

vlm config :)

Code: Select all

new France4 vod enabled setup France4 input "dvb/ts:frequency=11591000:srate=20000000" setup France4 option :program=259

The question : why the syntax between Broadcast mode and VOD mode changes ?
Last edited by gael on 17 Apr 2007 21:41, edited 1 time in total.

gael
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Apr 2007 11:48

Postby gael » 15 Apr 2007 14:58

Conclusion :

How to configure VLC for VOD & DVB-S

myconfig.vlm

Code: Select all

new France4 vod enabled setup France4 input "dvb/ts:frequency=11591000:srate=20000000" setup France4 option :program=259 new France5 vod enabled setup France5 input "dvb/ts:frequency=11591000:srate=20000000" setup France5 option :program=260 new France2 vod enabled setup France2 input "dvb/ts:frequency=11591000:srate=20000000" setup France2 option :program=257
VLC server :

Code: Select all

vlc -vv --color -I telnet --rtsp-host 0.0.0.0:5554 --vlm-conf myconfig.vlm
VLC client :

Code: Select all

vlc rtsp://<server address>:<port>/<channel>
example:

Code: Select all

vlc rtsp://192.168.1.2:5554/France2

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

Postby dionoea » 15 Apr 2007 22:09

Nice to see that you made it on your own :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

gael
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Apr 2007 11:48

Postby gael » 15 Apr 2007 23:09

Thanks :) , I spend a lot of time trying to configure :
- my DVB board (Hauppauge WinTV-NOVA-S-Plus) under linux (I forgot to load the DVB frontend module cx88_dvb)
- a solution to stream TV (VDR doesn't work for me -> VLC)

Perhaps, I will write a tutorial which describe the WinTV-NOVA's installation and vlc configuration.

hellbound
Blank Cone
Blank Cone
Posts: 19
Joined: 07 Sep 2006 18:38

Postby hellbound » 23 Apr 2007 19:36

Thanks :) , I spend a lot of time trying to configure :
- my DVB board (Hauppauge WinTV-NOVA-S-Plus) under linux (I forgot to load the DVB frontend module cx88_dvb)
- a solution to stream TV (VDR doesn't work for me -> VLC)

Perhaps, I will write a tutorial which describe the WinTV-NOVA's installation and vlc configuration.
Hi,
Doesn't the latest Kernel support ?
I have the same setup, can you tell me how did you configure?
and some problems in broadcasting too many channels at once.

thanks

gael
Blank Cone
Blank Cone
Posts: 10
Joined: 15 Apr 2007 11:48

Postby gael » 23 Apr 2007 19:57

I compiled a 2.6.20 kernel

modules :

Code: Select all

lsmod | grep dvb cx88_dvb 13508 0 cx88_vp3054_i2c 5760 1 cx88_dvb mt352 7492 1 cx88_dvb dvb_pll 16388 1 cx88_dvb video_buf_dvb 7364 1 cx88_dvb dvb_core 82736 1 video_buf_dvb isl6421 2816 1 cx88_dvb zl10353 6404 1 cx88_dvb cx24123 13192 1 cx88_dvb cx22702 7108 1 cx88_dvb cx8802 19396 1 cx88_dvb cx88xx 71268 4 cx88_dvb,cx88_alsa,cx8802,cx8800 video_buf 26884 6 cx88_dvb,video_buf_dvb,cx88_alsa,cx8802,cx8800,cx88xx i2c_core 24280 15 cx88_dvb,cx88_vp3054_i2c,mt352,dvb_pll,isl6421,zl10353,cx24123,cx22702,eeprom,it87,i2c_isa,cx88xx,i2c_algo_bit,tveeprom,i2c_viapro
Before you compile a kernel, verify if there isn't a cx88xx module in your distribution (check in /lib/modules/<kernel>/drivers/media/dvb/ ).

gaurav
New Cone
New Cone
Posts: 2
Joined: 31 Aug 2007 13:23

video on demand streaming(problem plz help me)

Postby gaurav » 01 Sep 2007 09:30

hiiiii
I m problem in video in demand streaming I have some code but this is not worked


vlc --vlm-conf vodtest.vlm --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 192.168.1.40:554

new vid1 vod enabled
setup vid1 input c:\supman17.mpg
control vid1 play


vlc rtsp://192.168.1.40:5554/vid1

I m follow these step

1} I m making the file:vodtest.vlm
new vid1 vod enabled
setup vid1 input c:\supman17.mpg
control vid1 play

2) c:\programfiles\videolan\lan> vlc --vlm-conf vodtest.vlm --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 192.168.1.40:5554

3) vlc rtsp://192.168.1.40:5554/vid1

but this not worked

plz help me give me the stap wise step doing the on demand video streaming
plz mail me my email id (gaurav_mys@yahoo.co.in)

G.Maheshwari

newtek
New Cone
New Cone
Posts: 1
Joined: 10 Sep 2009 10:21

Re: VLM, VOD & DVB-S

Postby newtek » 10 Sep 2009 10:36

Hi

Thank you for your post it help me a lot
But it work one time for me.
After a lot of search on google I don't find any good reply for

Code: Select all

Média: test] ts demuxer warning: invalid header [0xc8:2c:2d:1f] (pid: 172)
Many line like this output from vlc

I try to reinstall retest eg...

So I test to setup the vod with the telnet interface

The first line

Code: Select all

new test vod enabled
ok

but with the second line

Code: Select all

setup test input "dvb/ts:frequency=11551000:srate=30000000
Vlc output many of "ts demuxer warning: invalid header" and I have nothing on port 554

so I del all the setup and change like this

Code: Select all

new test vod enabled setup test option :program=8098 setup test input "dvb/ts:frequency=11551000:srate=30000000"
It work perfect like this, it take the program firt.and tune the dvb

Config:

Debian Lenny
VLC media player 0.8.6h Janus
Sky2PC/SkyStar 2 DVB-S
Sat NSS-7 with Canal Horizon
Program 8098 is Africa24 freeTV

Now I can setup two freetv direct8 and africa24 on the same frequency and diffuse by VOD

Hope it help

Thank you

Bye

fastforward
New Cone
New Cone
Posts: 4
Joined: 29 Oct 2009 12:35

Re: VLM, VOD & DVB-S

Postby fastforward » 31 Oct 2009 09:52

Hello.
I am new for this forum. May I know the meaning of VLM, VOD, DVB-S. Are they related with VLC media player or different things.
R4


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 3 guests