DVB-S streaming with videolan server

Jean-Paul Saman saman at natlab.research.philips.com
Thu Feb 21 18:23:58 CET 2002


Damien Lucas wrote:
> On Fri, Feb 08, 2002, Jean-Paul Saman wrote:
> 
>>Satellite Input
>>> The code is not really "merged" with the vls but there is a patch that works
> well.
> 
> You would find all the code and the information you need at:
> http://www.videolan.org/vls/sat/
> 
Using DVBset and vls-0.3.0 with the patch.
Also using DVB-0.9.3. Started ./DVBset in one session, launched vls in 
another and did telnet localhost 9999 to server.

> If you try it, please tell us if it works. And if it doesn't we would be
> interessed in knowing about the troubles you got.
> 
> 
Here come the troubles ;-)

I used the patch for vls-0.3.0 and did the nescessary modifications to 
stream either VIVA or CNN (free to air channels). The stream gets 
started alright and I even can see the load on my ethernet card go up to 
about 4-5 Mb/s.

The telnet session report this.

 > start live2 samantv live
Provider: Manager
Status: 0

   Provider: live
   Status: 0
   Info: Program live2 started

Program started streaming I assume and used this trick in input.cfg
BEGIN "Input"
#  FilesPath    = "/home/saman/tsrecording"
   FilesPath     = "/dev/ost"
   PgrmCount     = "1"
END

#BEGIN "1"
#  Name = "live1"
#  Device = "/dev/ost/dvr" << did not work !!!
#  Type = "Mpeg2-TS"
#END

BEGIN "1"
   Name = "live2"
   FileName = "dvr"
   Type = "Mpeg2-TS"
END

Snipping of vls output

User "bozo" successfully authentificated
2002-02-21 17:08:25 [DEBUG/Vls]  In src/server/manager.cpp line 452 -> 
Manager locked
2002-02-21 17:08:25 [DEBUG/live]  In src/server/input.cpp line 194 -> 
Starting reception of pgrm live2
2002-02-21 17:08:27 [DEBUG/live]  In converter.cpp line 244 -> Starting 
to read program "live2"
2002-02-21 17:08:27 [DEBUG/Vls]  In src/server/manager.cpp line 495 -> 
Manager unlocked

So I figure I most be streaming something.

The bad part is that vlc is not able to show the stream. Here is some 
part of the complete vlc error.txt
VideoLAN Client - version 0.2.92-dev_2002-02-21 Ourumov - (c) 1996-2002 
VideoLAN

intf: playlist initialized
intf: added `udpstream://130.145.195.89@0:1234' to playlist
module: checking built-in modules
module: new builtin module `mpeg_es', ISO 13818-1 MPEG Elementary Stream 
input
module: new builtin module `mpeg_ps', ISO 13818-1 MPEG Program Stream input
module: new builtin module `mpeg_ts', ISO 13818-1 MPEG Transport Stream 
input
module: new builtin module `memcpy', libc memcpy module
module: new builtin module `idct', IDCT module
module: new builtin module `idctclassic', classic IDCT module
module: new builtin module `motion', motion compensation module
module: new builtin module `imdct', AC3 IMDCT module
module: new builtin module `downmix', AC3 downmix module
module: new builtin module `chroma_i420_rgb', I420/IYUV/YV12 to RGB 
8/15/16/24/32 conversions
module: new builtin module `chroma_i420_yuy2', conversions from 
I420/IYUV/YV12 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv/Y211
module: new builtin module `chroma_i422_yuy2', conversions from I422 to 
YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv/Y211
module: new builtin module `chroma_i420_ymga', conversions from 
I420/IYUV/YV12 to YMGA
module: new builtin module `mpeg_adec', Mpeg I layer 1/2 audio decoder
module: new builtin module `ac3_adec', software AC3 decoder
module: new builtin module `mpeg_vdec', MPEG I/II video decoder module
module: new builtin module `memcpymmx', MMX memcpy module
module: new builtin module `idctmmx', MMX IDCT module
module: new builtin module `motionmmx', MMX motion compensation module
module: new builtin module `chroma_i420_rgb_mmx', MMX I420/IYUV/YV12 to 
RGB 15/16/24/32 conversions
module: new builtin module `chroma_i420_yuy2_mmx', MMX conversions from 
I420/IYUV/YV12 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv
module: new builtin module `chroma_i422_yuy2_mmx', MMX conversions from 
I422 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv
module: new builtin module `chroma_i420_ymga_mmx', MMX conversions from 
I420/IYUV/YV12 to YMGA
module: new builtin module `memcpymmxext', MMX EXT memcpy module
module: new builtin module `idctmmxext', MMX EXT IDCT module
module: new builtin module `motionmmxext', MMXEXT motion compensation module
module: new builtin module `memcpy3dn', 3D Now! memcpy module
module: new builtin module `imdct3dn', 3D Now! AC3 IMDCT module
module: new builtin module `downmix3dn', 3D Now! AC3 downmix module
module: new builtin module `imdctsse', SSE AC3 IMDCT module
module: new builtin module `downmixsse', SSE AC3 downmix module
module: new builtin module `dvd', DVD input module, linked with libdvdcss
module: new builtin module `vcd', VCD input module
module: new builtin module `xvideo', XVideo extension module
module: checking plugin modules
module: browsing `.'
module: browsing `plugins'
module: new plugin module `lpcm_adec', Linear PCM audio decoder
module: new plugin module `ac3_spdif', SPDIF pass-through AC3 decoder
module: new plugin module `spudec', DVD subtitles decoder module
module: new plugin module `filter_deinterlace', deinterlacing module
module: new plugin module `filter_invert', invert video module
module: new plugin module `filter_wall', image wall video module
module: new plugin module `filter_transform', image transformation module
module: new plugin module `filter_distort', miscellaneous video effects 
module
module: new plugin module `dummy', dummy functions module
module: new plugin module `logger', file logging interface module
module: new plugin module `null', the Null module that does nothing
module: new plugin module `rc', remote control interface module
module: new plugin module `dsp', Linux OSS /dev/dsp module
module: new plugin module `gtk', Gtk+ interface module
module: new plugin module `x11', X11 module
module: browsing `/usr/lib/videolan/vlc'

.... snip ....

module: module bank initialized, found 49 modules
module: locking memcpy module `memcpymmxext'
module: locking interface module `gtk'
intf: interface initialized
intf: creating new input thread
input: playlist item `udpstream://130.145.195.89@0:1234'
module: locking input module `mpeg_ts'
input: server=130.145.195.89:0 local=0:1234
input warning: socket buffer size is 0x1fffe instead of 0x80000
input: successfully opened network mode
thread info: 1026 (input) has been created ((null):0)
intf: stream has changed, refreshing interface
input: duplicate packet received by TS demux
input: packet lost by TS demux: current 0, packet 8
input: selecting ES 0xa5
module: locking decoder module `mpeg_vdec'
module: locking motion module `motionmmxext'
module: locking iDCT module `idctmmxext'
thread info: 2051 (decoder) has been created ((null):0)
input: selecting ES 0x64
module: locking decoder module `mpeg_adec'
thread info: 3076 (decoder) has been created ((null):0)
intf: stream has changed, refreshing interface
input: packet lost by TS demux: current 6, packet 14
input: packet lost by TS demux: current 8, packet 12
input: packet lost by TS demux: current 2, packet 14
input: packet lost by TS demux: current 15, packet 2
input: packet lost by TS demux: current 6, packet 10
input: packet lost by TS demux: current 0, packet 8
input: packet lost by TS demux: current 14, packet 6
input: packet lost by TS demux: current 12, packet 11
input: packet lost by TS demux: current 0, packet 7
input: packet lost by TS demux: current 12, packet 15
input: packet lost by TS demux: current 4, packet 10
input: packet lost by TS demux: current 0, packet 8
input: packet lost by TS demux: current 14, packet 6
input: packet lost by TS demux: current 11, packet 14
input: packet lost by TS demux: current 2, packet 8
input: packet lost by TS demux: current 14, packet 12
input: packet lost by TS demux: current 6, packet 1
input: packet lost by TS demux: current 7, packet 14
input: packet lost by TS demux: current 4, packet 11
input: packet lost by TS demux: current 0, packet 4
input: packet lost by TS demux: current 9, packet 0
input: packet lost by TS demux: current 5, packet 4
input: packet lost by TS demux: current 10, packet 15

My question with what vlc version did you work?
Or am I streaming blanked out packets now?

Any ideas how I can continue?

Kind greetings,

Jean-Paul Saman

Software Architect

e-mail (work): saman at natlab.research.philips.com
phone  (work): 040 27 42909
------------------------------------------------------------
Ordina TA,
Science Park Eindhoven 5602, Postbus 293, 5600 AG Eindhoven
e-mail : jean-paul.saman at ordina.nl
phone  : 040 2601200
fax    : 040 2601199


-- Attached file included as plaintext by Listar --
-- File: error.txt

VideoLAN Client - version 0.2.92-dev_2002-02-21 Ourumov - (c) 1996-2002 VideoLAN

intf: playlist initialized
intf: added `udpstream://130.145.195.89@0:1234' to playlist
module: checking built-in modules
module: new builtin module `mpeg_es', ISO 13818-1 MPEG Elementary Stream input
module: new builtin module `mpeg_ps', ISO 13818-1 MPEG Program Stream input
module: new builtin module `mpeg_ts', ISO 13818-1 MPEG Transport Stream input
module: new builtin module `memcpy', libc memcpy module
module: new builtin module `idct', IDCT module
module: new builtin module `idctclassic', classic IDCT module
module: new builtin module `motion', motion compensation module
module: new builtin module `imdct', AC3 IMDCT module
module: new builtin module `downmix', AC3 downmix module
module: new builtin module `chroma_i420_rgb', I420/IYUV/YV12 to RGB 8/15/16/24/32 conversions
module: new builtin module `chroma_i420_yuy2', conversions from I420/IYUV/YV12 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv/Y211
module: new builtin module `chroma_i422_yuy2', conversions from I422 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv/Y211
module: new builtin module `chroma_i420_ymga', conversions from I420/IYUV/YV12 to YMGA
module: new builtin module `mpeg_adec', Mpeg I layer 1/2 audio decoder
module: new builtin module `ac3_adec', software AC3 decoder
module: new builtin module `mpeg_vdec', MPEG I/II video decoder module
module: new builtin module `memcpymmx', MMX memcpy module
module: new builtin module `idctmmx', MMX IDCT module
module: new builtin module `motionmmx', MMX motion compensation module
module: new builtin module `chroma_i420_rgb_mmx', MMX I420/IYUV/YV12 to RGB 15/16/24/32 conversions
module: new builtin module `chroma_i420_yuy2_mmx', MMX conversions from I420/IYUV/YV12 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv
module: new builtin module `chroma_i422_yuy2_mmx', MMX conversions from I422 to YUY2/YUNV/YVYU/UYVY/UYNV/Y422/IUYV/cyuv
module: new builtin module `chroma_i420_ymga_mmx', MMX conversions from I420/IYUV/YV12 to YMGA
module: new builtin module `memcpymmxext', MMX EXT memcpy module
module: new builtin module `idctmmxext', MMX EXT IDCT module
module: new builtin module `motionmmxext', MMXEXT motion compensation module
module: new builtin module `memcpy3dn', 3D Now! memcpy module
module: new builtin module `imdct3dn', 3D Now! AC3 IMDCT module
module: new builtin module `downmix3dn', 3D Now! AC3 downmix module
module: new builtin module `imdctsse', SSE AC3 IMDCT module
module: new builtin module `downmixsse', SSE AC3 downmix module
module: new builtin module `dvd', DVD input module, linked with libdvdcss
module: new builtin module `vcd', VCD input module
module: new builtin module `xvideo', XVideo extension module
module: checking plugin modules
module: browsing `.'
module: browsing `plugins'
module: new plugin module `lpcm_adec', Linear PCM audio decoder
module: new plugin module `ac3_spdif', SPDIF pass-through AC3 decoder
module: new plugin module `spudec', DVD subtitles decoder module
module: new plugin module `filter_deinterlace', deinterlacing module
module: new plugin module `filter_invert', invert video module
module: new plugin module `filter_wall', image wall video module
module: new plugin module `filter_transform', image transformation module
module: new plugin module `filter_distort', miscellaneous video effects module
module: new plugin module `dummy', dummy functions module
module: new plugin module `logger', file logging interface module
module: new plugin module `null', the Null module that does nothing
module: new plugin module `rc', remote control interface module
module: new plugin module `dsp', Linux OSS /dev/dsp module
module: new plugin module `gtk', Gtk+ interface module
module: new plugin module `x11', X11 module
module: browsing `/usr/lib/videolan/vlc'
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/gnome.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/dsp.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/esd.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/fb.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/sdl.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/x11.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/ncurses.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/gtk.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module warning: cannot find symbol InitModule__MODULE_0_2_92_dev_2002_02_21 in module /usr/lib/videolan/vlc/qt.so (./vlc: undefined symbol: InitModule__MODULE_0_2_92_dev_2002_02_21)
module: module bank initialized, found 49 modules
module: locking memcpy module `memcpymmxext'
module: locking interface module `gtk'
intf: interface initialized
intf: creating new input thread
input: playlist item `udpstream://130.145.195.89@0:1234'
module: locking input module `mpeg_ts'
input: server=130.145.195.89:0 local=0:1234
input warning: socket buffer size is 0x1fffe instead of 0x80000
input: successfully opened network mode
thread info: 1026 (input) has been created ((null):0)
intf: stream has changed, refreshing interface
input: duplicate packet received by TS demux
input: packet lost by TS demux: current 0, packet 8
input: selecting ES 0xa5
module: locking decoder module `mpeg_vdec'
module: locking motion module `motionmmxext'
module: locking iDCT module `idctmmxext'
thread info: 2051 (decoder) has been created ((null):0)
input: selecting ES 0x64
module: locking decoder module `mpeg_adec'
thread info: 3076 (decoder) has been created ((null):0)
intf: stream has changed, refreshing interface
input: packet lost by TS demux: current 6, packet 14
input: packet lost by TS demux: current 8, packet 12
input: packet lost by TS demux: current 2, packet 14
input: packet lost by TS demux: current 15, packet 2
input: packet lost by TS demux: current 6, packet 10
input: packet lost by TS demux: current 0, packet 8
input: packet lost by TS demux: current 14, packet 6
input: packet lost by TS demux: current 12, packet 11
input: packet lost by TS demux: current 0, packet 7
input: packet lost by TS demux: current 12, packet 15
input: packet lost by TS demux: current 4, packet 10
input: packet lost by TS demux: current 0, packet 8
input: packet lost by TS demux: current 14, packet 6
input: packet lost by TS demux: current 11, packet 14
input: packet lost by TS demux: current 2, packet 8
input: packet lost by TS demux: current 14, packet 12
input: packet lost by TS demux: current 6, packet 1
input: packet lost by TS demux: current 7, packet 14
input: packet lost by TS demux: current 4, packet 11
input: packet lost by TS demux: current 0, packet 4
input: packet lost by TS demux: current 9, packet 0
input: packet lost by TS demux: current 5, packet 4
input: packet lost by TS demux: current 10, packet 15
input: packet lost by TS demux: current 14, packet 3
input: packet lost by TS demux: current 8, packet 12
input: packet lost by TS demux: current 1, packet 0
input: packet lost by TS demux: current 13, packet 7
input: packet lost by TS demux: current 12, packet 4
input: packet lost by TS demux: current 10, packet 12
input: packet lost by TS demux: current 0, packet 15
input: packet lost by TS demux: current 4, packet 7
input: packet lost by TS demux: current 13, packet 5
input: packet lost by TS demux: current 10, packet 2
input: packet lost by TS demux: current 8, packet 0
input: packet lost by TS demux: current 6, packet 15
input: packet lost by TS demux: current 5, packet 3
input: packet lost by TS demux: current 7, packet 3
input: packet lost by TS demux: current 9, packet 1
input: packet lost by TS demux: current 7, packet 12
input: packet lost by TS demux: current 1, packet 4
input: packet lost by TS demux: current 10, packet 2
input: packet lost by TS demux: current 8, packet 15
input: packet lost by TS demux: current 5, packet 13
input: packet lost by TS demux: current 1, packet 7
input: packet lost by TS demux: current 12, packet 4
input: packet lost by TS demux: current 9, packet 3
input: packet lost by TS demux: current 8, packet 7
input: packet lost by TS demux: current 13, packet 3
input: packet lost by TS demux: current 0, packet 4
input: packet lost by TS demux: current 7, packet 0
input: packet lost by TS demux: current 6, packet 14
input: packet lost by TS demux: current 4, packet 12
input: packet lost by TS demux: current 2, packet 5
input: packet lost by TS demux: current 9, packet 13
input: packet lost by TS demux: current 1, packet 5
input: packet lost by TS demux: current 11, packet 4
input: packet lost by TS demux: current 9, packet 7
input: packet lost by TS demux: current 13, packet 5
input: packet lost by TS demux: current 11, packet 2
input: packet lost by TS demux: current 8, packet 0
input: packet lost by TS demux: current 6, packet 10
input: packet lost by TS demux: current 15, packet 1
input: packet lost by TS demux: current 5, packet 9
input: packet lost by TS demux: current 14, packet 12
input: packet lost by TS demux: current 2, packet 4
input: packet lost by TS demux: current 9, packet 12
input: packet lost by TS demux: current 1, packet 5
input: packet lost by TS demux: current 10, packet 15
input: packet lost by TS demux: current 4, packet 6
input: packet lost by TS demux: current 5, packet 8
input: duplicate packet received by TS demux
input: packet lost by TS demux: current 15, packet 7
input: packet lost by TS demux: current 13, packet 1
input: packet lost by TS demux: current 7, packet 10
input: packet lost by TS demux: current 15, packet 14
input: packet lost by TS demux: current 4, packet 9
input: packet lost by TS demux: current 5, packet 8
input: packet lost by TS demux: current 13, packet 0
input: packet lost by TS demux: current 5, packet 8
input: packet lost by TS demux: current 13, packet 2
input: packet lost by TS demux: current 8, packet 3
input: packet lost by TS demux: current 15, packet 1
input: packet lost by TS demux: current 6, packet 5
input: packet lost by TS demux: current 10, packet 8
input: packet lost by TS demux: current 13, packet 4
input: packet lost by TS demux: current 10, packet 14
input: packet lost by TS demux: current 3, packet 7
input: packet lost by TS demux: current 13, packet 5
input: packet lost by TS demux: current 11, packet 9
input: packet lost by TS demux: current 15, packet 3
input: packet lost by TS demux: current 8, packet 11
input: packet lost by TS demux: current 0, packet 2
input: packet lost by TS demux: current 7, packet 11
input: packet lost by TS demux: current 0, packet 3
input: packet lost by TS demux: current 8, packet 14
input: packet lost by TS demux: current 4, packet 12
input: packet lost by TS demux: current 2, packet 0
input: duplicate packet received by TS demux
input: packet lost by TS demux: current 14, packet 12
input: packet lost by TS demux: current 1, packet 6
input: packet lost by TS demux: current 12, packet 4
input: packet lost by TS demux: current 10, packet 2
input: packet lost by TS demux: current 8, packet 0
input: packet lost by TS demux: current 6, packet 13
input: packet lost by TS demux: current 2, packet 0
input: packet lost by TS demux: current 5, packet 2
input: packet lost by TS demux: current 7, packet 2
input: packet lost by TS demux: current 8, packet 0
module: unlocking module `gtk'
thread info: 3076 has been joined ((null):0)
module: unlocking module `mpeg_adec'
module: unlocking module `idctmmxext'
module: unlocking module `motionmmxext'
thread info: 2051 has been joined ((null):0)
module: unlocking module `mpeg_vdec'
input: closing network target `udpstream://130.145.195.89'
module: unlocking module `mpeg_ts'
thread info: 1026 has been joined ((null):0)
intf: removed `udpstream://130.145.195.89@0:1234' from playlist
intf: playlist destroyed
module: unlocking module `memcpymmxext'
intf: program terminated


-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list