network stream
Posted: 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
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