From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-159471-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id E80B51387D3
	for <garchives@archives.gentoo.org>; Sat, 25 Oct 2014 19:07:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6916CE091A;
	Sat, 25 Oct 2014 19:07:48 +0000 (UTC)
Received: from mail119c7.megamailservers.com (mail772.megamailservers.com [69.49.98.82])
	(using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 51014E083D
	for <gentoo-user@lists.gentoo.org>; Sat, 25 Oct 2014 19:07:47 +0000 (UTC)
X-POP-User: admin@sys-concept.com
X-VIP: 69.49.109.100
Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13])
	by mail119c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s9PJ7iHq001811
	for <gentoo-user@lists.gentoo.org>; Sat, 25 Oct 2014 15:07:46 -0400
Received: by syscon7.localdomain (Postfix, from userid 1000)
	id 1E980201C4A; Sat, 25 Oct 2014 13:08:00 -0600 (MDT)
Date: Sat, 25 Oct 2014 13:08:00 -0600
From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mpeg4ip - replacement
Message-ID: <20141025190800.GJ26352@syscon7>
References: <20141024234021.GC26352@syscon7>
 <20141025002321.GA16450@waltdnes.org>
 <20141025014012.GE26352@syscon7>
 <20141025055406.GA19122@waltdnes.org>
 <20141025154120.GH26352@syscon7>
 <20141025175107.GA20064@waltdnes.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
In-Reply-To: <20141025175107.GA20064@waltdnes.org>
User-Agent: Mutt/1.5.22 (2013-10-16)
X-CTCH-RefID: str=0001.0A020207.544BF502.005D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CSC: 0
X-CHA: v=2.1 cv=b+2LvL2x c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117
	a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8
	a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8
	a=8Lp-7m5aAAAA:8 a=qtcnOOY4cHceKxNxa3MA:9 a=wq32QPo6BMzQqti6:21
	a=ZF24swNMWcF9r75D:21 a=wPNLvfGTeEIA:10
X-Origin-Country: CA
X-Archives-Salt: fb40b7ba-e615-49e5-84be-a9c9107c49ff
X-Archives-Hash: ef15373f86e352c30d726474f09e4657

On 10/25/14 13:51, Walter Dnes wrote:
>On Sat, Oct 25, 2014 at 09:41:20AM -0600, Joseph wrote
>
>> Well, the remote camera is Axis 207 so it has its own server. There
>> is no mplayer on it.  When I access camera from the network computer
>> the same as camera is on both vlc and mplayer work.  But when I try
>> to stream over the internet (from different) it doesn't work.
>>
>> Can mpalyer stream the mpeg 4 video file over rtsp; I think only
>> vlc can do it.
>
>  You mentioned in a previous message that mplayer and vlc work on one
>computer, but not on the other.  So we know they both work.  I think the
>problem is somewhere in the remote access.  How are you accessing the
>rtsp stream?  Is it like so (example name and numbers)...
>
>mplayer rtsp://10.1.2.3/stream_name
>
>  Things to check...
>
>* if you're using a domain name rather than an IP address, is it defined
>  in the remote machine's /etc/hosts ?
>
>* is the remote machine's firewall blocking the camera's IP address ?
>
>* is the camera set to only stream to a specific IP address (range) ?
>
>-- 
>Walter Dnes <waltdnes@waltdnes.org>
>I don't run "desktop environments"; I run useful applications

I can login and access the camera setting over the Internet, the only part that is not working is streaming over rtsp.
MotionJPEG works but that takes a lot of bandwidth. 

I think you are correct it might have something to do with firewall.

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).

When I try vlc:
Connection failed:
VLC could not connect to "66.18.xxx.xxx:554".
Your input can't be opened:
VLC is unable to open the MRL 'rtsp://66.18.xxx.xxx:554/mpeg4/media.amp'. Check the log for details.

I open port 9090 (tcp/udp) on the remote firewall and forward it to 10.10.0.127:80  
But I'm puzzled why is it trying to connect to: 66.18.xxx.xxx:554 
Maybe this is the problem. 

rtsp port 554 is enabled on the camera.

-- 
Joseph