[streaming] VOD http problems

Pablo Salinas pablopesb at yahoo.com
Wed Mar 22 04:16:59 CET 2006


Hi there,
            I've been working on converting my X-BOX into a Media Server. I've already installed xebian (Debian for the XBOX) and VLC media player 0.8.2-svn Janus
on it.

When I do a broadcast from vlc it works just fine.

So, I tried to make it work with the Video on Demand feature from vlc. VOD of avi files through RTP also works fine. Although forwarding or rewinding doesn't.

But, RTP outputing of streamed DVDs or HTTP output of any type of file presents several problems:

1) VOD of streamed DVDs through RTP:

These were the steps I've followed:

On my xbox shell
#vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 192.168.2.102:2222

On the vlc telnet:
new Test2 vod enabled
setup Test2 input dvdsimple:///mnt/media/dvds/seven

On the client machine (Windows Machine with VLC GUI):
rtsp://192.168.2.102:2222/Test2  :rtsp-caching=1200

But, the Video has a bad quality and on the XBOX machine, I get several of these errors:

[00000254] vod_rtsp private debug: HTTPD_MSG_PAUSE for session: 672660862
[00000361] access_output_udp private debug: packet has been sent too late (117745)
[00000361] access_output_udp private debug: packet has been sent too late (111380)

2) VOD of any files through HTTP:

On my xbox shell:
# vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan

On the vlc telnet:
 new Test2 vod enabled
 setup Test2 output #std{access=http,mux=ts,url=192.168.2.102:2222}
setup Test2 input dvdsimple:///mnt/media/dvds/seven

But, it freezes after the last command on the vlc's telnet console.

This is the output I get on the XBOX:

[00000254] main private debug: looking for vod server module: 1 candidate
[00000254] main private: creating httpd
[00000257] main private debug: thread 98311 (httpd host thread) created at priority 0 (src/misc/httpd.c:1172)
[00000193] main module debug: using vod server module "vod_rtsp"
[00000258] main input debug: set input option: sout to #std{access=http,mux=ts,url=192.168.2.102:2222}:description
[00000258] main input debug: waiting for thread completion
[00000258] main input debug: thread 114696 (input) created at priority 0 (src/input/input.c:227)
[00000259] main stream output debug: stream=`std'
[00000260] main private debug: looking for sout stream module: 1 candidate
[00000260] main private debug: set sout option: sout-standard-access to http
[00000260] main private debug: set sout option: sout-standard-mux to ts
[00000260] main private debug: set sout option: sout-standard-url to 192.168.2.102:2222
[00000260] stream_out_standard private debug: creating `http/ts://192.168.2.102:2222'
[00000260] stream_out_standard private debug: extention is 102:2222
[00000260] stream_out_standard private debug: extention -> mux=(null)
[00000260] stream_out_standard private debug: using `http/ts://192.168.2.102:2222'
[00000262] main private debug: looking for sout access module: 1 candidate
[00000264] main private debug: thread 131081 (httpd host thread) created at priority 0 (src/misc/httpd.c:1172)
[00000232] main module debug: using sout access module "access_output_http"
[00000260] stream_out_standard private debug: access opened
[00000265] main private debug: looking for sout mux module: 1 candidate
[00000265] mux_ts private debug: Open
[00000265] mux_ts private debug: shaping=200000 pcr=30000 dts_delay=200000
[00000265] mux_ts private debug: invalid csa ck (it must be 16 chars long)
[00000012] main module debug: using sout mux module "mux_ts"
[00000259] main stream output debug: muxer support adding stream at any time
[00000260] stream_out_standard private debug: mux opened
[00000236] main module debug: using sout stream module "stream_out_standard"
[00000258] main input debug: `dvdsimple:///mnt/media/dvds/seven' gives access `dvdsimple' demux `' path `/mnt/media/dvds/seven'
[00000258] main input debug: creating demux: access='dvdsimple' demux='' path='/mnt/media/dvds/seven'
[00000266] main demuxer debug: looking for access_demux module: 1 candidate
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
[00000266] dvdread demuxer debug: VMG opened
[00000266] dvdread demuxer debug: number of titles: 4
[00000266] dvdread demuxer debug: title 0 has 38 chapters
[00000266] dvdread demuxer debug: title 1 has 2 chapters
[00000266] dvdread demuxer debug: title 2 has 3 chapters
[00000266] dvdread demuxer debug: title 3 has 2 chapters
[00000266] dvdread demuxer debug: open VTS 1, for title 1
[00000266] dvdread demuxer debug: title 1 vts_title 1 pgc 1 pgn 1 start 0 end 2243518 blocks: 2243519
[00000258] main input debug: selecting program id=0
[00000266] dvdread demuxer debug: audio position  0
[00000266] dvdread demuxer debug: audio position  1
[00000266] dvdread demuxer debug: audio position  2
[00000266] dvdread demuxer debug: audio position  3
[00000266] dvdread demuxer debug: audio position  4
[00000266] dvdread demuxer debug: audio position  5
[00000266] dvdread demuxer debug: spu 1 0x80000000
[00000266] dvdread demuxer debug: spu 2 0x80010100
[00000027] main module debug: using access_demux module "dvdread"
[00000268] main packetizer debug: looking for packetizer module: 16 candidates
[00000041] main module debug: using packetizer module "packetizer_mpegvideo"
[00000258] main input debug: stream out mode -> no decoder thread
[00000280] main packetizer debug: looking for packetizer module: 16 candidates
[00000104] main module debug: using packetizer module "a52"
[00000258] main input debug: stream out mode -> no decoder thread
[00000258] main input debug: starting in synch mode
[00000258] main input debug: `dvdsimple:///mnt/media/dvds/seven' sucessfully opened
[00000268] packetizer_mpegvideo packetizer debug: Size 720x480 fps=29.970
[00000259] main stream output debug: adding a new input
[00000265] main private debug: adding a new input
[00000265] mux_ts private debug: adding input codec=mpgv pid=68
[00000265] mux_ts private debug: new PCR PID is 68
[00000265] mux_ts private debug: adjusting rate at 0/200197 (45/10)
[00000280] a52 packetizer: A/52 channels:6 samplerate:48000 bitrate:448000
[00000259] main stream output debug: adding a new input
[00000265] main private debug: adding a new input
[00000265] mux_ts private debug: adding input codec=a52  pid=69
[00000265] mux_ts private debug:     - lang=eng
[00000265] mux_ts private debug: adjusting rate at -367026/200207 (12/221)
[00000265] mux_ts private debug: adjusting rate at 0/216882 (336/197)
[00000265] mux_ts private debug: adjusting rate at 0/216882 (330/179)
[00000265] mux_ts private debug: adjusting rate at 0/216882 (336/205)


2) VOD of any files through HTTP(2):
 
 On my xbox shell:
 # vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan
 
On the vlc telnet:
  new Test2 vod enabled
  setup Test2 input dvdsimple:///mnt/media/dvds/seven
setup Test2 output #transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,url=192.168.2.102:2222}}

But, when I try to watch the DVD on the Windows machine, nothing is played. This is the XBOX output I get:

peek=GET
received new request=GET /Test2 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: 192.168.2.102:2222
Pragma: no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=1,max-duration=0
Pragma: xClientGUID={babac001-57d2-854b-89a106056dab1379}
Connection: Close


received new request
  - proto=HTTP
  - version=0
  - msg=3
  - url=/Test2
  - option name='Accept' value='*/*'
  - option name='User-Agent' value='NSPlayer/4.1.0.3856'
  - option name='Host' value='192.168.2.102:2222'
  - option name='Pragma' value='no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=1,max-duration=0'
  - option name='Pragma' value='xClientGUID={babac001-57d2-854b-89a106056dab1379}'
  - option name='Connection' value='Close'
sending answer
HTTP/1.0 404 Not found
Content-Length: 182

[00000275] main private debug: connection closed(192.168.2.101)


Bottom line is:

How can I properly watch VOD DVDs from my XBOX?
How can I VOD stream through HTTP?

Thanks in advance.

best regards,
                 Pablo Salinas

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20060321/4d5a43b8/attachment.htm 


More information about the streaming mailing list