Results 1 to 2 of 2
  1. #1

    Seek Problems, Problems and Problems with Seek

    Please help, Im about the pull off my hair and already eating my nails with this problem.

    Server: Ubuntu 12.04
    Web Server: Apache 2.2.22
    I have also compiled and installed and enabled Apache Modules; the mod flv module from here, as well as the H264 streaming module from here. I was hoping that these Apache modules would be the fix to my problem, which did not.

    My workstation is Linux and Im using Avidemux for encoding my video files.

    Im testing with 3 different players; MediaElement.js, JW Player and MediaFront player. All players are supposed to play the media with HTML5 where the support is available and they fallback to flash player mode when it is not.

    First Try:
    Im encoding the video file to a MP4 containter; using h264 & aac codecs. When I finish I use qt-faststart to move the moov atom to the beginning of the file.

    All below results are the same with all 3 players mentioned above.
    IE9: HTML5 player, video seeks with no-problem.
    Chrome: HTML5 player, video seeks with no-problem.
    Firefox: Flash player, video does NOT seek.

    Second Try:
    This time Im encoding the file to a FLV container; using the Sorenson Spark & mp3 codecs. When I finish I use FLVmeta tool to inject the FLV Metadata to the file. Which I "think" does its job successfully.

    Now again, all the below results are the same with all 3 players.
    IE9: Flash player, seek does NOT work.
    Chrome: Flash player, seek does NOT work.
    Firefox: Flash player, seek does NOT work.

    I have tried, tested this a couple of times on my local pc, on a virtual machine and on the server itself but could not manage to make the seek work properly, nor I could see what the problem might be.

    Please do tell me what I gotta do to have a streaming video that does seeks on all 3 browsers?
    Thank you...

  2. #2
    Look i used to have an ubuntu web server for Live video streaming ... and as i remember i was using FFMpeg and FFServer package to do it..but check the installed package's and apache module's for there compatibility with ubuntu.

    but first try to use this code in your page...

    <video width="320" height="240" controls="controls">
    <source src="movie.mp4" type="video/mp4" />
    <source src="movie.ogg" type="video/ogg" />
    <source src="movie.webm" type="video/webm" />
    <object data="movie.mp4" width="320" height="240">
    <embed src="movie.swf" width="320" height="240" />
    </object>
    </video>


    The example above uses 4 different video formats.
    The HTML 5 <video> element tries to play the video either in mp4, ogg, or webm formats.
    If this fails, the code "falls back" to try the <object> element.
    If this also fails, it "falls back" to the <embed> element.
    You must convert your videos to many different formats.
    The <video> element does not validate in HTML 4 and XHTML.
    The <embed> element does not validate in HTML 4 and XHTML.

    NOTE: Using <!DOCTYPE html> solves the validation problem.
    Last edited by alhofan; 21st Aug 2012 at 12:25. Reason: add note's

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Subscribe to us on YouTube