Re: vls doesn't stop sending...

Heok Kee Oon <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Message-ID <[email protected]>
Hi,

   There is a NEED for me to find out what frames
(whether I, P or B) is transmitted or received, so if
you don't mind, can you send me the codes and some
instructions? ;)

   The protocol we've ported to is called SCTP. Some
more things I've found out:
   1. Once vlc is connected to vls, a window pops up
in vlc.
   2. Data is transmitted from vls to vlc, but nothing
is shown in the window (all black).
   3. For a video that takes the vlc about 30 sec to
play (from disk), the transmission between vls and vlc
lasts for about 3 min before vls stop sending any
data. Throughout this period, windows remain black.

   With only modifications to socket calls in the
files listed below, I don't quite understand why it
doesn't play the video.

   I've attached the log files of both the vlc and vls
with this mail. Hope that it provides some clues...



Oon, Heok Kee


Tristan Leteurtre <[email protected]>
wrote:
> Hi Oon,
> 
> On Thu, Oct 24, 2002, Heok Kee Oon wrote:
> >    Few questions. Firstly, which function in which
> > file is responsible for reading and
> differentiating
> > the various frames (I, B and P) before splitting
> and
> > multiplexing them into a TS stream?
> 
> The vls does not deal with I,B and P frames, since
> it is only concerned
> by the system layer. The splitting/multiplexing is
> made with PID
> selecting, not with frame seclection (ES layer).
> 
> If you *really* need a type_of_frame function for
> vls, I used to write
> one some times ago...
>  
> >    Secondly, I've successfully switched out the
> UDP
> > transport layer and incorporated a new transport
> layer
> > protocol for the data transmission. 
> 
> Which one ? ;)
> 
> > However, after the
> > change (probably by accident) my modified version
> > DOESN'T STOP sending data to the client. This is a
> > list of files that I've modified:
> > (...) 
> >    Hope someone can enlighten me on these. Thanks
> a
> > lot!
> 
> I looked a few minutes, but your problem is hard to
> understand... I
> think it's impossible to solve it like that, the
> best explanation would
> be the source code itself, but...
> 
> Anyway, don't hesitate to report your investigation
> results !
> 
> Good luck,
> 
> -- 
> Tristan
> -- 
> 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
> <[email protected]>
> 

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
vls.log (text/x-log, 4.7 KB)
[root@kahhwee vls-0.3.3]# bin/vls > vls_run.log 
2002-10-26 13:28:50 [INFO/Vls]  Module "channel:file" registered
2002-10-26 13:28:50 [INFO/Vls]  Module "channel:network" registered
2002-10-26 13:28:50 [INFO/Vls]  Module "mpegreader:file" registered
2002-10-26 13:28:50 [INFO/Vls]  Module "mpegconverter:ts2ts" registered
2002-10-26 13:28:50 [INFO/Vls]  Module "mpegconverter:ps2ts" registered
2002-10-26 13:28:50 [INFO/Vls]  Module "input:local" registered
2002-10-26 13:28:50 [INFO/Vls]  Module "input:video" registered
2002-10-26 13:28:50 [INFO/Vls]  Browsing modules in directory "."
2002-10-26 13:28:50 [INFO/Vls]  Browsing modules in directory "/usr/local/lib/videolan/vls"
2002-10-26 13:28:50 [WARN/Vls]  Unable to browse directory "/usr/local/lib/videolan/vls" : Error: Could not open directory '/usr/local/lib/videolan/vls': No such file or directory
2002-10-26 13:28:50 [DEBUG/Vls]  In netchannel.h line 45 -> New instance of module "channel:network"
2002-10-26 13:28:50 [INFO/Vls]  Channel 'localhost' created
2002-10-26 13:28:50 [DEBUG/Vls]  In netchannel.h line 45 -> New instance of module "channel:network"
2002-10-26 13:28:50 [INFO/Vls]  Channel 'client2' created
2002-10-26 13:28:50 [DEBUG/Vls]  In netchannel.h line 45 -> New instance of module "channel:network"
2002-10-26 13:28:50 [INFO/Vls]  Channel 'client1' created
2002-10-26 13:28:50 [DEBUG/Vls]  In localinput.h line 80 -> New instance of module "input:local"
2002-10-26 13:28:50 [INFO/Vls]  Starting input 'local1'
2002-10-26 13:28:50 [DEBUG/Vls]  In src/server/input.cpp line 134 -> Initialising input local1
2002-10-26 13:28:50 [INFO/Vls]  Input 'local1' sucessfully initialised
2002-10-26 13:28:50 [INFO/Vls]  New admin group "monitor" is ok
2002-10-26 13:28:50 [INFO/Vls]  New admin group "master" is ok
2002-10-26 13:28:50 [INFO/Vls]  New admin user "monitor" is ok
2002-10-26 13:28:50 [INFO/Vls]  New admin user "bozo" is ok
2002-10-26 13:28:50 [INFO/Vls]  Telnet server initialised
2002-10-26 13:28:51 [INFO/Vls]  Processing incoming connection from 127.0.0.1
2002-10-26 13:28:54 [INFO/Vls]  User "bozo" successfully authentificated
2002-10-26 13:29:22 [DEBUG/Vls]  In src/server/manager.cpp line 415 -> Manager locked
2002-10-26 13:29:22 [DEBUG/local1]  In src/server/input.cpp line 199 -> Starting reception of pgrm dolby
2002-10-26 13:29:22 [DEBUG/Vls]  In filereader.h line 57 -> New instance of module "mpegreader:file"
2002-10-26 13:29:22 [DEBUG/Vls]  In ps2ts.h line 72 -> New instance of module "mpegconverter:ps2ts"
2002-10-26 13:29:22 [DEBUG/local1]  In ps2ts.cpp line 93 -> Mpeg version : 2
2002-10-26 13:29:22 [DEBUG/local1]  In ps2ts.cpp line 96 -> Preparsing : yes
2002-10-26 13:29:22 [DEBUG/local1]  In ps2ts.cpp line 167 -> Starting to read program "dolby"
2002-10-26 13:29:25 [DEBUG/Vls]  In src/server/manager.cpp line 458 -> Manager unlocked
2002-10-26 13:32:28 [ERROR/local1]  Read error for program "dolby"
2002-10-26 13:32:28 [DEBUG/local1]  In ps2ts.cpp line 242 -> Stopping converter by callback for program dolby
2002-10-26 13:32:28 [DEBUG/Vls]  In src/server/manager.cpp line 470 -> Manager locked
2002-10-26 13:32:28 [DEBUG/Vls]  In src/server/manager.cpp line 481 -> Manager unlocked
2002-10-26 13:32:28 [DEBUG/local1]  In ps2ts.cpp line 252 -> Converter stopped for program dolby
2002-10-26 13:32:28 [DEBUG/Vls]  In src/server/manager.cpp line 415 -> Manager locked
2002-10-26 13:32:28 [DEBUG/local1]  In src/server/input.cpp line 326 -> Stopping reception of pgrm dolby
2002-10-26 13:32:28 [DEBUG/local1]  In src/server/tsstreamer.cpp line 234 -> Sleeping 9 seconds before destroying TsStreamer for pgrm dolby
2002-10-26 13:32:28 [DEBUG/local1]  In src/server/input.cpp line 329 -> Pgrm dolby stopped
2002-10-26 13:32:28 [DEBUG/Vls]  In src/server/manager.cpp line 821 -> Remove the broadcast
2002-10-26 13:32:28 [DEBUG/Vls]  In src/server/manager.cpp line 823 -> Broadcast removed with status 0
2002-10-26 13:32:28 [DEBUG/Vls]  In src/server/manager.cpp line 458 -> Manager unlocked
2002-10-26 13:35:54 [INFO/Vls]  Received 'shutdown' command: stopping vls
2002-10-26 13:35:54 [INFO/Vls]  Telnet server stopped
2002-10-26 13:35:54 [INFO/Vls]  Stopping the manager
2002-10-26 13:35:54 [INFO/Vls]  Manager stopped
2002-10-26 13:35:54 [INFO/Vls]  Destroying administrator module
2002-10-26 13:35:54 [INFO/Vls]  Shutdowning all the opened sessions...
2002-10-26 13:35:54 [INFO/Vls]  Closing connection from 127.0.0.1
2002-10-26 13:35:54 [INFO/Vls]  Telnet server destroyed
2002-10-26 13:35:54 [INFO/Vls]  Destroying manager module
2002-10-26 13:35:54 [INFO/Vls]  Destroying the manager
2002-10-26 13:35:54 [DEBUG/Vls]  In src/server/input.cpp line 165 -> Destroying input local1
2002-10-26 13:35:54 [INFO/Vls]  Input local1 correctly stopped
2002-10-26 13:35:54 [INFO/Vls]  Manager destroyed
[root@kahhwee vls-0.3.3]#
vlc.log (text/x-log, 5.1 KB)
root@eng91628-cir vlc-0.4.4]# ./vlc > vlc_run.log
VideoLAN Client - version 0.4.4_2002-10-01 Ourumov - (c) 1996-2002 VideoLAN

intf: playlist initialized
module: locking memcpy module `memcpymmxext'
module: locking interface module `gtk'
intf: interface initialized
module: hiding unused plugin module `filter_crop'
module: hiding unused plugin module `filter_clone'
module: hiding unused plugin module `filter_distort'
module: hiding unused plugin module `filter_transform'
module: hiding unused plugin module `dsp'
module: hiding unused plugin module `fb'
module: hiding unused plugin module `sdl'
module: hiding unused plugin module `x11'
module: hiding unused plugin module `avi'
module: hiding unused plugin module `ipv6'
module: hiding unused plugin module `vcd'
module: hiding unused plugin module `dvd'
module: hiding unused plugin module `filter_wall'
module: hiding unused plugin module `filter_invert'
module: hiding unused plugin module `filter_deinterlace'
module: hiding unused plugin module `fx_scope'
module: hiding unused plugin module `spudec'
module: hiding unused plugin module `ac3_spdif'
module: hiding unused plugin module `lpcm_adec'
module: hiding unused plugin module `memcpy'
module: hiding unused plugin module `ipv4'
module: hiding unused plugin module `http'
module: hiding unused plugin module `udp'
module: hiding unused plugin module `file'
module: hiding unused plugin module `mpeg_audio'
module: hiding unused plugin module `mpeg_ts'
module: hiding unused plugin module `mpeg_ps'
module: hiding unused plugin module `mpeg_es'
module: hiding unused plugin module `logger'
module: hiding unused plugin module `rc'
module: hiding unused plugin module `null'
module: hiding unused plugin module `dummy'
intf: added `udp:@:1234' to playlist
intf: creating new input thread
input: playlist item `udp:@:1234'
thread info: 1026 (input) has been created (src/input/input.c:196)
input: access `udp', demux `', name `@:1234'
input: opening server=:0 local=:1234
module: locking network module `ipv4'
module: unlocking module `ipv4'
module: locking access module `udp'
module: locking demux module `mpeg_ts'
intf: stream has changed, refreshing interface
input: duplicate packet received by TS demux
ES 50 has unknown type
module: locking decoder module `mpeg_vdec'
module: locking motion module `motionmmxext'
module: locking iDCT module `idctmmxext'
thread info: 3076 (decoder) has been created (src/input/input_dec.c:83)
module: locking decoder module `ac3_adec'
module: locking downmix module `downmixsse'
module: locking iMDCT module `imdctsse'
thread info: 4101 (decoder) has been created (src/input/input_dec.c:83)
input: packet lost by TS demux: current 0, packet 14
input: packet lost by TS demux: current 0, packet 8
intf: stream has changed, refreshing interface
aout: no aout present, spawning one
module: locking audio output module `dsp'
aout warning: audio output rate not supported (44100)
thread info: 5126 (audio output) has been created (src/audio_output/audio_output.c:263)
aout info: signed 16 bits thread spawned, 2 channels, rate 44191
aout info: fifo #0 allocated, 2 channels, rate 48000, frame size 3072
vpar: no vout present, spawning one
vout: found adaptor 0, port 59, image format 0x32315659 (YV12) planar
module: locking video output module `xvideo'
vout info: got 8 direct buffer(s)
vout info: picture in 720x480, chroma 0x30323449 (I420), aspect ratio 4:3
vout info: picture out 720x480, chroma 0x32315659 (YV12), aspect ratio 4:3
vout info: direct render, mapping render pictures 0-6 to system pictures 1-7
thread info: 6151 (video output) has been created (src/video_output/video_output.c:211)
vpar synchro warning: dts != current_pts (-1090094)
vout: video display resized (720x540)
aout info: fifo #0 destroyed
module: unlocking module `downmixsse'
module: unlocking module `imdctsse'
thread info: 4101 has been joined ((unknown):0)
module: unlocking module `ac3_adec'
module: unlocking module `idctmmxext'
module: unlocking module `motionmmxext'
thread info: 3076 has been joined ((unknown):0)
module: unlocking module `mpeg_vdec'
input: packet lost by TS demux: current 0, packet 6
intf: stream has changed, refreshing interface
module: hiding unused plugin module `avi'
module: hiding unused plugin module `ipv6'
module: hiding unused plugin module `ipv4'
module: hiding unused plugin module `mpeg_audio'
module: hiding unused plugin module `mpeg_ps'
module: hiding unused plugin module `mpeg_es'
module: hiding unused plugin module `spudec'
module: hiding unused plugin module `lpcm_adec'
module: hiding unused plugin module `fb'
module: hiding unused plugin module `sdl'
module: hiding unused plugin module `x11'
module: unlocking module `gtk'
module: unlocking module `mpeg_ts'
input: closing network `udp/:@:1234'
module: unlocking module `udp'
thread info: 1026 has been joined ((unknown):0)
module: unlocking module `xvideo'
thread info: 6151 has been joined ((unknown):0)
thread info: 5126 has been joined ((unknown):0)
module: unlocking module `dsp'
intf: removed `udp:@:1234' from playlist
intf: playlist destroyed
module: unlocking module `memcpymmxext'
intf: program terminated
[root@eng91628-cir vlc-0.4.4]#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.