Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mpeg4ip - replacement
Date: Sat, 25 Oct 2014 19:07:53
Message-Id: 20141025190800.GJ26352@syscon7
In Reply to: Re: [gentoo-user] mpeg4ip - replacement by Walter Dnes
1 On 10/25/14 13:51, Walter Dnes wrote:
2 >On Sat, Oct 25, 2014 at 09:41:20AM -0600, Joseph wrote
3 >
4 >> Well, the remote camera is Axis 207 so it has its own server. There
5 >> is no mplayer on it. When I access camera from the network computer
6 >> the same as camera is on both vlc and mplayer work. But when I try
7 >> to stream over the internet (from different) it doesn't work.
8 >>
9 >> Can mpalyer stream the mpeg 4 video file over rtsp; I think only
10 >> vlc can do it.
11 >
12 > You mentioned in a previous message that mplayer and vlc work on one
13 >computer, but not on the other. So we know they both work. I think the
14 >problem is somewhere in the remote access. How are you accessing the
15 >rtsp stream? Is it like so (example name and numbers)...
16 >
17 >mplayer rtsp://10.1.2.3/stream_name
18 >
19 > Things to check...
20 >
21 >* if you're using a domain name rather than an IP address, is it defined
22 > in the remote machine's /etc/hosts ?
23 >
24 >* is the remote machine's firewall blocking the camera's IP address ?
25 >
26 >* is the camera set to only stream to a specific IP address (range) ?
27 >
28 >--
29 >Walter Dnes <waltdnes@××××××××.org>
30 >I don't run "desktop environments"; I run useful applications
31
32 I can login and access the camera setting over the Internet, the only part that is not working is streaming over rtsp.
33 MotionJPEG works but that takes a lot of bandwidth.
34
35 I think you are correct it might have something to do with firewall.
36
37 I've open port range: 50000 to 50999 and forward it to 10.10.0.127 (this is camera IP address on the other network).
38
39 When I try vlc:
40 Connection failed:
41 VLC could not connect to "66.18.xxx.xxx:554".
42 Your input can't be opened:
43 VLC is unable to open the MRL 'rtsp://66.18.xxx.xxx:554/mpeg4/media.amp'. Check the log for details.
44
45 I open port 9090 (tcp/udp) on the remote firewall and forward it to 10.10.0.127:80
46 But I'm puzzled why is it trying to connect to: 66.18.xxx.xxx:554
47 Maybe this is the problem.
48
49 rtsp port 554 is enabled on the camera.
50
51 --
52 Joseph