network stream

About encoding, codec settings, muxers and filter usage
shark95
New Cone
New Cone
Posts: 6
Joined: 04 Dec 2008 16:47

network stream

Postby shark95 » 04 Dec 2008 17:18

hi vlc community!

I want to stream just a file (later on a DVB-S channel) on my home network. I use PC with OpenSuse 11.0 with vlc 0.9.6 as a server and a notebook with windows Vista and vlc 0.9.6 as a client. I set up my stream on the server: i select the file i want to stream in vlc streaming options. Then i use RTP-Protocol and type in the IP of the client (in my case 192.168.0.7) and take the default port 1234. If i use the MPEG-2 Codec i get the error:

avcodec error: cannot open encoder
stream_out_transcode error: cannot find video encoder (module:any fourcc:mp2v)

What does that mean and how can i solve this problem?

ok, so i take another codec: I use MPEG-TS with MPEG 4 (videocodec) and MPEG 4 Audio (AAC) (audiocodec). That works (no error).

But if i want to receive the stream on my client i always get this error:

main error: socket bind error (Cannot assign requested address)
main error: no access module matched "rtp"
main error: open of 'rtp://@192.168.0.3:1234' failed: could not create access: no module matched "rtp"

The IP addresses and ports are correct, all firewalls on my Systems are disabled, so i don't know where i can find my mistake. I also tried UDP: same result.

But if i start vlc twice on my OpenSuse System (once as a server, once as a client) and stream the file to the IP 127.0.0.1 it works. Seems that somethings going wrong with my network but i don't know what. But the connection should be ok, if i try ping i always get good results.

Thank you

developer
Blank Cone
Blank Cone
Posts: 43
Joined: 03 Nov 2008 10:40

Re: network stream

Postby developer » 05 Dec 2008 14:24

i was get that error also,

use old version of VLC, like 0.8.*.

my problem solved when i use 0.8.*.

have a nice work . . .

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: network stream

Postby Rémi Denis-Courmont » 06 Dec 2008 11:09

Cannot assign requested address
You are trying to listen on an IP address which does not belong to your computer...

Use rtp://192.168.0.3@192.168.0.7:1234
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

shark95
New Cone
New Cone
Posts: 6
Joined: 04 Dec 2008 16:47

Re: network stream

Postby shark95 » 06 Dec 2008 11:39

Cannot assign requested address
You are trying to listen on an IP address which does not belong to your computer...

Use rtp://192.168.0.3@192.168.0.7:1234

yeah thank you very much, that works :D :D


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests