Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-16974

Seeking within an mp4 video before first play causes subsequent playback issues (no audio/video).

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • Adobe Flex SDK 3.2 (Release)
    • None
    • mx: Video
    • None
    • Affected OS(s): Linux
      Affected OS(s):
      Browser: Other (specify version)
      Language Found: English

    Description

      Steps to reproduce:
      1. Download VideoDisplayBug.mxml alter video.source within init() function to location of an h264 mp4 video file (have only tested this on a local webserver). Instructions of video files tested (downloadable) on are located within the mxml file.
      2. Compile and view output file. On first run press play and watch the video loads, you can enter a number of seconds to seek through and click seek, playing will continue.
      3. Refresh the browser or reload the flash movie, but this time BEFORE pressing play, seek to a number of seconds within the mp4 video file (enter number and press seek) then press play.

      Actual Results:

      Having seeked to a new position in the file BEFORE playing the video file and subsequently playing, the video playheadTime continues to update as expected but video/audio freeze until playback has finished at which point the videodisplay rewinds.

      Expected Results:

      Video should seek to position and play as shown in workaround.

      Workaround (if any):

      Included as separate file VideoDisplayWorkaround.mxml
      Rather an undesirable workaround in which the video file is first hidden and muted, played for 250ms and stopped. Having played the video for at least 250ms it can be seeked and played at any point. Haven't tested on other machines to determine whether the initial playback time differs depending on system specification.

      NOTE - Tested under the following conditions:

      Gentoo linux
      Flash version (10,0,12,36)
      Tested with flex versions - 3.2.0.4331_mpl and 3.2.0.3958_mpl
      Mozilla firefox 3.0.5

      Not tested on any other system, browser, flash player yet.

      ***
      This bug is not reproducable with FLV files only mp4/m4v.
      ***

      Side note: Also from viewing the output of the video as it is being played, the when pausing the video the playheadTime still updates AFTER the pause, not sure if this is another bug or intentional (does make some sense to update the playheadTime after a pause).

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: