Streaming of playlist - no client connection

About encoding, codec settings, muxers and filter usage
perica
Blank Cone
Blank Cone
Posts: 15
Joined: 02 Nov 2004 13:27

Streaming of playlist - no client connection

Postby perica » 11 Mar 2005 10:21

Hi!

I am using VLC 0.8.1 on the SuSE 9.2

The list of URL's to stream is defined in the playlist asfinag_playlist.m3u

#EXTM3U
http://80.240.228.233/liveimgs/cam4_camera007_233.jpg
http://80.240.228.233/liveimgs/camera1288_233.jpg


and the command line to start the stream is:

./vlc -vvv /home/banjann/video/asfinag_playlist.m3u :sout='#duplicate{dst=std{access=http,mux=ts,url=xxx.168.0.220:8081}}' --http-continuous --repeat

At the server side I can see that the streaming is running, but at the client side at (Win XP) I can not open the connection.

Here is the log out at the client side:

main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3456 (input) created at priority 1 (src/input/input.c:228)
main debug: `http://xxx.xx.125.220:8081' gives access `http' demux `' path `xxx.xx.125.220:8081'
main debug: demux2_New: access='http' demux='' path='xxx.xx.125.220:8081'
main debug: looking for access_demux module
main debug: probing 0 candidates
main warning: no access_demux module matched "http"
main debug: access2_New: access='http' path='xxx.xx.125.220:8081'
main debug: looking for access2 module
main debug: probing 6 candidates
access_http debug: http: server='xxx.xx.125.220' port=8081 file='(null)
main debug: net: connecting to 'xxx.xx.125.220:8081'
main debug: looking for network module
main debug: probing 2 candidates
ipv4 debug: connection in progress
ipv4 debug: connection aborted
ipv6 warning: cannot create socket (No error)
main debug: net: connection to 'xxx.x.125.220:8081' failed
access_http error: cannot connect to xxx.xx.125.220:8081
main debug: net: connecting to 'xxx.xx.125.220:8081'
main debug: looking for network module
main debug: probing 2 candidates
ipv4 debug: connection in progress
ipv4 debug: connection aborted
ipv6 warning: cannot create socket (Bad file descriptor)
main debug: net: connection to 'xxx.xx.125.220:8081' failed
access_http error: cannot connect to xxx.xx.125.220:8081
main debug: net: connecting to 'xxx.xx.125.220:8081'
main debug: looking for network module
main debug: probing 2 candidates
ipv4 debug: connection in progress
ipv4 debug: connection aborted
ipv6 warning: cannot create socket (Bad file descriptor)
main debug: net: connection to 'xxx.xx.125.220:8081' failed
access_mms error: cannot connect to xxx.xx.125.220:8081
vcd debug: trying .cue file: xxx.xx.125.cue
vcd warning: could not open xxx.xx.125.220:8081
access_file warning: cannot stat() file `xxx.xx.125.220:8081' (No such file or directory)
cdda debug: trying .cue file: xxx.xx.125.cue
cdda warning: could not open xxx.xx.125.220:8081
main warning: no access2 module matching "http" could be loaded
main error: no suitable access module for `http://xxx.xx.125.220:8081'
main debug: thread 3456 joined (src/input/input.c:290)

The main idea is to have the fallback input source in case that the firts one failed.

Does anyone have any experience with this?

Thanks in advance!

Best regards!

Peric@

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 11 Mar 2005 17:19

Hey,

The log for the client would have been interesting.

The url in your playlist htp:// ...... .jpg doesn't look like a video.

Do you manage to view this url locall with vlc.
Xtophe

perica
Blank Cone
Blank Cone
Posts: 15
Joined: 02 Nov 2004 13:27

Postby perica » 14 Mar 2005 09:49

Hi!

The input source is not a video, but the steady jpeg, regularly refreshed. I can open it and stream further without using the playlists.
But in case when I define the source in the playlist I can not connect to the VLC server not even on the same machine.

At the server side log is the following:

[00000248] ffmpeg decoder debug: ffmpeg codec (Motion JPEG Video) started
[00000016] main module debug: using decoder module "ffmpeg"
[00000248] main decoder debug: thread 1087249328 (decoder) created at priority 0 (src/input/decoder.c:157)
[00000237] main input debug: `http://80.240.228.233/liveimgs/cam4_camera007_233.jpg' sucessfully opened
[00000243] mjpeg demuxer debug: JPEG EOI detected at 12152
[00000248] main decoder debug: no usable vout present, spawning one
[00000260] main video output debug: looking for video output module
[00000260] main video output debug: probing 2 candidates
[00000260] fb video output error: cannot get terminal mode (Invalid argument)
[00000136] main module debug: using video output module "dummy"
[00000260] main video output debug: got 8 direct buffer(s)
[00000260] main video output debug: picture in 352x288, chroma 0x30323449 (I420), aspect ratio 11:9
[00000260] main video output debug: picture out 352x288, chroma 0x30323449 (I420), aspect ratio 11:9
[00000260] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000260] main video output debug: waiting for thread completion
[00000260] main video output debug: thread 1107643312 (video output) created at priority 0 (src/video_output/video_output.c:443)
[00000261] main private debug: Registering subpicture channel, ID: 2
[00000261] main private debug: Registering subpicture channel, ID: 3
[00000261] main private debug: Registering subpicture channel, ID: 4
[00000261] main private debug: Registering subpicture channel, ID: 5
[00000239] access_http access debug: protocol 'HTTP' answer code 206
[00000239] access_http access debug: Server: Microsoft-IIS/5.0
[00000239] access_http access debug: Content-Type: image/jpeg
[00000239] access_http access debug: this frame size=12138
[00000243] mjpeg demuxer debug: JPEG EOI detected at 12202
[00000239] access_http access debug: protocol 'HTTP' answer code 206
[00000239] access_http access debug: Server: Microsoft-IIS/5.0
[00000239] access_http access debug: Content-Type: image/jpeg
[00000239] access_http access debug: this frame size=12183
[00000243] mjpeg demuxer debug: JPEG EOI detected at 12138
[00000239] access_http access debug: protocol 'HTTP' answer code 206
[00000239] access_http access debug: Server: Microsoft-IIS/5.0
[00000239] access_http access debug: Content-Type: image/jpeg
[00000239] access_http access debug: this frame size=12183
[00000243] mjpeg demuxer debug: JPEG EOI detected at 12183
[00000239] access_http access debug: protocol 'HTTP' answer code 206
[00000239] access_http access debug: Server: Microsoft-IIS/5.0
[00000239] access_http access debug: Content-Type: image/jpeg
[00000239] access_http access debug: this frame size=12184
[00000243] mjpeg demuxer debug: JPEG EOI detected at 12183


best regards!

Peric@


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 20 guests