2 Replies Latest reply: Aug 22, 2012 7:48 PM by 928280 RSS

    why can't JavaFx media player play .m4a file on windows xp sp3?

    928280
      Hi All
      Why can't JavaFx media player play .m4a file on windows xp sp3? I got an exception that 'Decoder is not available' when I played m4a file on windows xp sp3(it didn't work on vista either), but it works fine on windows 7 , so I guess Javafx media player needs some system dependencies or resources when it plays media files, do you have any suggestions for this ?

      Edited by: imtoocute on Aug 22, 2012 11:18 AM

      Edited by: imtoocute on Aug 22, 2012 11:19 AM

      Edited by: imtoocute on Aug 22, 2012 3:53 PM
        • 1. Re: why can't JavaFx media player play .m4a file on windows xp sp3?
          jsmith
          To allow playback on Windows XP, you need to install the correct software in addition to JavaFX.
          Once the system has been upgraded to meet the minimum requirements for playback of a particular type of video encoding, then playback should work fine.

          See the JavaFX Media portion of the JavaFX 2.2 System Requirements:
          http://docs.oracle.com/javafx/2/system_requirements_2-2/jfxpub-system_requirements_2-2.htm

          Note, m4a is just a container file and data streams inside the container format need to match a supported JavaFX format for playback to work:
          http://docs.oracle.com/javafx/2/api/javafx/scene/media/package-summary.html

          Some approaches you could take:
          - additionally encode the media in VP6 format and fallback to VP6 playback if H.264 playback fails.
          - use a 3rd party player like VLC.
          - don't bother supporting Windows XP video playback.
          - direct a browser to a divx install page if playback fails (http://www.divx.com/).
          • 2. Re: why can't JavaFx media player play .m4a file on windows xp sp3?
            928280
            It works on XP SP3, but doesn't woks on VISTA, we are using JavaFX 2.1 , do we need to upgrade our JavaFx2.1 to JavaFx2.2?

            Edited by: imtoocute on Aug 22, 2012 5:48 PM