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

Thread: .smil file has stop after play a first chunk in Apple IOS

  1. #1

    Default .smil file has stop after play a first chunk in Apple IOS

    Hi
    .smil file has stop after play a first chunk in Apple IOS
    how can i resolve this problem

    http://wowza_ip/smil/smil:radio.smil/playlist.m3u8

    thank you.

  2. #2

    Default

    Do you see any clue in the access log as to what the problem might be when you test playback?

    Salvadore

  3. #3
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    Have you tried the example smil file in the video on demand tutorial?
    Please find the video on demand tutorial here,
    Video on demand tutorial#ABR

    The example .smil file is called bigbuckbunny.smil and contains
    <smil>
        <head>
        </head>
        <body>
            <switch>
                <video src="mp4:bigbuckbunny_450.mp4" system-bitrate="450000"/>
                <video src="mp4:bigbuckbunny_750.mp4" system-bitrate="750000"/>
                <video src="mp4:bigbuckbunny_1100.mp4" system-bitrate="1100000"/>
                <video src="mp4:bigbuckbunny_1500.mp4" system-bitrate="1500000"/>
                <audio src="mp4:bigbuckbunny_1500.mp4" system-bitrate="128000"/>
            </switch>
        </body>
    </smil>
    As you can see a .smil file should only references streams which are keyframe aligned and available in Wowza.
    What happens when you play the streams back manually?

    Jason

  4. #4

    Default

    i am use smil file for radio broadcast from shoutcast.
    i was create a .stream files and .smil file in content folder.

    radio32k.stream
    radio64k.stream
    radio128k.stream
    radio.smil

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="radio32k.stream" system-bitrate="64000"/>
    <video src="radio64k.stream" system-bitrate="128000"/>
    <video src="radio128k.stream" system-bitrate="256000"/>
    </switch>
    </body>
    </smil>

    than i was add .stream files to startupstreams.xml
    <StartupStream>
    <Application>smil/_definst_</Application>
    <MediaCasterType>shoutcast</MediaCasterType>
    <StreamName>radio32k.stream</StreamName>
    </StartupStream>

    <StartupStream>
    <Application>smil/_definst_</Application>
    <MediaCasterType>shoutcast</MediaCasterType>
    <StreamName>radio64k.stream</StreamName>
    </StartupStream>

    <StartupStream>
    <Application>smil/_definst_</Application>
    <MediaCasterType>shoutcast</MediaCasterType>
    <StreamName>radio128k.stream</StreamName>
    </StartupStream>

    and i call smil file from ios or VLC.

    when 10th. sec. stop the play.

    in error log

    HTTPStreamerAdapterCupertinoStreaming.onPlaylist[smil/_definst_/radio128k.stream/playlist.m3u8?wowzasessionid=453389806]: Not valid stream name [_defaultVHost_:smil/_definst_/radio128k.stream]: _defaultVHost_:smil/_definst_/radio32k.stream

    Note: When i iplay radio32k.stream and 64/128 playing normally
    Last edited by djcenk; 10-11-2013 at 08:51 AM.

  5. #5

    Default

    This does not appear to be supported.

    I enabled debugging of multi-bitrate key frame alignment and tested with a stream from SHOUTcast. There was no pts and dts info generated, which is what Adaptive Bit Rate switching relies on to operate.

    Salvadore

  6. #6

    Default

    Thank you Salvadore.
    How can i do this for radio streams ?
    if i'm use a wowza transcoder (receive stream from SHOUTcast) can i do this ?
    Last edited by djcenk; 10-13-2013 at 01:28 AM.

  7. #7

    Default

    Up.

  8. #8
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    You can't use adaptive bitrate streaming for audio only streams.
    The switching mechanism is based on keyframes which audio doesn't have.

    Jason

  9. #9

    Default

    Quote Originally Posted by JasonH View Post
    Hi,
    You can't use adaptive bitrate streaming for audio only streams.
    The switching mechanism is based on keyframes which audio doesn't have.

    Jason
    Somebodies do this. But i dont have a any idea how they do .

  10. #10

    Default

    I just do it
    but 30sec silence than 20 sec play.(between first chunk with second chunk.)
    Than play normally again.

    i was try Audio-Only Apple HLS
    http://www.wowza.com/forums/content.php?458
    Last edited by djcenk; 10-23-2013 at 04:25 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. iOS Adaptive Bit Rate streaming using Smil file problems
    By grantk in forum AddOn: Transcoder
    Replies: 4
    Last Post: 05-23-2012, 01:18 PM
  2. Replies: 1
    Last Post: 03-13-2012, 04:11 AM
  3. cannot play SMIL file in STB using ASX file
    By BKCPuttur in forum Server Administration Discussion
    Replies: 3
    Last Post: 12-06-2011, 07:09 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
  •