Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaFX 2 media player's inability to play mp4 media files

mambhaJan 23 2013 — edited Jan 30 2013
I am new to this forum and new to JavaFX 2. I have been developing Java Swing applications for a long time. In my current application (a stand-alone desktop application), I added a media player using JavaFX 2 for the first time. The application is run using JRE 1.7.0_10 and JavaFx 2.2.4-b18. The media player works well in most cases. My testing on 64-bit Windows 7 machines showed no issues for the media files I attempted to play.

However, when the same application was tried with the same media files on a 64-bit Windows Vista machine, the few mp4 media files I was using failed to play. The media player is reporting the error "GStreamer encountered a general stream error". (Other media files, including flv files, played OK.)

Is this a codec issue? If so, can someone please point to the correct codec to install? (I tried DivX Plus, but that didn't help.)

I would appreciate any help in resolving this issue. Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2013
Added on Jan 23 2013
4 comments
1,054 views