Page 1 of 1

Trouble with stream asx video from Internet to Local Network

Posted: 05 Dec 2007 16:46
by swt
First of all i need to write what i gonna do:

I need to organize VideoServer, wich will be restream videostreams from Internet to Local Network.
I found vlc, read all docs, and started to install vlc.
Ok i have:
1. Remote Unix Server with Centos (Red Hat El4)
2. My comp with Windows Xp and Putty (remote console)

I've installed vlc from packages (DAG repository)
I've started http interface by:
#vlc -vvv -I http --http-host MyIp:Port

i went to vlm page in my interface and enter: Name, Input (url to asx video) and Output (just mmsh , ip , port, and sometimes MUX, VideoCodec, AudioCodec and etc..)

Than i said: Play and .... crash like "Segmentation Fault"

Code: Select all

[00000292] http interface debug: executing vlm command: new A1 vod enabled [00000298] main private debug: looking for vod server module: 1 candidate [00000298] vod_rtsp private debug: allowing up to 0 connections [00000298] main private debug: net: listening to port 554 [00000300] main http server debug: thread 3009395616 (httpd host thread) created at priority 0 (network/httpd.c:1078) [00000298] main private debug: using vod server module "vod_rtsp" [00000292] http interface debug: invalid index constructor (el.inputs) [00000292] http interface debug: invalid index constructor (el.options) [00000292] http interface debug: invalid index constructor (el.instances) [00000295] main http server debug: Connection from 192.168.40.118 [00000292] http interface debug: executing vlm command: setup A1 input "http://stb.net.ru/tv/chanel/asx/50.asx" [00000301] [Steam: A1] main input debug: waiting for thread completion [00000302] [Steam: A1] main stream output debug: stream=`description' [00000303] [Steam: A1] main private debug: looking for sout stream module: 1 candidate [00000301] [Steam: A1] main input debug: thread 2998905760 (input) created at priority 0 (input/input.c:265) [00000303] [Steam: A1] main private debug: using sout stream module "stream_out_description" [00000301] [Steam: A1] main input debug: `http://stb.net.ru/tv/chanel/asx/50.asx' gives access `http' demux `' path `stb.net.ru/tv/chanel/asx/50.asx' [00000301] [Steam: A1] main input debug: creating demux: access='http' demux='' path='stb.net.ru/tv/chanel/asx/50.asx' [00000305] [Steam: A1] main demuxer debug: looking for access_demux module: 0 candidates [00000305] [Steam: A1] main demuxer warning: no access_demux module matched "http" [00000301] [Steam: A1] main input debug: creating access 'http' path='stb.net.ru/tv/chanel/asx/50.asx' [00000306] [Steam: A1] main access debug: looking for access2 module: 7 candidates [00000306] [Steam: A1] access_http access debug: http: server='stb.net.ru' port=80 file='/tv/chanel/asx/50.asx [00000306] [Steam: A1] main access debug: net: connecting to stb.net.ru port 80 [00000306] [Steam: A1] main access debug: connection in progress [00000306] [Steam: A1] access_http access debug: protocol 'HTTP' answer code 200 [00000306] [Steam: A1] access_http access debug: Server: Apache/1.3.37 (Unix) mod_perl/1.29 PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.7d [00000306] [Steam: A1] access_http access debug: Transfer-Encoding: chunked [00000306] [Steam: A1] access_http access debug: Content-Type: video/x-ms-asf [00000306] [Steam: A1] main access debug: using access2 module "access_http" [00000308] [Steam: A1] main private debug: pre-buffering... [00000308] [Steam: A1] main private debug: received first data for our buffer [00000301] [Steam: A1] main input debug: creating demux: access='http' demux='' path='stb.net.ru/tv/chanel/asx/50.asx' [00000309] [Steam: A1] main demuxer debug: looking for demux2 module: 45 candidates [00000309] [Steam: A1] m3u demuxer debug: playlist type: 2 - 2 [00000309] [Steam: A1] main demuxer debug: using demux2 module "m3u" [00000301] [Steam: A1] main input debug: starting in async mode [00000301] [Steam: A1] main input debug: `http://stb.net.ru/tv/chanel/asx/50.asx' successfully opened [00000286] m3u playlist debug: unable to find item in playlist ./start_vlc_http.sh: line 1: 19421 Segmentation fault
But i try it with mms video and all it's ok.
Plz help me, cos all video url what i need is in ASX codac

Re: Trouble with stream asx video from Internet to Local Network

Posted: 12 Dec 2007 15:18
by swt
So People u don't know :)
Ok, i read a lot of docs, tried a lot of options and i know smth know:

1) I read all my logs and knew that VLC cannot demux asx. Exactly demux module m3u (which vlc choose for demuxing) cannot do this.
2) I tried to specify demux module by option "--demux=..". And i got some result: there are no crashes in this case, but i cannt choose right module. All others module which i specified cannot parse asx file.

So i think maybe u can help me now? or not