Problem with IIS 6 and mp4 files

Home Forums Server Operating Systems Windows Server 2000 / 2003 / 2003 R2 Problem with IIS 6 and mp4 files

This topic contains 10 replies, has 4 voices, and was last updated by  jcup 9 years, 11 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts

  • jcup
    Member
    #137336

    Hi everyone,

    Thank you all in advance for looking at my problem…

    I did not see a specific place in the forums to ask about this kind of issue, buit I hope someone can help me…

    I have what seems to be a unique problem, I am trying to host some mp4 video files on a website for direct download… (not streaming)

    The download links seem to work fine, the file downloads, and the byte count is the same as the original. However, once downloaded it will not play back in quicktime… I get error – 2048. Which implies that there is a problem with the codec, but the original file plays back in quicktime just fine.

    In other words, once it is downloaded through http, it becomes messed up.

    Stranger still is that the downloaded file plays just fine using another media player (vlc), but is still seen as corrupt by quicktime…

    Anybody know what I’m missing, why would the file change or become corrupt when downloaded through http?


    Dumber
    Member
    #198949

    Re: Problem with IIS 6 and mp4 files

    Run a MD5 hash on the original file and on the downloaded file to check if the files are still identical.


    jcup
    Member
    #345610

    Re: Problem with IIS 6 and mp4 files

    Thanks for the reply Dumber!

    I created a md5 for the original and for the downloaded copy, ran a comparision and everything checks out fine…

    I am stumpted… I’m gonna run some more tests and some double checks tomorrow…

    Any more thoughts? Thanks again…


    jcup
    Member
    #345611

    Re: Problem with IIS 6 and mp4 files

    I just noticed something else strange, I don’t know if this helps at all, but, once the file is downloaded… quicktime is unable to determin the dimensions or the duration of the video… I couldn’t help it I’m staying late to try and figure this out, so I found this out when testing it on a mac. The error quicktime throws is, “file is not a valid video format”.

    If I put in the url straight to the file, it will play the file using the quicktime plugin, and it plays fine. It is only screwed up if it is downloaded to the desktop. Also, I pulled the file down from the server, copying it to the desktop accross the network, and it plays fine.

    I am still quite baffled as to how the file could get screwed up when downloaded through http…

    ?


    Dumber
    Member
    #198953

    Re: Problem with IIS 6 and mp4 files

    If the files are identical with a MD5 hash, then it’s for sure that the files are identical.
    So you have to look at on a other way.
    Try a different player, check out the quicktime settings etcetc.


    jcup
    Member
    #345612

    Re: Problem with IIS 6 and mp4 files

    Thanks again man, I’ll be working on this all day I’m sure, hopefully I’ll figure out whats going on…


    biggles77
    Moderator
    #208986

    Re: Problem with IIS 6 and mp4 files

    Assuming you have this thread in the correct Forum, are you using a Server as a workstation or are you using another app/utility to save the files to the IIS location? Have you tried zipping the files and making them available that way for downloading?

    #342041

    Re: Problem with IIS 6 and mp4 files

    What are you using to download the files? Try different browsers, download managers, etc. Whenever I experience download problems my first reaction is always to try using wget – it’s available for Windows.


    jcup
    Member
    #345613

    Re: Problem with IIS 6 and mp4 files

    @biggles77 and gforceindustries

    I meant to include this information in my origional post…

    I’m using windows server 2003 with IIS 6. I need to have download links on the pages that will allow the mp4 files to be downloaded to a users desktop. This is for a commercial/private website so I need it to be transparent to the users. I could put the files in a zip file, and that works, but it is a last resort effort. I haven’t tried any other download managers, which might work but I need to support IE, Firefox, and Safari as is, so thats not really an option…

    Here is what I think is going on… the mp4 files are “multithreaded”, having a resource fork and a content fork. Turns out I don’t yet know enough about encoding video files, so I may need to re-encode the videos as a “flat” mp4 file… What I still don’t understand is why downloading them through http would corupt the files like this. I also found out that creating a md5 hash file doesn’t matter, because it ignores the multithreaded metadata…

    That’s what I think is going on, I don’t fully understand it yet. Anyway, when I find the solution, I will post it here in case someone else runs into this problem.

    Thank you all for your helpful suggestions, I really appreciate it, and would appreciate any other thoughts on this problem…


    biggles77
    Moderator
    #208988

    Re: Problem with IIS 6 and mp4 files

    Still don’t understand.
    Do you want the users to click on a link and have the file play or do you want the uses to click on the file and a little window open that says Save, Open (Run) or Cancel?


    jcup
    Member
    #345614

    Re: Problem with IIS 6 and mp4 files

    Yeah, there is a download button… when clicked, it prompts the user to open save or cancel. It is set up that way because the videos are specifically designed to be used on an IPOD or PSP. But I want the users to be able to watch them on their computer too…

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.