Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Amino 130 stb playing VOD MPEG-TS / rtsp from Amazon EC2 Wowza 2.2.3.11

  1. #1
    Join Date
    May 2010
    Posts
    26

    Default Amino 130 stb playing VOD MPEG-TS / rtsp from Amazon EC2 Wowza 2.2.3.11

    Any help or advice would be very much appreciated, thanks.

    I am having challenges playing an H.264/MPEG-4 AVC (Per GSpot) MPEG-TS rtsp stream from an Amazon EC2 Wowza Linux Instance (2.2.3.11) through an Amino 130 (v0.17.3-Ax3x-opera9)
    I'm using Wowza 2.2.3 because I have a Windows version which does play the same H.264 file with the same Application.xml file through the same Amino 130 in my local office network.

    Heres what I can and can't do;

    (Plays) Local Windows Wowza 2.2.3 -> Amino 130
    (Plays) Local Windows Wowza 2.2.3 -> VLC

    (Does Not Play) EC2/Web Linux Wowza 2.2.3.11 -> Amino 130
    (Plays) EC2/web Linux Wowza 2.2.3.11 -> VLC

    I'm using the same Amino 130 for all tests. I have logs for all four of these tests if you would like. the only errors that are obvious to me in the logs in ALL TEST CASES playing or not is,

    2012-04-05 14:19:44 EDT comment server ERROR 500 mpegts.mp4 H264CodecConfigInfo.decodeAVCC: java.lang.ArrayIndexOutOfBoundsException: 7 _defaultVHost_ vod _definst_ 5.469 ec2-50-18-232-9.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 237687945 0 261884 1 4237 0 261884 mpegts.mp4 - /usr/local/WowzaMediaServer/content mp4 10815918 - rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 - rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 -

    2012-04-05 14:19:44 EDT - - - - - - _defaultVHost_ vod _definst_ 4.739 ec2-50-18-232-9.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 237687945 0 261884 1 4237 0 261884 mpegts.mp4 - /usr/local/WowzaMediaServer/content mp4 10815918 239.901 rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 - rtsp://ec2-50-18-232-9.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:mpegts.mp4 -

    Some have exception 7 and some exception 12 whatever that is.


    Comments, ideas, suggestions?

    Thanks ~

  2. #2

    Default

    Some suggestions:

    1. Test with example.mp4
    2. Upgrade to the latest Wowza (or at least spin up a DevPay isntance for 1 hour and test your device)
    3. See what is different about your Windows vs. Linux version. It is likely your Java version. Upgrade to the latest Java 1.7 update 3 or later.

  3. #3
    Join Date
    May 2010
    Posts
    26

    Default

    Quote Originally Posted by randall View Post
    Some suggestions:

    1. Test with example.mp4

    Tried sample.mp4. All results the same. Plays through Amino 130 in local office network but not from EC2 Wowza 2.2.3 instance.

    2. Upgrade to the latest Wowza (or at least spin up a DevPay isntance for 1 hour and test your device)

    Tried DEV PAY version 3.0.5 and did not receive video. No error log entry and access logs appears to show a connect and then a disconnect. Can I send my short log file?

    3. See what is different about your Windows vs. Linux version. It is likely your Java version. Upgrade to the latest Java 1.7 update 3 or later.

    Java on Windows machine is 1.6.0.26 and EC2 Wowza 2.2 is 1.6.0.24 . I will upgrade all machines if you think it will help
    Could there be a config setting that needs a longer time out period on Wowza?

    Should I call our office telecom provider to check the ports in their router? What ports should be open to receive rtsp MPEG-TS?

    I appreciate any help.

    Thanks

    Craig

  4. #4

    Default

    "Could there be a config setting that needs a longer time out period on Wowza?"
    -As I understand it MPEGTS out just streams over UDP and therefore has no timeout.

    Could you describe your setup in more detail? How are you doing the MPEGTS out. What tutorials/modules are you using, and what configuration changes did you implement?

    For example, the multicast publish module can publish MPEGTS unicast. You would set the destination port in the module configuration.

  5. #5
    Join Date
    May 2010
    Posts
    26

    Default

    I'm using the VOD example with the addition of this in the RTP section;

    <Property>
    <Name>forceMPEGTSOut</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>rtpWrapMPEGTS</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>.

    It all works fine locally just not over internet. Maybe I'm missing something else in my setup required for internet? What else can I tell you or show you.
    rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4

  6. #6

    Default

    I am able to play your stream. Does that URI work on the Amino?

    There is this article for firewall issues: http://www.wowza.com/forums/content.php?45
    -You might be already setup though.

    The default port for RTSP is 554, unless you specify 1935. That should be all you need.

    Do you get this error on your Windows box?: ArrayIndexOutOfBoundsException

    Have you tried my original suggestions #2 and #3?

    Something weird: I am able to play your sample.mp4 link in ffmpeg and VLC. I can only play your mpegts.mp4 from your first post, in VLC. ffmpeg complains: [rtsp @ 0xa6b7ac0] Could not find codec parameters (Video: none)

  7. #7
    Join Date
    May 2010
    Posts
    26

    Default

    I too can play everything through VLC but not through the Amino if it's coming from the web. Using EC2 Wowza 3.0.5 I do not get that Java error anymore. I just get a connect and then a disconnect (as far as I can understand. The Amino is very finicky. I normally use them to receive a multicast mpeg-ts stream through a VPN or MPLS network that works fine. The VOD through the internet is giving me trouble. I will check with telecom to make sure our internet router has the correct ports open and will bring in a guy to do some packet comparison between the two working and not working. If you have any other ideas, i could send the log. Is anyone aware of a video on the web that has been successfully tested through an Amino 130 that I can try?

    thanks
    Last edited by craigvansant; 04-05-2012 at 07:50 PM.

  8. #8

    Default

    If it's working on your local network it's probably just a firewall issue. Try clearing your firewall on the EC2 instance, or opening up UDP. From the tutorial: "To stream to RTSP/RTP be sure UDP ports 0-65535 are open and properly mapped to the server running Wowza Media Server."

    Is the problem just that mpegts.mp4 is improperly encoded. Did you try the sample.mp4 on your STB?

  9. #9
    Join Date
    May 2010
    Posts
    26

    Default

    I read in a post describing a similar Amino challenge that if the logs show a UDP bind quicly followed by an unbind then it might be a UDP port issue. My telecom provider tells me that all UDP ports are open but must they be mapped to the Wowza server? Here is my log. Does it appear to be a UDP issue?

    #Version: 1.0
    #Start-Date: 2012-04-06 00:42:23 UTC
    #Software: Wowza Media Server 3.0.5 build1220
    #Date: 2012-04-06 // Access Log
    #Fields:
    2012-04-06 01:35:36 UTC comment server INFO 200 - ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[vod/_definst_]: Auto-set application RTSP addresses: internal[bind]:10.161.2.229 external[origin,connection]:184.72.14.17 - - - 111037.029 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-04-06 01:35:36 UTC app-start application INFO 200 _definst_ vod/_definst_ - - - 111037.031 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-04-06 01:35:36 UTC connect rtsp INFO 200 1278746550 - _defaultVHost_ vod _definst_ 111037.032 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 0 - - - - - - - - - - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:36 UTC create stream INFO 200 - - _defaultVHost_ vod _definst_ 0.001 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 0 1 0 0 0 sample.mp4 - - - - - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:36 UTC describe rtsp INFO 200 1278746550 - _defaultVHost_ vod _definst_ 0.117 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 0 - 0 - - sample.mp4 - /usr/local/WowzaMediaServer/content mp4 39115156 596.458 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:36 UTC comment server INFO 200 - RTPUDPTransport.bind[vod/_definst_]: in:/10.161.2.229:6978 out:/173.247.177.236:11111 - - - 0.209 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-04-06 01:35:36 UTC play stream INFO 200 sample.mp4 - _defaultVHost_ vod _definst_ 0.14 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 0 1 0 0 0 sample.mp4 - /usr/local/WowzaMediaServer/content mp4 39115156 596.458 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:36 UTC play rtsp INFO 200 1278746550 - _defaultVHost_ vod _definst_ 0.243 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 0 - 0 - - sample.mp4 - /usr/local/WowzaMediaServer/content mp4 39115156 596.458 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:40 UTC comment server INFO 200 - RTPUDPTransport.unbind[vod/_definst_]: /10.161.2.229:6978 sent:271 recv:0 - - - 4.813 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-04-06 01:35:40 UTC stop stream INFO 200 sample.mp4 - _defaultVHost_ vod _definst_ 4.713 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 356636 1 4395 0 356636 sample.mp4 - /usr/local/WowzaMediaServer/content mp4 39115156 596.458 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:40 UTC destroy stream INFO 200 sample.mp4 - _defaultVHost_ vod _definst_ 4.719 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 356636 1 4395 0 356636 sample.mp4 - /usr/local/WowzaMediaServer/content mp4 39115156 596.458 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -
    2012-04-06 01:35:40 UTC disconnect rtsp INFO 200 1278746550 - _defaultVHost_ vod _definst_ 4.823 ec2-184-72-14-17.us-west-1.compute.amazonaws.com 1935 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 173.247.177.236 rtsp - Amino Communications Ltd aminetx3x rtsp_plugin-1.11 1278746550 0 0 - - - - - - - - - - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 - rtsp://ec2-184-72-14-17.us-west-1.compute.amazonaws.com:1935/vod/_definst_/mp4:sample.mp4 -

    No Error Log for this period

  10. #10
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Yes, that is what it looks like, UDP ports are blocked or not mapped to your Wowza server in the network. Here is a closer look

    connect	rtsp	INFO	200	1278746550	-
    create	stream	INFO	200	-	-
    describe	rtsp	INFO	200	1278746550	-
    comment	server	INFO	200	-	RTPUDPTransport.bind[vod/_definst_]: in:/10.161.2.229:6978 out:/173.247.177.236:11111
    play	stream	INFO	200	sample.mp4	-
    play	rtsp	INFO	200	1278746550	-
    comment	server	INFO	200	-	RTPUDPTransport.unbind[vod/_definst_]: /10.161.2.229:6978 sent:271 recv:0
    stop	stream	INFO	200	sample.mp4	-
    destroy	stream	INFO	200	sample.mp4	-
    disconnect	rtsp	INFO	200	1278746550	-
    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. Streaming RTSP to Amino STB with Authentication
    By Molly987 in forum Media Players and Devices
    Replies: 4
    Last Post: 08-18-2014, 01:12 AM
  2. Streaming HLS from Wowza to Amino 140 STB
    By aske123 in forum Media Players and Devices Discussion
    Replies: 4
    Last Post: 11-01-2012, 12:50 PM
  3. Amino 130 STB on-demand MP4 streaming
    By sc4venger in forum Media Players and Devices Discussion
    Replies: 2
    Last Post: 09-26-2012, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •