Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8118796

Different and incorrect duration obtained for the same media with HTTP versus FILE protocol

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0.2
    • Fix Version/s: fx2.0.2
    • Component/s: javafx
    • Environment:

      Mac, Windows

      Description

      The duration obtained for

      http://reavers.us.oracle.com/MediaJUnitTestFiles/mp3metadata/mozart_2.3_ISO-8859-1_PNG.mp3

      is different from that derived when the stream is accessed as a local file.

      On Mac the HTTP duration is 26459.5625 ms whereas for the local file it is 19952.0 ms.

      Based on the MP3 frame content of the media the duration is derived as 764 MP3 frames of 1152 samples at 44.1 kHz: 764*(1152/44100.0) = 19.957551020408165 seconds.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: