Author Topic: problems on switching from xine player to videolan 1 to many  (Read 1781 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
problems on switching from xine player to videolan 1 to many
« on: October 11, 2005, 07:42:22 am »
Hi,

I have now 3 MDs in my system (one in Core), so I can test single stream to multiple MDs feature....

While I take single stream from one MD to another it works. When I select 2 MDs and click on stream then both are silent and I get different types of errors in logs...

1. when playing playlist of flac files (ripped by pluto), I get this (vlc-c and vlc-s are spawned with those messages:
Code: newbielink:javascript:void(0); [nonactive]

vlc-c :

VLC media player 0.8.2-svn Janus
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"

[00000244] main playlist: adding playlist item `udp:' ( udp: )


vlc-s :

VLC media player 0.8.2-svn Janus
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"

[00000244] main playlist: adding playlist item `/home/public/data/music/Various/Lepa leta slovenske popevke//Med iskrenimi ljudmi.flac' ( /home/public/data/music/Various/Lepa leta slovenske popevke//Med iskrenimi ljudmi.flac )
[00000251] stream_out_standard private: SAP Enabled
[00000257] stream_out_standard private: SAP Enabled
[00000254] main private error: cannot add this stream
[00000260] main private error: cannot add this stream
[00000266] main packetizer error: cannot create packetizer output
[00000244] main playlist: nothing to play


2. when playing single wav or mp3 file on one MD and selecting 2 to receive stream I get this :

on playing MD xine player:
Code: newbielink:javascript:void(0); [nonactive]
10 10/11/05 8:32:07.713 Xine_Player::CMD_Stop_Media() Got a stop media for stream ID 4 (0x80a9200)
05 10/11/05 8:32:07.713 reporting timecode
10 10/11/05 8:32:07.713 Setting speed to special 0 real 0 desired 0
10 10/11/05 8:32:07.775 Stream paused at time: 55037 from 257609
10 10/11/05 8:32:07.775 Xine_Player::CMD_Stop_Media() After pause media 4
10 10/11/05 8:32:07.775 Stopping event thread.
10 10/11/05 8:32:07.835 Done.
10 10/11/05 8:32:07.835 Disposing the event queue
10 10/11/05 8:32:07.835 Stream was disposed
10 10/11/05 8:32:07.835 Calling xine_stop for stream with id: 4
10 10/11/05 8:32:07.839 Calling xine_close for stream with id: 4
10 10/11/05 8:32:07.839 Calling xine_dispose for stream with id: 4
10 10/11/05 8:32:07.840 Going to call a 0x868ef38 and v 0x868fbc8
10 10/11/05 8:32:07.840 Calling xine_close_audio_driver for stream with id: 141094712
10 10/11/05 8:32:07.923 Calling xine_close_video_driver for stream with id: 141094712
10 10/11/05 8:32:07.927 deleting pstream
10 10/11/05 8:32:07.927 Cleanup completed
10 10/11/05 8:32:07.927 Xine_Player::CMD_Stop_Media() The stream playback should be stopped at this moment and the resources should be freed!
10 10/11/05 8:32:07.930 Could not find a handler for message - from 6613 to 6626 Type: 1 ID: 193 (device: 6626) Command_Impl1 Dev #6626
that seems right - xine player closes.

And then on same MD in videolan client log:
Code: newbielink:javascript:void(0); [nonactive]
10 10/11/05 8:32:07.988 Could not find a handler for message - from 6613 to 6697 Type: 1 ID: 192 (device: 6697) Command_Impl1 Dev #6697


and other MD in video lan client log :
Code: newbielink:javascript:void(0); [nonactive]
10 10/11/05 8:32:07.956 Could not find a handler for message - from 6613 to 6754 Type: 1 ID: 192 (device: 6754) Command_Impl1 Dev #6754


BTW, 6613 is Media Plugin.

I have also few other woes:

- if I want to have stream on multiple MDs, I guess playlists among them should be exactly the same (I'm not sure, but I think I saw that it was added to local list if other MD was playing something else...)

- if multiple MDs are listening to single stream - which one or all can control that stream (next song, etc...)

I'm also curious what are your experience with this feature and if it works for you ?

Regards,

Rob.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
problems on switching from xine player to videolan 1 to many
« Reply #1 on: December 31, 2006, 01:32:38 pm »
I know this message is old but I have just installd my second Media Director and am also having trouble with this feature.  Does anyone have it working?

The first problem I was having was that VLC needed some libraris that was not available.  I copied libdbus-1.so.0 & libdbus-glib-1.so.0 from an old backup to solve that.  However I still get no sound when switching to multiple.  I actually dont get any sound if I run vlc by hand either


Now I get the following on the DCErouter


tail -20 Spawn_vlc_s_3_19434.log

VLC media player 0.8.2-svn Janus
libhal.c 644 : Error connecting to system bus: No reply within specified time
[00000244] main playlist: adding playlist item `/home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac' ( /home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac )

Gtk-WARNING **: cannot open display: :0

tail 83_VideoLan_Server.log

== ATTEMPT FRESH START ==
1       12/31/06 02:50:45       /usr/pluto/bin/Spawn_Device.sh 83 (spawning-device)     6509 Dev: 83; Already Running list: 16,15,
== FRESH START ==
1       12/31/06 02:50:46       /usr/pluto/bin/Spawn_Device.sh /usr/pluto/bin/Spawn_Device.sh 83 (spawning-devicedevice: 83 ip: localhost cmd_line: VideoLan_Server
0       12/31/06 02:50:46       /usr/pluto/bin/Spawn_Device.sh /usr/pluto/bin/Spawn_Device.sh 83 (spawning-deviceEntering /usr/pluto/bin/Spawn_Device.sh /usr/pluto/bin/Spawn_Device.sh 83
========== NEW LOG SECTION ==========
1       12/31/06 02:50:46       /usr/pluto/bin/Spawn_Device.sh /usr/pluto/bin/Spawn_Device.sh 83 (spawning-deviceStarting... 1
Sun Dec 31 02:50:46 GMT 2006 Starting
1       12/31/06 02:50:46       /usr/pluto/bin/Spawn_Device.sh /usr/pluto/bin/Spawn_Device.sh 83 (spawning-deviceFound ./VideoLan_Server
VideoLan_Server, v.2.0.0.42
Visit newbielink:http://www.plutohome.com [nonactive] for source code and license information

10      12/31/06 2:50:46.346            Device: 83 starting.  Connecting to: localhost
10      12/31/06 2:50:46.440            Connect OK
10      12/31/06 2:50:46.441            Requesthandler 0x8071858 (device: 83) runThread now running
Need to implement command #249 - Start Streaming
Parm #41 - StreamID=3
Parm #59 - MediaURL=0xa7320980
Parm #105 - StreamingTargets=82,86,
Need to implement command #37 - Play Media
Parm #13 - Filename=/home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac
Parm #29 - PK_MediaType=4
Parm #41 - StreamID=3
10      12/31/06 2:57:46.507            Device 82 found at 0x80954b8
10      12/31/06 2:57:46.508            Device 86 found at 0x8095cf8
10      12/31/06 2:57:46.508            Found 2 IP's
10      12/31/06 2:57:46.508            Returning stream #duplicate{dst=standard{access=udp,mux=ts,url=192.168.80.2,sap,name="s3"},dst=standard{access=udp,mux=ts,url=192.168.80.4,sap,name="s3"}}
ProcessUtils::SpawnApplication() sCMDExec vlc parms: --intf     rc      /home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac   --sout  #duplicate{dst=standard{access=udp,mux=ts,url=192.168.80.2,sap,name="s3"},dst=standard{access=udp,mux=ts,url=192.168.80.4,sap,name="s3"}} size: 226
dupped exec vlc
dupped arg 0 --intf
dupped arg 1 rc
dupped arg 2 /home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac
dupped arg 3 --sout
dupped arg 4 #duplicate{dst=standard{access=udp,mux=ts,url=192.168.80.2,sap,name="s3"},dst=standard{access=udp,mux=ts,url=192.168.80.4,sap,name="s3"}}
ProcessUtils::SpawnApplication() Found 6 arguments
ProcessUtils::SpawnApplication() Argument 0: vlc
ProcessUtils::SpawnApplication() Argument 1: --intf
ProcessUtils::SpawnApplication() Argument 2: rc
ProcessUtils::SpawnApplication() Argument 3: /home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac
ProcessUtils::SpawnApplication() Argument 4: --sout
ProcessUtils::SpawnApplication() Argument 5: #duplicate{dst=standard{access=udp,mux=ts,url=192.168.80.2,sap,name="s3"},dst=standard{access=udp,mux=ts,url=192.168.80.4,sap,name="s3"}}
Freed args
ProcessUtils::SpawnApplication() adding this 19434 pid to the spawned list for vlc_s_3
10      12/31/06 2:57:46.519            Found 2 Devices
10      12/31/06 2:57:46.520            Set media position 3  POS:125865 SUBTITLE:-1 AUDIO:-1 TOTAL:301533
ProcessUtils::ApplicationExited() pid exited: 19434
ProcessUtils::ApplicationExited() Looking at: vlc_s_3
05      12/31/06 2:58:29.845            VideoLan_Server::ProcessExited() Child with pid 19434 terminated

And on one of the clients

 cat 82_VideoLan_Client.log


Sun Dec 31 02:55:07 GMT 2006 Starting
+ ReloadLock=/usr/pluto/locks/reload_watcher
+ [[ -f /usr/pluto/locks/reload_watcher ]]
+ grep -q 82 /usr/pluto/locks/reload_watcher
+ [[ 0 -eq 1 ]]
+ [[ VideoLan_Client == *App*Server* ]]
+ Logging spawning-device 1 'Spawn_Device.sh Spawn_Device.sh 82' 'Found ./VideoLan_Client'
+ '[' -z spawning-device ']'
+ mkdir -p /var/log/pluto
+ logfile=/var/log/pluto/pluto.log
+ touch /var/log/pluto/pluto.log
+ type=spawning-device
+ shift
+ severitylevel=1
+ shift
+ module=Spawn_Device.sh Spawn_Device.sh 82
+ shift
+ message=Found ./VideoLan_Client
+ shift
+ '[' -z ']'
++ date '+%D %H:%M:%S'
+ date=12/31/06 02:55:07
+ snc=\033[1;00m
+ swc=\033[1;33m
+ scc=\033[1;31m
+ rc=\033[1;00m
+ sc=\033[1;00m
+ '[' 1 -eq 2 ']'
+ '[' 1 -eq 3 ']'
+ TERM=linux
+ printf '1\t12/31/06 02:55:07\tSpawn_Device.sh Spawn_Device.sh 82 (spawning-device)\t\033[1;00mFound ./VideoLan_Client\033[1;00m\n'
+ printf '1\t12/31/06 02:55:07\tSpawn_Device.sh Spawn_Device.sh 82 (spawning-device)\t\033[1;00mFound ./VideoLan_Client\033[1;00m\n'
1       12/31/06 02:55:07       Spawn_Device.sh Spawn_Device.sh 82 (spawning-device)    Found ./VideoLan_Client
+ [[ VideoLan_Client != *Spawn_Device* ]]
+ [[ '' == *\V\i\d\e\o\L\a\n\_\C\l\i\e\n\t* ]]
+ /usr/pluto/bin/Spawn_Wrapper.sh ./VideoLan_Client -d 82 -r 192.168.80.1
VideoLan_Client, v.2.0.0.42
Visit newbielink:http://www.plutohome.com [nonactive] for source code and license information

10      12/31/06 2:55:07.747            Device: 82 starting.  Connecting to: 192.168.80.1
10      12/31/06 2:55:07.808            Connect OK
10      12/31/06 2:55:07.808            Requesthandler 0x806a858 (device: 82) runThread now running
Need to implement command #37 - Play Media
Parm #13 - Filename=udp:
Parm #29 - PK_MediaType=4
Parm #41 - StreamID=3
ProcessUtils::SpawnApplication() sCMDExec vlc parms: --intf     rc      -f      udp: size: 17
dupped exec vlc
dupped arg 0 --intf
dupped arg 1 rc
dupped arg 2 -f
dupped arg 3 udp:
ProcessUtils::SpawnApplication() Found 5 arguments
ProcessUtils::SpawnApplication() Argument 0: vlc
ProcessUtils::SpawnApplication() Argument 1: --intf
ProcessUtils::SpawnApplication() Argument 2: rc
ProcessUtils::SpawnApplication() Argument 3: -f
ProcessUtils::SpawnApplication() Argument 4: udp:
Freed args
ProcessUtils::SpawnApplication() adding this 10832 pid to the spawned list for vlc_c
10      12/31/06 2:57:38.960            Instructing ratpoison to do this: ":select Unnamed"
05      12/31/06 2:57:38.960            Ratpoison window manager does not seem to be running on this server got those results: 1 [0, 0, 0]
01      12/31/06 2:57:38.960            **NOT** Reseting ratpoison...
10      12/31/06 2:57:39.000            Could not find a handler for message - from 10 to 82 Type: 1 ID: 192 (device: 82) Command_Impl1 Dev #82

If running vlc by hand I get

moon70:/var/log/pluto# vlc -v /home/public/data/audio/Faithless/To\ All\ New\ Arrivals/Hope\ \&\ Glory.flac
VLC media player 0.8.2-svn Janus
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
libhal.c 644 : Error connecting to system bus: No reply within specified time
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000245] main playlist: adding playlist item `/home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac' ( /home/public/data/audio/Faithless/To All New Arrivals/Hope & Glory.flac )
[00000249] skins2 interface error: Cannot open display
[00000249] skins2 interface error: Cannot initialize OSFactory
Remote control interface initialized, `h' for help
[00000281] main audio output warning: PTS is out of range (96571), dropping buffer
[00000281] main audio output warning: PTS is out of range (-7818), dropping buffer
[00000281] main audio output warning: buffer is 97391 in advance, triggering downsampling
[00000281] main audio output warning: the mixer got a packet in the past (16121)
[00000281] main audio output warning: mixer start isn't output start (5687)
[00000281] main audio output warning: resampling stopped after 29989473 usec (drift: -1139)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
problems on switching from xine player to videolan 1 to many
« Reply #2 on: December 31, 2006, 02:07:30 pm »
Hi,

not sure if have proper info (only Pluto guys could respond more precisely), but AFAIK, vlc feature one to many is dead end. Currently efforts for Xine to replace VLC are taking place (so one could stream from one Xine player to more other Xine players).

About VLC - in my system I could get only working that you take stream from one player to other player so the first one shuts down. One to many didn't work for me, although it seems pretty close to that.

HTH,

regards,

Rob.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
problems on switching from xine player to videolan 1 to many
« Reply #3 on: January 03, 2007, 03:01:54 pm »
i confirm vlc implementation is to a halt because there was so many issues involved and not controllable. we're trying to make xine to work as vlc, but we don't have an eta on it.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
problems on switching from xine player to videolan 1 to many
« Reply #4 on: January 06, 2007, 01:31:33 am »
Shame, I'll watch this space