|
Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
|
|
Replies:
8
-
Pages:
1
-
Last Post:
Mar 12, 2009 10:07 AM
Last Post By: SteveWood
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
5
Registered:
Mar 11, 2009 03:58:06 AM
|
|
|
|
Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 04:40:21 AM
|
|
|
|
Hello every body!
I have tried to play the camera stream with the M4Play of the toolkit. But I have an error message which shows this message "Java.Lang.ArrayIndexOutOfBoundsException: 2446". Is somebody already has the same problem and how to fix it ?
I play the stream with VLC (rtsp://<IP address>/mpeg4/media.amp) and Windows Media Player (axrtsp://<IP address>/mpeg4/media.amp). It works fine for Windows Media Player but i have a lot of latency with VLC. However I use the same computer and the same connection with the camera. The protocol is different but i don't know the difference between axrtsp and rtsp. Is it normal ? If it's normal, do we always have a lot of latency ?
Thanks
|
|
Posts:
5
Registered:
Mar 11, 2009 03:58:06 AM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 09:15:44 AM
in response to: thibault.baudry's post
|
|
|
|
I have success to eliminate the Exception by changing the Video Object Type of the camera from "Simple" to "Advanced Simple". The toolkit download the RTP stream but my screen is still black. Do somebody know the problem ?
|
|
Posts:
160
Registered:
Jul 25, 2005 12:18:31 PM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 10:14:21 AM
in response to: thibault.baudry's post
|
|
|
|
Hi, the Toolkit only supports Simple Profile MPEG-4 video function which explains why you don't have video when using Advanced Simple Profile.
On the array exception I would need at minimum a stack trace from the exception to allow me to find the area in which it is failing in order to start to help you. Unless your machine is accessible over the internet and the camera supports tunneling of RTSP/RTP in HTTP in which case I could connect and look at the problem myself.
Steve
|
|
Posts:
5
Registered:
Mar 11, 2009 03:58:06 AM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 10:29:30 AM
in response to: thibault.baudry's post
|
|
|
|
I'm sorry steve but i use the M4Play.bat and the system don't deliver the stack trace exception.
I have changed the configuration of the camera to Simple and i have the same black screen as in Advanced Simple configuration. I think this exception is the result of an other parameter that i have changed and changed again.
By checking the use of the bandwith, i'm sure that the toolkit download the stream but it seems that it doesn't not play it.
Thanks
|
|
Posts:
160
Registered:
Jul 25, 2005 12:18:31 PM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 10:53:43 AM
in response to: thibault.baudry's post
|
|
|
|
Hi, some config setting allows you to avoid the array exception that's good. It would be nice to know what the issue was, it's not something we have come across before, but anyway it seems we can skip this for now.
What audio format do you have the camera set to? I have seen some that support AMR as well as AAC. The Toolkit does not support AMR. Try setting the audio format to AAC if you can. That should allow the stream/video to play correctly if indeed the issue is the audio format.
Steve
|
|
Posts:
5
Registered:
Mar 11, 2009 03:58:06 AM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 11:16:04 AM
in response to: thibault.baudry's post
|
|
|
|
I haven't seen any mention to AAC or AMR. I confirm you that's the audio activation cause a exception. If i disabled audio, i continue to have a black screen.
|
|
Posts:
160
Registered:
Jul 25, 2005 12:18:31 PM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 11, 2009 02:39:42 PM
in response to: thibault.baudry's post
|
|
|
|
In looking at Axis site I see the camera and it lists G.711 and G.726 for audio formats; neither of which the toolkit supports. But even though you have disabled audio you still get no video.
Could it be due to protocol issues perhaps; so how about trying this (keep audio disabled though still) In the M4Play player go to the 'Tools' menu and in that to 'Options'. That will give you 'RTSP/RTP mode', and in that choose 'UDP'. It's probably set at the default which is 'Automatic'. In automatic it tries different modes and will try HTTP Tunnelling first. By choosing UDP it will only use that mode. See if that makes any difference.
Steve
|
|
Posts:
5
Registered:
Mar 11, 2009 03:58:06 AM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 12, 2009 05:42:34 AM
in response to: thibault.baudry's post
|
|
|
|
I have tried to select each mode in the option menu. When i check the network stream, i see the protocol change (UDP, TCP, HTTP encapsulation) but my screen is still black.
You have proposed me to connect to the camera and try to find the problem. I prefer not to post the connection information on this forum, but if you send me an email, i will give you the connection information.
Thanks for helping me.
|
|
Posts:
160
Registered:
Jul 25, 2005 12:18:31 PM
|
|
|
|
Re: Play Axis 215 PTZ Camera MPEG-4 Stream with IBM Toolkit
Posted:
Mar 12, 2009 10:07:41 AM
in response to: thibault.baudry's post
|
|
|
|
Hi, I sent you a private message with my contact info. My email address in case that doesn't seem to work (as you will also find in other posts on this forum) is woodsp@us.ibm.com
Steve
|
|
|
|
|