[streaming] Re: Help: can't get a simple unicast file stream to work
Jean-Paul Saman
saman at natlab.research.philips.com
Thu Feb 20 13:31:00 CET 2003
Can you read the file directly in vlc? run it with:
vlc -vvvvvvv bt.mpg 2>error.log
The lines:
> "mpegconverter:ts2ts"
> 2003-02-20 10:33:53 [DEBUG/local1] In ts2ts.cpp line 134 -> Starting
to read
> program "dolby"
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line
306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line
306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line
306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line
306 ->
> Adjusting timer discontinuity
> for pgrm dolby
suggest that there is something wrong with the file itself. If the
server has to continuously adjust its timing then the file might contain
errors.
Ben Skelton wrote:
> Hi all,
>
> (sorry if this mail is duplicated)
>
> we have installed vls and have a test mpg on the machine which we are trying
> to unicast (at first, later multicast) stream to a client. I have followed
> the instructions but I'm missing something simple I think, because when I
> start the job we see no network activity and the client plays nothing.
>
> Any help would be much appreciated.
>
> This is what we have:
>
> - -- VLS.CFG ---------------------------------------------------------------
>
> BEGIN "Vls"
> LogFile = "/var/log/vls.log"
> ScreenLog = "enable"
> SystemLog = "disable"
> END
>
> BEGIN "Groups"
> monitor = "help|browse|logout"
> master =
> "help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|c
> hannel|show" END
>
> BEGIN "Users"
> monitor = "3BcKWoiQn0vi6:monitor"
> bozo = "JKg2TpPerilnw:master"
> END
>
> BEGIN "Telnet"
> LocalPort = "9999"
> END
>
> BEGIN "Inputs"
> local1 = "local"
> END
>
> BEGIN "local1"
> ConfigPath = "/usr/local/etc/videolan/vls"
> END
>
> BEGIN "Channels"
> client1 = "network"
> END
>
> BEGIN "client1"
> DstHost = "10.0.0.28"
> DstPort = "1234"
> Type = "unicast"
> Interface = "eth0"
> END
>
>
> - -- INPUT.CFG
> ---------------------------------------------------------------
>
> BEGIN "Input"
> FilesPath = "/tmp/Video"
> ProgramCount = "1"
> END
>
> BEGIN "1"
> Name = "dolby"
> FileName = "bt.mpg"
> Type = "Mpeg2-TS"
> END
>
>
> we start vls and from the telnet shell:
>
>
> - -- TELNET LOCALHOST 9999
> -----------------------------------------------------
>
> bozo at vls> start dolby client1 local1 --loop
> Provider: Manager
> Status: 0
>
> Provider: local1
> Status: 0
> Info: Program dolby started
>
>
> on the console, where we started vls we get:
>
> - -- VLS CONSOLE LOG -----------------------------------------------------
>
> # vls
> 2003-02-20 10:33:40 [INFO/Vls] VideoLAN Server v 0.4.0 (Feb 13 2003) -
> (c)1999-2002 VideoLAN
>
> 2003-02-20 10:33:40 [INFO/Vls] Module "channel:file" registered
> 2003-02-20 10:33:40 [INFO/Vls] Module "channel:network" registered
> 2003-02-20 10:33:40 [INFO/Vls] Module "mpegreader:file" registered
> 2003-02-20 10:33:40 [INFO/Vls] Module "mpegconverter:ts2ts" registered
> 2003-02-20 10:33:40 [INFO/Vls] Module "mpegconverter:ps2ts" registered
> 2003-02-20 10:33:40 [INFO/Vls] Module "input:local" registered
> 2003-02-20 10:33:40 [INFO/Vls] Module "input:video" registered
> 2003-02-20 10:33:40 [INFO/Vls] Browsing modules in directory "."
> 2003-02-20 10:33:40 [INFO/Vls] Browsing modules in directory
> "/usr/local/lib/videolan/vls"
> 2003-02-20 10:33:40 [DEBUG/Vls] In src/core/module.cpp line 152 -> trying
> file "/usr/local/lib/videolan/vl
> s/dvdreader.so"
> 2003-02-20 10:33:40 [INFO/Vls] Module "mpegreader:dvd" registered
> 2003-02-20 10:33:40 [DEBUG/Vls] In netchannel.h line 45 -> New instance of
> module "channel:network"
> 2003-02-20 10:33:40 [INFO/Vls] Channel 'client1' created
> 2003-02-20 10:33:40 [DEBUG/Vls] In localinput.h line 81 -> New instance of
> module "input:local"
> 2003-02-20 10:33:40 [INFO/Vls] Starting input 'local1'
> 2003-02-20 10:33:40 [DEBUG/Vls] In src/server/input.cpp line 136 ->
> Initialising input local1
> 2003-02-20 10:33:40 [INFO/Vls] Input 'local1' sucessfully initialised
> 2003-02-20 10:33:40 [INFO/Vls] New admin group "monitor" is ok
> 2003-02-20 10:33:40 [INFO/Vls] New admin group "master" is ok
> 2003-02-20 10:33:40 [INFO/Vls] New admin user "monitor" is ok
> 2003-02-20 10:33:40 [INFO/Vls] New admin user "bozo" is ok
> 2003-02-20 10:33:40 [INFO/Vls] Telnet server initialised
> 2003-02-20 10:33:47 [INFO/Vls] Processing incoming connection from 127.0.0.1
> 2003-02-20 10:33:48 [INFO/Vls] User "bozo" successfully authenticated
> 2003-02-20 10:33:51 [DEBUG/Vls] In src/server/manager.cpp line 418 ->
> Manager locked
> 2003-02-20 10:33:51 [DEBUG/local1] In src/server/input.cpp line 204 ->
> Starting reception of pgrm dolby
> 2003-02-20 10:33:51 [DEBUG/Vls] In filereader.h line 59 -> New instance of
> module "mpegreader:file"
> 2003-02-20 10:33:51 [DEBUG/Vls] In ts2ts.h line 52 -> New instance of module
> "mpegconverter:ts2ts"
> 2003-02-20 10:33:53 [DEBUG/local1] In ts2ts.cpp line 134 -> Starting to read
> program "dolby"
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/local1] In src/server/tsstreamer.cpp line 306 ->
> Adjusting timer discontinuity
> for pgrm dolby
> 2003-02-20 10:33:53 [DEBUG/Vls] In src/server/manager.cpp line 481 ->
> Manager unlocked
>
>
> - -- ON THE CLIENT -----------------------------------------------------
>
> On the client we choose, from the network option UDP/RTP and use port 1234.
> The client's playlist shows "UDP at 1234". Pressing play does nothing and
> nothing is displayed.
>
> Any ideas? What don't I understand here?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE+VLXBnn5W2XX2wYoRAutNAJkB93xQG6YdqIk1DyJ3zSA7v2A8zQCdGbsM
> yTNFZgow9Soq0wP7oSmTk1k=
> =GnOl
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------
>
--
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
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the streaming
mailing list