Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: Re-stream RPT to HTTP Live streaming

  1. #11
    Join Date
    Oct 2010
    Posts
    20

    Default

    Hi again. I've done with sound delay and now I'm going to approve my iPhone application.
    I'm running media validator and it says that my playlist is wrong. Here are the warnings:
    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    5: #EXTINF:17,
    ~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    7: #EXTINF:18,
    ~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    9: #EXTINF:17,
    ~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 78.100 % (113984 vs. 64000 bps, limit is 10 %).
    6: media_1709.ts?wowzasessionid=329465679
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 68.377 % (107761 vs. 64000 bps, limit is 10 %).
    8: media_1710.ts?wowzasessionid=329465679
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 100.224 % (128143 vs. 64000 bps, limit is 10 %).
    10: media_1711.ts?wowzasessionid=329465679
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    5: #EXTINF:18,
    ~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    7: #EXTINF:17,
    ~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    9: #EXTINF:16,
    ~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 49.130 % (95443 vs. 64000 bps, limit is 10 %).
    10: media_1712.ts?wowzasessionid=329465679
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    5: #EXTINF:17,
    ~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    7: #EXTINF:16,
    ~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 46.371 % (93677 vs. 64000 bps, limit is 10 %).
    10: media_1713.ts?wowzasessionid=329465679
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    5: #EXTINF:16,
    ~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 49.681 % (95795 vs. 64000 bps, limit is 10 %).
    10: media_1714.ts?wowzasessionid=329465679
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    WARNING: Media segment bitrate outside of target playlist bitrate by 84.836 % (118295 vs. 64000 bps, limit is 10 %).
    10: media_1715.ts?wowzasessionid=329465679
    The content of my playlist is (I've downloaded it with browser):

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
    http://ip:1935/live/mpegts.stream/pl...nid=1459010386
    How it knows what BANDWIDTH option to use? I didn't set it up.
    Can I modify playlist settings for my stream to be correct? And if yes, then how?


    Thanks for the help.
    Last edited by MaddKorben; 10-28-2010 at 06:13 AM.

  2. #12
    Join Date
    Oct 2010
    Posts
    20

    Default

    Huh. I've used search and had found that I'm not alone with this problem.
    Here are the topics, where was discussed this theme:
    http://www.wowzamedia.com/forums/sho...ile-is-invalid
    https://wowzamedia.com/forums/showth...3u8-file-issue

    I think, the way to solve this problem is making multiple bitrate stream. What program I can use to encode one stream to multiple? And how I should configure this program and Wowza?

    Thanks.

  3. #13
    Join Date
    Dec 2007
    Posts
    25,637

    Default

    Try reducing the keyframe frequency, and make sure it is a multiple of chunkDurationTarget, which is 10 by default, unless you add these properties and change it:
    http://www.wowzamedia.com/forums/con...s-(iPhone-live)

    Wowza adds this bandwidth info, and it should be very accurate if you are using 2.1.2.06. If you aren't you can get Patch 6 here:
    http://www.wowzamedia.com/forums/con...lopment-Builds

    This package will help to create the required 64kbs stream:
    http://www.wowzamedia.com/forums/sho...ly-stream-(64K)

    But note that AAC audio is required, and the audio track must be 64kbs.

    You should be able to get rid of these warnings:

    WARNING: INF tag with duration 2 seconds or more above the playlist's target duration (10.000 seconds).
    7: #EXTINF:16,
    ~~
    But these are hard to get rid of completely, but a few should be okay:

    WARNING: Media segment bitrate outside of target playlist bitrate by 46.371 % (93677 vs. 64000 bps, limit is 10 %).
    10: media_1713.ts?wowzasessionid=329465679
    Richard

  4. #14
    Join Date
    Oct 2010
    Posts
    20

    Default

    Richard. Great thank you for help.
    I've made changes that you adviced.
    1. I've reduced keyframe frequency from 25 to 15 and changed the value of chunkDurationTarget to 15000.
    2. I've downloaded and extracted zip with patch.
    3. I've created multi-bitrate using smil with one audio-only stream and audio-video.

    After doing all of these operations, I'm starting three streams: audio only, audio+video, smil.
    Here is smil text:
    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="mpegts.stream" system-bitrate="64000" wowza-audio-only="true"/>
    <video src="mpeg.stream" system-bitrate="240000"/>
    </switch>
    </body>
    </smil>
    And here is Application.xml for my application: http://pastebin.ca/1980359

    However, now I'm recieving errors, described in this post: http://www.wowzamedia.com/forums/sho...ream-%2864K%29 , but I didn't find solution for these errors in that post.

    Mediavalidator says (I'm feeding smil playlist to it):
    REPORT FOR CHILD PLAYLIST 'ip-address:1935/video/_definst_/mpegts.stream/playlist.m3u8?wowzasessionid=1361256829&wowzaaudio only
    ----------------------------------------------------------------------------------------------------------------------------------------------

    WARNING: Missing newline at the end of the playlist.

    WARNING: Playlist has no media URIs.

    ERROR: Playlist does not contain a TARGETDURATION tag. A single TARGETDURATION tag is required.
    If I'm feeding audio playlist, I'm getting the following:
    WARNING: The playlist should use relative URIs to reduce its size.

    REPORT FOR CHILD PLAYLIST 'http://ip-address:1935/video/mpegts.stream/playlist.m3u8?wowzaaudioonly&wowzasessionid=131512 6658

    WARNING: Missing newline at the end of the playlist.

    WARNING: Playlist has no media URIs.

    ERROR: Playlist does not contain a TARGETDURATION tag. A single TARGETDURATION tag is required.

    REPORT FOR CHILD PLAYLIST 'http://ip-address:1935/video/mpegts.stream/playlist.m3u8?wowzasessionid=1315126658
    ---------------------------------------------------------------------------------------------------------------------

    ERROR: Playlist must have at least 3 media URIs if it does not have an ENDLIST tag.
    And audio+video stream:
    WARNING: The playlist should use relative URIs to reduce its size.

    ----------------------------------------------------------------------------------------------------------------------------------
    REPORT FOR CHILD PLAYLIST 'http://ip-address:1935/video/mpeg.stream/playlist.m3u8?wowzaaudioonly&wowzasessionid=116849 4155
    ----------------------------------------------------------------------------------------------------------------------------------

    WARNING: Missing newline at the end of the playlist.

    WARNING: Playlist has no media URIs.

    ERROR: Playlist does not contain a TARGETDURATION tag. A single TARGETDURATION tag is required.

    -------------------------------------------------------------------------------------------------------------------
    REPORT FOR CHILD PLAYLIST 'http://ip-address:1935/video/mpeg.stream/playlist.m3u8?wowzasessionid=1168494155
    -------------------------------------------------------------------------------------------------------------------

    WARNING: Media segment took longer to download than its duration (10.74 vs. 9.85 seconds).
    6: media_1.ts?wowzasessionid=1168494155
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ERROR: Playlist must have at least 3 media URIs if it does not have an ENDLIST tag.
    My suggestion is that properties, that must be used for audio only, are applying for video too and this is the purpose of these errors. But it's only a suggestion.
    I'd be very glad, if you could help me getting rid of these errors, I hope that they are last on the this hard way to iPhone streaming

  5. #15
    Join Date
    Dec 2007
    Posts
    25,637

    Default

    Did you use a text editor for the smil? One possibility is that there are word processor characters in the file.

    Richard

  6. #16
    Join Date
    Oct 2010
    Posts
    20

    Default

    Quote Originally Posted by rrlanham View Post
    Did you use a text editor for the smil? One possibility is that there are word processor characters in the file.

    Richard
    Yes, I've used nano (linux editor). Just in case, I've created it again, using text editor and used option "Convert to UTF-8 without BOM", but result is the same.
    One more thing is this smil doesn't work it iPhone - iPhone says "Can't open file", but I can mark that this smil works properly with application without settings for auto-64K-audio-generating settings in Application.xml.

  7. #17
    Join Date
    Oct 2010
    Posts
    20

    Default

    By the way, I didn't paste cupertinostreamingrepeater property - can it be the reason? I'm not sure, if I have repeater or not.

  8. #18
    Join Date
    Dec 2007
    Posts
    25,637

    Default

    If you are doing origin-edge (?) and this is a liverepeater-edge, yes, use the appropriate LiveStreamPacketizer

    With the auto-generate you don't need a smil file if you play one video that has an 64kbs AAC audio track. Wowza auto-generates it. You can use a smil where one video has the 64kbs AAC audio track that you mark with wowza-audio-only=true, but you wouldn't also make its system-bitrate 64000. In your example above, you might as well not use the smil.

    Richard

  9. #19
    Join Date
    Oct 2010
    Posts
    20

    Default

    Richard, here is the scheme:

    Server with TV-tuner encodes with VLC video and sends it to my server. It sends two different streams:
    1. Audio AAC 64K
    2. Video H.264 200K and Audio AAC 40K

    On my server, I recieve it on two different udp ports.
    My idea is to stream 64K audio for Apple approvement (for 3Gs) and to stream live video for those, who wanna watch normal TV. So, I suggest, I have to use smil so that 3G or GPRS users could listen audio and others could watch TV. Or I'm wrong?
    The other way I see is to stream two udp ports to different applications in wowza: one for audio and one for video, without any smil. I dunno what is more right.

    So, I wonder, if my server is edge, but I think it is. I'll try to add "cupertinostreamingrepeater" and let u know the results. Thanks again.

  10. #20
    Join Date
    Oct 2010
    Posts
    20

    Default

    Well, no, cupertinostreamingrepeater, which I've added to <LiveStreamPacketizers>cupertinostreamingpacketi ze r,smoothstreamingpacketizer</LiveStreamPacketizers> didn't help.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

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