Summary: | GLMediaPlayer: EOS not reported for FFMPEG video | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Alan Sambol <alan.zgb> |
Component: | video | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alan.zgb, gouessej, kdropucic |
Priority: | --- | ||
Version: | 2.5.0 | ||
Hardware: | pc_all | ||
OS: | windows | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- | ||
Bug Depends on: | |||
Bug Blocks: | 1216 |
Description
Alan Sambol
2015-07-09 12:17:15 CEST
A simple way to test this is to seek to a few seconds before video end. On end, the video just stops, even though it should restart: if( 0 != ( GLMediaEventListener.EVENT_CHANGE_EOS & event_mask ) ) { new Thread() { public void run() { // loop for-ever .. mPlayer.seek(0); mPlayer.play(); } }.start(); } Please can you use a more recent version version of FFMPEG with JOGL 2.3.1? Hi, we tried with the latest 20150905-git-a87ada5 FFmpeg version, but the problem remains. JOGL version is 2.3.1. When using Libav (tested with http://builds.libav.org/windows/release-gpl/libav-11.3-win64.7z) instead of FFmpeg EOS is detected and everything works ok, so the problem probably lies in Java wrapper or in FFmpeg itself. The problem still persists for us because our application is deployed on Windows platform where usage of FFmpeg instead of Libav is advised by your code comments. (In reply to Kruno Dropucic from comment #4) > When using Libav (tested with > http://builds.libav.org/windows/release-gpl/libav-11.3-win64.7z) instead of > FFmpeg EOS is detected and everything works ok, so the problem probably lies > in Java wrapper or in FFmpeg itself. > > The problem still persists for us because our application is deployed on > Windows platform where usage of FFmpeg instead of Libav is advised by your > code comments. Yes, FFMPEG usage is recommended. Will need to test all our ffmpeg binding / GLMediaPlayer issued for version 2.4.0. Resolved with last FFmpeg / GLMediaPlayer updates |