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

Thread: Flash Player crashes on RTSP Re-streaming from D-Link DCS-942L and TrendNET TV-IP572W

  1. #1

    Default Flash Player crashes on RTSP Re-streaming from D-Link DCS-942L and TrendNET TV-IP572W

    Hi,

    I'm trying to re-stream from 2 H.264 IP cameras: D-Link DCS-942L and TrendNET TV-IP572W. Wowza can connect to the cameras, and I can view the stream from Wowza using the RTSP URL in VLC.

    When I try to view the RTMP stream in Flash Player, the player crashes. I captured the following meta data from the Flash Player before the player crashes:

    D-LINK
    
    meta
    (Object)#0
      displayHeight = 480
      displayWidth = 640
      frameHeight = 480
      framerate = 15
      frameWidth = 640
      height = 480
      rtpsessioninfo = (Object)#1
        attributes = (Object)#2
          charset = "Shift_JIS"
          etag = "1234567890"
          range = "npt=now-"
        name = "DCS-942L"
        origin = "CV-RTSPHandler 1123412 0 IN IP4 192.168.1.204"
        protocolversion = "0"
        timing = "0 0"
      trackinfo = (Array)#3
        [0] (Object)#4
          description = "{H264CodecConfigInfo: codec:H264, profile:Baseline, level:3.0, frameSize:640x480, displaySize:640x480, frameRate:15.0}"
          language = "eng"
          profile-level-id = "42a01e"
          sampledescription = (Array)#5
            [0] (Object)#6
              sampletype = "H264"
          sprop-parameter-sets = "Z0IAHukBQHt/4AAAAwAcSABt3QAM3+YA2IEJQA==,aM4xUg=="
          timescale = 90000
          type = "video"
      videocodecid = "avc1"
      width = 640
    
    TrendNET
    
    meta
    (Object)#0
      displayHeight = 400
      displayWidth = 640
      frameHeight = 400
      framerate = 15
      frameWidth = 640
      height = 400
      rtpsessioninfo = (Object)#1
        attributes = (Object)#2
          charset = "Shift_JIS"
          etag = "1234567890"
          range = "npt=now-"
        name = "TV-IP572W"
        origin = "CV-RTSPHandler 1123412 0 IN IP4 192.168.1.201"
        protocolversion = "0"
        timing = "0 0"
      trackinfo = (Array)#3
        [0] (Object)#4
          description = "{H264CodecConfigInfo: codec:H264, profile:Baseline, level:3.0, frameSize:640x400, displaySize:640x400, frameRate:15.0}"
          language = "eng"
          profile-level-id = "42a01e"
          sampledescription = (Array)#5
            [0] (Object)#6
              sampletype = "H264"
          sprop-parameter-sets = "Z0IAHukBQGd/4AAAAwAcSABt3QAM3+YA2IEJQA==,aM4xUg=="
          timescale = 90000
          type = "video"
      videocodecid = "avc1"
      width = 640

    Any ideas?

    Thanks,
    Dan

  2. #2

    Default

    I can provide an mp4 file that manifests the problem as well as a live stream if it will help.

    Thanks,
    Dan

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Dan,

    First, make sure you are configured following this guide:
    http://www.wowza.com/forums/content....-re-streaming)

    I would try adding the Application.xml /Streams nalUnitFilter Property (from the IP camera guide)
    <Property>
        <Name>nalUnitFilter</Name>
        <Value>13</Value>
        <Type>Integer</Type>
    </Property>
    The nalUnitFilter Property is specific to Flash playback problems

    And you might try the Application.xml /MediaCaster Property rtspFilterUnknownTracks

    If that does not help, yes, send the source rtsp url to support@wowza.com. Include a link to this thread for reference.

    Richard

  4. #4

    Default

    Thanks Richard - Those properties don't seem to make a difference.

    The only thing that helps is to cut out the video track. Then I can stream the audio over RTMP with no issues.

    <Property>
    <Name>rtspStreamAudioTrack</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>rtspStreamVideoTrack</Name>
    <Value>false</Value>
    <Type>Boolean</Type>
    </Property>

    I'll go over the guide again to make sure there are no other properties that I haven't tried, then I'll send the source mp4 file and sample URLs to the support email.

    Thanks,
    Dan

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Dan,

    What is the video codec? Playback the rtsp source in VLC and check Tools > Codec Info. What do you see?

    Richard

  6. #6

    Default

    Hi Richard,

    Both the D-Link DCS-942L and TrendNET TV-IP572W report the exact same info in VLC under Tools -> Codec:

    Stream 0
      Type: Video
      Codec: H264 - MPEG-4 AVC (part 10) (h264)
    Stream 1
      Type: Video
      Codec: H264 - MPEG-4 AVC (part 10) (h264)
      Resolution: 640x480  (TrendNET uses 640x400)
      Frame rate: 30
      Decoded format: Planar 4:2:0 YUV full scale
    If I use LiveStreamRecord module to record an mp4 from the live stream FFmpeg reports the following:

    \ffmpeg-20130406-git-7775992-win64-static\bin\ffprobe trendnet.mp4
    
    ffprobe version N-51639-g7775992 Copyright (c) 2007-2013 the FFmpeg developers
      built on Apr  5 2013 22:29:42 with gcc 4.8.0 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
    b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
    ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
    ble-zlib
      libavutil      52. 25.100 / 52. 25.100
      libavcodec     55.  2.100 / 55.  2.100
      libavformat    55.  1.100 / 55.  1.100
      libavdevice    55.  0.100 / 55.  0.100
      libavfilter     3. 49.100 /  3. 49.100
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trendnet.mp4':
      Metadata:
        major_brand     : f4v
        minor_version   : 0
        compatible_brands: isommp42m4v
        creation_time   : 2013-04-12 13:49:59
      Duration: 00:01:00.48, start: 0.000000, bitrate: 266 kb/s
        Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p, 640x400, 263 kb/s, 30.01 fps, 30 tbr, 90k tbn, 30 tbc
        Metadata:
          creation_time   : 2013-04-12 13:49:59
          handler_name    : WowzaMediaServerPro
    The file trendnet.mp4 crashes when viewed in Flash Player through a vod application.

    Thanks,
    Dan

  7. #7

    Default

    I sent sample MP4 files and RTSP URLs to support@wowza.com.

    Thanks,
    Dan

  8. #8
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Dan,

    Okay, thanks for that info. The codec is okay. Two video blocks like that might indicate UDP ports are blocked, but in that case they are usually identical. I don't see any evidence of it, but are there two video tracks in that stream?

    Please go ahead and send the source rtsp url, and that file, to support@wowza.com. Include a link to this thread for reference.

    Richard

  9. #9

    Default

    Thanks Richard - I sent sample MP4 files and RTSP URLs to the support address.

    About the 2 video blocks, in my RTSP setup my EC2 external IP address had changed. I corrected it and now have only the single stream:

    Stream 0
      Type: Video
      Codec: H264 - MPEG-4 AVC (part10) (h264)
      Resolution: 640x480
      Frame rate: 30
      Decoded format: Planar 4:2:0 YUV full scale
    - For the D-Link and TrendNET, I found that I had to change the following property for them to connect (Axis was fine with interleave):

    		<MediaCaster>
    			<RTP>
    				<RTSP>
    					<!-- udp, interleave -->
    					<RTPTransportMode>udp</RTPTransportMode>
    				</RTSP>
    			</RTP>
    Last edited by Daniel6; 04-12-2013 at 08:11 AM.

  10. #10
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    The long delay indicates that UDP ports are not open in your firewall and/or not properly mapped in your network to the server running Wowza. Take a look at this guide:

    http://www.wowza.com/forums/content....P-RTP-playback

    If you watch the codec info window after you start playback in VLC you should see the first block right away, then the 2nd one appear ~10 seconds later just as playback starts. Note that many Android devices cannot fail-over to TCP, so they just won't work if UDP ports are blocked. For routers you have to port-forward and there is guidance for many routers at portforward.com

    Also, sorry, should have pointed to this as well, if you are being a router or NAT this is important:
    http://www.wowza.com/forums/content....-RTP-streaming

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. Flash HTTP Streaming Link
    By jchen12 in forum Video On Demand Streaming Discussion
    Replies: 6
    Last Post: 01-09-2014, 08:30 AM
  2. Streaming from LevelOne FCS-0030 IP camera crashes flash player
    By carbas in forum Live Streaming and Encoder Discussion
    Replies: 8
    Last Post: 05-28-2013, 01:31 AM

Posting Permissions

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