simple streaming over lan

About encoding, codec settings, muxers and filter usage
paridoth
New Cone
New Cone
Posts: 2
Joined: 26 Jun 2009 02:22

simple streaming over lan

Postby paridoth » 26 Jun 2009 02:28

I have read the guide but nothing seems to be working i keep just getting error couldn't open the steam check the logs =( (btw where are those stored on windows?)

i have some computers on my lan hooked into a router, i have a machine with the video, and i have a machine i want to stream the video too. both with vlc installed. so on the server side i choose the video and i have tried all the different protocols, i have tried leaving them blank and i have tried entering the client ip.

on the client i choose open network, i put in the ip of the server and i have tried all the different protocols, nothing ever works, i just keep getting error cant open the mrl, i have pinged the computers and they can talk fine, this is driving me crazy i must just be doing doing something obviously wrong please please help =(

ruliane
Blank Cone
Blank Cone
Posts: 18
Joined: 23 Jun 2009 10:31

Re: simple streaming over lan

Postby ruliane » 26 Jun 2009 14:03

Hi
You can access the log in real time by clicking Tools > Messages. Set the verbose level to 2 and retry connecting to your server.

paridoth
New Cone
New Cone
Posts: 2
Joined: 26 Jun 2009 02:22

Re: simple streaming over lan

Postby paridoth » 26 Jun 2009 22:27

here is the log for the client

Code: Select all

main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. qt4 debug: New item: http://192.168.1.104 main debug: adding item `http://192.168.1.104' ( http://192.168.1.104 ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: starting new item main debug: processing request item http://192.168.1.104 node null skip 0 main debug: resyncing on http://192.168.1.104 main debug: http://192.168.1.104 is at 0 main debug: creating new input thread main debug: Creating an input for 'http://192.168.1.104' main debug: thread started main debug: waiting for thread initialization main debug: `http://192.168.1.104' gives access `http' demux `' path `192.168.1.104' main debug: thread 5464 (input) created at priority 1 (../../src/input/input.c:370) qt4 debug: Updating the stream status: 3 main debug: creating demux: access='http' demux='' path='192.168.1.104' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "http" main debug: TIMER module_Need() : 0.108 ms - Total 0.108 ms / 1 intvls (Avg 0.108 ms) main debug: creating access 'http' path='192.168.1.104' main debug: looking for access module: 2 candidates access_http debug: http: server='192.168.1.104' port=80 file='(null) main debug: net: connecting to 192.168.1.104 port 80 main debug: connection: Resource temporarily unavailable main warning: connection timed out access_http error: cannot connect to 192.168.1.104:80 main debug: net: connecting to 192.168.1.104 port 80 main debug: connection: Resource temporarily unavailable main warning: connection timed out access_mms error: cannot connect to 192.168.1.104:80 main warning: no access module matching "http" could be loaded main debug: TIMER module_Need() : 10096.179 ms - Total 10096.179 ms / 1 intvls (Avg 10096.179 ms) main debug: waitpipe: object killed main error: open of `http://192.168.1.104' failed: could not create access qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 9 main debug: finished input main debug: dying input main debug: thread ended qt4 debug: Updating the stream status: 8 main debug: dead input main debug: thread times: real 0m10.093750s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 5464 joined (../../src/playlist/engine.c:244) main debug: TIMER input launching for 'http://192.168.1.104' : 10152.348 ms - Total 10152.348 ms / 1 intvls (Avg 10152.348 ms) main debug: starting new item main debug: changing item without a request (current 0/1) main debug: nothing to play

and here is the log for the server

Code: Select all

qt4 debug: MRL passed to the Sout: /home/server/Desktop/cheese.avi qt4 debug: Profile Used: theora qt4 debug: Sout mrl :sout=#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ogg,dst=:8080}} main debug: adding item `Streaming' ( /home/server/Desktop/cheese.avi ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 2 items, index 0 main debug: dying input main debug: control type=0 main debug: control: stopping input avi debug: free chunk avih avi debug: free chunk strh avi debug: free chunk strf avi debug: free chunk JUNK avi debug: free chunk LIST avi debug: free chunk strh avi debug: free chunk strf avi debug: free chunk JUNK avi debug: free chunk LIST avi warning: unknown chunk (not unloaded) avi debug: free chunk LIST avi debug: free chunk LIST avi debug: free chunk ISFT avi debug: free chunk LIST avi debug: free chunk JUNK avi debug: free chunk LIST avi debug: free chunk idx1 avi debug: free chunk RIFF avi debug: free chunk JUNK avi debug: free chunk LIST main debug: removing module "avi" main debug: removing module "access_file" main debug: removing module "packetizer_mpeg4video" main debug: killing decoder fourcc `XVID', 0 PES in FIFO main debug: removing module "mpeg_audio" main debug: killing decoder fourcc `mpga', 0 PES in FIFO main debug: removing a sout input (sout_input:0x92a6b90) main debug: TIMER encoding audio frame : 0.312 ms - Total 399.325 ms / 1338 intvls (Avg 0.298 ms) main debug: removing module "mpeg_audio" main debug: removing module "avcodec" main debug: Filter 'mpgatofixed32' (0x92aad5c) removed from chain main debug: removing module "mpgatofixed32" main debug: Filter 'audio_format' (0x92c8cc4) removed from chain main debug: removing module "audio_format" mux_ts debug: removing input pid=68 mux_ts debug: new PCR PID is 8191 main warning: no more input streams for this mux main debug: thread ended qt4 debug: Updating the stream status: 8 main debug: dead input main debug: thread 2943654800 joined (playlist/engine.c:244) main debug: TIMER input launching for 'Streaming' : 867.815 ms - Total 867.815 ms / 1 intvls (Avg 867.815 ms) main debug: destroying chain... (name=transcode) main debug: destroying chain... (name=duplicate) stream_out_duplicate debug: closing a duplication main debug: destroying chain... (name=std) main debug: removing module "mux_ts" main debug: waitpipe: object killed main debug: thread ended main debug: thread 2935028624 joined (network/httpd.c:1164) main debug: HTTP host removed main debug: no host left, stopping httpd access_output_http debug: Close main debug: removing module "access_output_http" main debug: removing module "stream_out_standard" main debug: destroying chain done main debug: removing module "stream_out_duplicate" main debug: destroying chain done main debug: removing module "stream_out_transcode" main debug: destroying chain done main debug: starting new item main debug: processing request item Streaming node null skip 0 main debug: resyncing on Streaming main debug: Streaming is at 1 main debug: creating new input thread main debug: Creating an input for 'Streaming' main debug: waiting for thread initialization main debug: thread started main debug: stream=`transcode' main debug: looking for sout stream module: 1 candidate main debug: stream=`duplicate' main debug: looking for sout stream module: 1 candidate stream_out_duplicate debug: creating 'duplicate' stream_out_duplicate debug: * adding `std{access=http,mux=ogg,dst=:8080}' main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: thread 2935028624 (input) created at priority 10 (input/input.c:370) qt4 debug: Updating the stream status: 3 main debug: set config option: sout-standard-access to http main debug: set config option: sout-standard-mux to ogg main debug: set config option: sout-standard-dst to :8080 stream_out_standard debug: creating `http/ogg://:8080' stream_out_standard debug: using `http/ogg://:8080' main debug: looking for sout access module: 1 candidate main info: creating httpd main debug: net: listening to port 8080 main debug: thread started main debug: thread 2943654800 (httpd host thread) created at priority 0 (network/httpd.c:1107) main debug: using sout access module "access_output_http" main debug: TIMER module_Need() : 27.570 ms - Total 27.570 ms / 1 intvls (Avg 27.570 ms) stream_out_standard debug: access opened main debug: looking for sout mux module: 1 candidate mux_ogg info: Open main debug: using sout mux module "mux_ogg" main debug: TIMER module_Need() : 1.431 ms - Total 1.431 ms / 1 intvls (Avg 1.431 ms) main debug: muxer support adding stream at any time main debug: muxer prefers to wait for all ES before starting to mux stream_out_standard debug: mux opened main debug: using sout stream module "stream_out_standard" main debug: TIMER module_Need() : 31.933 ms - Total 31.933 ms / 1 intvls (Avg 31.933 ms) main debug: using sout stream module "stream_out_duplicate" main debug: TIMER module_Need() : 32.081 ms - Total 32.081 ms / 1 intvls (Avg 32.081 ms) main debug: set config option: sout-transcode-vcodec to theo main debug: set config option: sout-transcode-vb to 800 main debug: set config option: sout-transcode-scale to 1 main debug: set config option: sout-transcode-acodec to vorb main debug: set config option: sout-transcode-ab to 128 main debug: set config option: sout-transcode-channels to 2 stream_out_transcode debug: codec audio=vorb 0Hz 2 channels 128Kb/s stream_out_transcode debug: codec video=theo 0x0 scaling: 1.000000 800kb/s main debug: using sout stream module "stream_out_transcode" main debug: TIMER module_Need() : 49.756 ms - Total 49.756 ms / 1 intvls (Avg 49.756 ms) main debug: `/home/server/Desktop/cheese.avi' gives access `' demux `' path `/home/server/Desktop/cheese.avi' main debug: creating demux: access='' demux='' path='/home/server/Desktop/cheese.avi' main debug: looking for access_demux module: 3 candidates main debug: TIMER module_Need() : 0.240 ms - Total 0.240 ms / 1 intvls (Avg 0.240 ms) main debug: creating access '' path='/home/server/Desktop/cheese.avi' main debug: looking for access module: 7 candidates vcd debug: trying .cue file: /home/server/Desktop/cheese.cue vcd debug: could not find .cue file access_file debug: opening file `/home/server/Desktop/cheese.avi' main debug: using access module "access_file" main debug: TIMER module_Need() : 1.522 ms - Total 1.522 ms / 1 intvls (Avg 1.522 ms) main debug: Using AStream*Stream main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 292321 kbytes/s main debug: creating demux: access='' demux='' path='/home/server/Desktop/cheese.avi' main debug: looking for demux module: 60 candidates avi debug: found Chunk fourcc:46464952 (RIFF) size:735048894 pos:0 avi debug: found LIST chunk: 'AVI ' avi debug: <list 'AVI '> avi debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12 avi debug: found LIST chunk: 'hdrl' avi debug: <list 'hdrl'> avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 656x352 avi debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 avi debug: strh: type:vids handler:0x64697678 samplesize:0 25.00fps avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 avi debug: strf: video:XVID 656x352 planes:1 12bpp avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212 avi debug: </list 'strl'> avi debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352 avi debug: strh: type:auds handler:0x00000000 samplesize:0 41.67fps avi debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416 avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 125kb/s avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454 avi debug: </list 'strl'> avi debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582 avi debug: found LIST chunk: 'odml' avi debug: <list 'odml'> avi debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594 avi warning: unknown chunk (not loaded) avi debug: </list 'odml'> avi debug: </list 'hdrl'> avi debug: found Chunk fourcc:5453494c (LIST) size:56 pos:8850 avi debug: found LIST chunk: 'INFO' avi debug: <list 'INFO'> avi debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:8862 avi debug: ISFT: software : VirtualDubMod 1.5.10.2 (build 2540/release) avi debug: </list 'INFO'> avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1318 pos:8914 avi debug: found Chunk fourcc:5453494c (LIST) size:728302646 pos:10240 avi debug: skipping movi chunk avi debug: found Chunk fourcc:31786469 (idx1) size:6736000 pos:728312894 avi debug: idx1: index entry:421000 avi debug: </list 'AVI '> avi debug: found Chunk fourcc:4b4e554a (JUNK) size:818 pos:735048902 avi debug: * LIST-root size:735049728 pos:0 avi debug: + RIFF-AVI size:735048894 pos:0 avi debug: | + LIST-hdrl size:8830 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:4244 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:40 pos:164 avi debug: | | | + JUNK size:4120 pos:212 avi debug: | | + LIST-strl size:4234 pos:4340 avi debug: | | | + strh size:56 pos:4352 avi debug: | | | + strf size:30 pos:4416 avi debug: | | | + JUNK size:4120 pos:4454 avi debug: | | + LIST-odml size:260 pos:8582 avi debug: | | | + dmlh size:248 pos:8594 avi debug: | + LIST-INFO size:56 pos:8850 avi debug: | | + ISFT size:44 pos:8862 avi debug: | + JUNK size:1318 pos:8914 avi debug: | + LIST-movi size:728302646 pos:10240 avi debug: | + idx1 size:6736000 pos:728312894 avi debug: + JUNK size:818 pos:735048902 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED avi debug: stream[0] rate:25 scale:1 samplesize:0 avi debug: stream[0] video(XVID) 656x352 12bpp 25.000000fps main debug: selecting program id=0 avi debug: stream[1] rate:48000 scale:1152 samplesize:0 avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 2 qt4 debug: New Event: type 1103 qt4 debug: New Event: type 1108 avi debug: stream[0] created 157875 index entries avi debug: stream[1] created 263125 index entries avi debug: stream[0] length:6315 (based on index) avi debug: stream[1] length:6315 (based on index) main debug: using demux module "avi" main debug: TIMER module_Need() : 185.193 ms - Total 185.193 ms / 1 intvls (Avg 185.193 ms) main debug: looking for a subtitle file in /home/server/Desktop/ main debug: looking for packetizer module: 18 candidates main debug: using packetizer module "packetizer_mpeg4video" main debug: TIMER module_Need() : 0.253 ms - Total 0.253 ms / 1 intvls (Avg 0.253 ms) main debug: stream out mode -> no decoder thread main debug: looking for packetizer module: 18 candidates main debug: using packetizer module "mpeg_audio" main debug: TIMER module_Need() : 0.196 ms - Total 0.196 ms / 1 intvls (Avg 0.196 ms) main debug: stream out mode -> no decoder thread main debug: starting in async mode main debug: `/home/server/Desktop/cheese.avi' successfully opened avi debug: old:0 < new 0 avi debug: old:0 < new 0 main debug: control type=1 mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128 main debug: adding a new sout input (sout_input:0xb672a268) stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`vorb' main debug: looking for decoder module: 30 candidates main debug: using decoder module "mpeg_audio" main debug: TIMER module_Need() : 0.291 ms - Total 0.291 ms / 1 intvls (Avg 0.291 ms) main debug: looking for encoder module: 10 candidates main debug: using encoder module "vorbis" main debug: TIMER module_Need() : 70.246 ms - Total 70.246 ms / 1 intvls (Avg 70.246 ms) stream_out_transcode debug: Looking for filter (mpga->fl32, channels 2->2, rate 48000->48000) main debug: looking for audio filter2 module: 8 candidates mpgatofixed32 debug: mpga->fl32, bits per sample: 0 main debug: using audio filter2 module "mpgatofixed32" main debug: TIMER module_Need() : 0.340 ms - Total 0.340 ms / 1 intvls (Avg 0.340 ms) main debug: Filter 'mpgatofixed32' (0xb6731594) appended to chain stream_out_transcode debug: Got complete audio filter chain stream_out_duplicate debug: duplicated a new stream codec=vorb (es=1 group=0) main debug: adding a new input mux_ogg debug: adding input mux_ogg debug: vorbis stream stream_out_duplicate debug: - added for output 0 main debug: switching to sync mode mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128 packetizer_mpeg4video warning: waiting for VOL packetizer_mpeg4video warning: waiting for VOL main debug: adding a new sout input (sout_input:0xb670cd78) stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`theo' main debug: looking for decoder module: 30 candidates avcodec debug: libavcodec already initialized avcodec debug: using direct rendering avcodec debug: ffmpeg codec (MPEG-4 Video) started main debug: using decoder module "avcodec" main debug: TIMER module_Need() : 2.219 ms - Total 2.219 ms / 1 intvls (Avg 2.219 ms) main debug: looking for encoder module: 10 candidates main debug: using encoder module "theora" main debug: TIMER module_Need() : 40.713 ms - Total 40.713 ms / 1 intvls (Avg 40.713 ms) main debug: removing module "theora" avcodec debug: Invalid and inefficient vfw-avi packed B frames detected (mpeg4@0x92d1650) stream_out_transcode debug: decoder aspect is 805090:432000 stream_out_transcode debug: source pixel aspect is 0.999999:1 stream_out_transcode debug: scaled pixel aspect is 0.999999:1 stream_out_transcode debug: source 656x352, destination 656x352 stream_out_transcode debug: encoder aspect is 805090:432000 stream_out_transcode debug: destination (after video filters) 656x352 main debug: looking for encoder module: 10 candidates main debug: using encoder module "theora" main debug: TIMER module_Need() : 7.352 ms - Total 7.352 ms / 1 intvls (Avg 7.352 ms) stream_out_duplicate debug: duplicated a new stream codec=theo (es=0 group=0) main debug: adding a new input mux_ogg debug: adding input mux_ogg debug: theora stream stream_out_duplicate debug: - added for output 0 qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 3 mux_ogg debug: writing header mux_ogg debug: creating header for vorb mux_ogg debug: creating header for theo stream_out_transcode debug: late picture skipped (1319) stream_out_transcode debug: late picture skipped (15159) stream_out_transcode debug: late picture skipped (6856) stream_out_transcode debug: late picture skipped (10023) stream_out_transcode debug: late picture skipped (16252) main warning: late buffer for mux input (328) stream_out_transcode debug: late picture skipped (26551) stream_out_transcode debug: late picture skipped (14919) main warning: late buffer for mux input (3881) stream_out_transcode debug: late picture skipped (31659) main warning: late buffer for mux input (10543) stream_out_transcode debug: late picture skipped (36458) stream_out_transcode debug: late picture skipped (14519) main warning: late buffer for mux input (5328) stream_out_transcode debug: late picture skipped (26035) stream_out_transcode debug: late picture skipped (2589) stream_out_transcode debug: late picture skipped (12228) stream_out_transcode debug: late picture skipped (19634)stream_out_transcode debug: late picture skipped (10128) stream_out_transcode debug: late picture skipped (4037) stream_out_transcode debug: late picture skipped (13256) main warning: late buffer for mux input (17263) stream_out_transcode debug: late picture skipped (35162) stream_out_transcode debug: late picture skipped (6496) stream_out_transcode debug: late picture skipped (8964) stream_out_transcode debug: late picture skipped (6953) stream_out_transcode debug: late picture skipped (3392) stream_out_transcode debug: late picture skipped (933) stream_out_transcode debug: late picture skipped (6370) stream_out_transcode debug: late picture skipped (1885) stream_out_transcode debug: late picture skipped (2655) stream_out_transcode debug: late picture skipped (3996) stream_out_transcode debug: late picture skipped (4185) stream_out_transcode debug: late picture skipped (4173) stream_out_transcode debug: late picture skipped (15355) stream_out_transcode debug: late picture skipped (13062) stream_out_transcode debug: late picture skipped (13983) stream_out_transcode debug: late picture skipped (9623) stream_out_transcode debug: late picture skipped (13846) stream_out_transcode debug: late picture skipped (10614) stream_out_transcode debug: late picture skipped (8267) stream_out_transcode debug: late picture skipped (13640) stream_out_transcode debug: late picture skipped (648) stream_out_transcode debug: late picture skipped (3623) stream_out_transcode debug: late picture skipped (1644) stream_out_transcode debug: late picture skipped (1780) stream_out_transcode debug: late picture skipped (432) stream_out_transcode debug: late picture skipped (16) stream_out_transcode debug: late picture skipped (1130) stream_out_transcode debug: late picture skipped (9414) main warning: late buffer for mux input (2407) stream_out_transcode debug: late picture skipped (24141) stream_out_transcode debug: late picture skipped (20391) stream_out_transcode debug: late picture skipped (9285)

just-do-it
Cone that earned his stripes
Cone that earned his stripes
Posts: 152
Joined: 08 Aug 2006 00:51
Operating System: 'does/Linux
Location: uk
Contact:

Re: simple streaming over lan

Postby just-do-it » 27 Jun 2009 03:09

Hi - I had HUGE difficulties streaming none of which were vlc :) and all of which were me :(
This may help http://just-do-it.no-ip.org/vlc/vlc%20q ... /index.htm - If it does not give me more details and I will try to help
NOTE (29/06/2009) - I have had to stop the streams mentione in the link above owing to my tired old server 'bailing out' and crashing my usb harddrives but I will start the streams again if needed...
(although I was tryingg to stream over the web LAN is pretty similar so this may help)
Chris

PS I have looked at you logs and I may be wrong - a REAL PERSON who knows vlc well could confirm but it looks as if your server is chugging along OK BUT your client seems not to be 'seeing' the stream - Have you got a firewall stopping access to 192.168.1.104:port 80 ?
main debug: looking for access module: 2 candidates
access_http debug: http: server='192.168.1.104' port=80 file='(null)
main debug: net: connecting to 192.168.1.104 port 80
main debug: connection: Resource temporarily unavailable
PLUS on your server
qt4 debug: Sout mrl :sout=#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ogg,dst=:8080}

are you broadcasting the stream on 8080 and trying to get it on 80 ?
Ahh Go on; Go on

ruliane
Blank Cone
Blank Cone
Posts: 18
Joined: 23 Jun 2009 10:31

Re: simple streaming over lan

Postby ruliane » 30 Jun 2009 11:51

@just-do-it : try to decrease the quality of your stream. It is the only solution I see...

@paridoth : As just-do-it suggested, I think you are trying to connect to port 80 while your server is broadcasting on port 8080. Choose the same port, preferably not the 8080 one, which is used by the HTTP interface. Choose a port higher than 1024 to avoid permissions problems.

Brak
New Cone
New Cone
Posts: 6
Joined: 11 Mar 2009 23:30

Re: simple streaming over lan

Postby Brak » 05 Jul 2009 09:10

I'm having the same issues. I have tried different protocols as well.
The docs are of no use, as things don't look like they do on my version of VLC (the most recent).

ruliane
Blank Cone
Blank Cone
Posts: 18
Joined: 23 Jun 2009 10:31

Re: simple streaming over lan

Postby ruliane » 06 Jul 2009 10:24

Try to send & receive on the same computer. It will eliminate any network problem. Have you checked you are streaming on a good port ( >1024 and != 8080) ?

Brak
New Cone
New Cone
Posts: 6
Joined: 11 Mar 2009 23:30

Re: simple streaming over lan

Postby Brak » 06 Jul 2009 10:52

How do I do that (on the same computer)?
I am using the defult port 1234

just-do-it
Cone that earned his stripes
Cone that earned his stripes
Posts: 152
Joined: 08 Aug 2006 00:51
Operating System: 'does/Linux
Location: uk
Contact:

Re: simple streaming over lan

Postby just-do-it » 06 Jul 2009 13:03

My pc's card address is 192.168.2.5 and I use port 8080 - which enables me to stream over the web...
http://just-do-it.no-ip.org/_Video/THE_ ... ntrol.html

If you cannot see anything after preessing the 'go' button on port 8081 then whatever firewall between you and me is blocking port 8081 - if this is changed to port 8080 it should work...
which is why I use port 8080 which is allowed by my work address

To send to port 1234 on a PC

Code: Select all

vlc 'DOS path to your file' :sout=#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,dst='your network card's ip address'1234}}
ie on my pc

Code: Select all

rem #1 multicast vlc from command line - to be run on server.bat "c:\program files\videolan\vlc\vlc" "W:\data.cjs\data.cjs1\Audio\pink floyde\pink floyde.wav" :sout=#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=192.168.2.5:8080}}
To recieve on the same pc

Code: Select all

vlc http://'Your network card's ip address':1234
ie on my pc

Code: Select all

c:\program files\videolan\vlc\vlc" http://192.168.2.5:8080
Ahh Go on; Go on

SASQUACH
New Cone
New Cone
Posts: 1
Joined: 10 Jul 2009 23:40

Re: simple streaming over lan

Postby SASQUACH » 10 Jul 2009 23:48

I have just figured out how to stream a single file on a lan using this site
http://notoveryet.wordpress.com/2009/07 ... vlc-1-0-0/
I hope it helps you too.
Now if I could get it to stream all the files I give it and not just the first one over
and over, we will be making progress.


SASQUACH


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests