« Previous Next »

Thread: IIS 7 mp4 playback does not allow random access or seeking

Last post 10-09-2009 12:55 AM by samzhang. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-07-2009, 4:35 PM

    • arseman03
    • Not Ranked
    • Joined on 10-07-2009, 12:14 PM
    • Posts 2

    IIS 7 mp4 playback does not allow random access or seeking

    i used this website to create the mime type and module handler:

     http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Internet-Information-Services-IIS7-Version2

     when i play the hosted mp4 file in quicktime or from a browser, i am not able to seek past whats already downloaded, i am only able to seek through the beginning portion of the file that is downloaded.

     can someone PLEASE tell me how i can configure IIS7 or what i can do to allow seeking?

    i have read somewhere that what i need to achieve is to enable byte-range requests. Byte-range support is also known as content-range or partial-range support

  • 10-08-2009, 2:27 AM In reply to

    Re: IIS 7 mp4 playback does not allow random access or seeking

    Hello arseman03,

     Byte range seek is natively supported in IIS7 and there's no additional configuration you need to do if you are just hosting static files. Ultimately it's the media player that's deciding whether you can seek beyond the downloaded portion. It could be that the player you're using does not have that functionality or the content itself has problems, e.g. missing indexs.

    Hope it helps.

    -Sam
  • 10-08-2009, 6:15 PM In reply to

    • arjenw
    • Not Ranked
    • Joined on 04-13-2009, 1:43 PM
    • Posts 5

    Re: IIS 7 mp4 playback does not allow random access or seeking

    The module you mention (mod_h264_streaming) is a module to allow pseudo-streaming of MP4 files in Adobe's Flash Player. Quicktime and other players only need byte range support from the webserver (which all of them have out-of-the-box).

  • 10-08-2009, 11:24 PM In reply to

    • arseman03
    • Not Ranked
    • Joined on 10-07-2009, 12:14 PM
    • Posts 2

    Re: IIS 7 mp4 playback does not allow random access or seeking

    thank you for your replies. 

     

    if i am missing indexes, how do i fix that issue?

     let me explain the problem more specifically.

     when hosted on IIS from my windows 7 PC, the mp4 file plays just fine when i browse to the URL using quicktime or when i browse to the file using the browser, Safari, on a mac.  however, i am not able to seek through the media at all.

     when i attempt to play the file on my iPhone, the iPhone gives me an error saying:

    "Cannot play movie / The server is not correctly configured"

     the mobile browser in itunes doesnt play the file, it passes the url to mobile quicktime.

     on my mac, whether i embed the file in an html page or whether i navigate directly to the file, it plays fine

    when i use the built in apache web server in OS X, the file plays just fine and i am able to seek on any browser or player.

  • 10-09-2009, 12:55 AM In reply to

    Re: IIS 7 mp4 playback does not allow random access or seeking

    I still think it's more likely to be related to player's logic because IIS is just used as a normal web server here. One thing you can do is to capture the HTTP response headers from IIS vs. Apache and see what are the differences. Then you can try to config IIS to return the same HTTP headers and see if that helps.

    -Sam
Page 1 of 1 (5 items)
Microsoft Communities