Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop single file #29

Open
deadbutalive opened this issue Oct 12, 2015 · 2 comments
Open

Loop single file #29

deadbutalive opened this issue Oct 12, 2015 · 2 comments

Comments

@deadbutalive
Copy link

Is it possible to seamless loop a single video file? When I launch a clip with the --loop tag for a single clip I get a noticeable gap between clip end and clip start that is not ideal for my application. Great project btw

[notice ] bool ofxOMXPlayerEngine::didReadFile(bool): didOpenMovie TOOK 7 MS
[notice ] bool ofxOMXPlayerEngine::openPlayer(int): duration SET: 7.88
@Maigre
Copy link
Member

Maigre commented Oct 22, 2015

Hi,

did you try with "--gl 0" option ? It might help..

There is some issues related to the ofxOMXPlayer library which do not detect properly media end.
It could be possible to preload a new internal player and play it as soon as the current one end,
that would help, but it is not yet implemented. (It's in my TODO list !)

I'm working on a new solution with this feature included for HPlayer v2, based on libVLC instead of ofXOMXPlayer.
It offers a better control over the playback, and the ability to route sound to ALSA mixer but lack the framebuffering and OpenGL shaders manipulation which would mean a massive downgrade in the current HPlayer capabilities.
I will publish this v2 as soon as i manage to solve this OpenGL support with libVLC,
and this will hopefully help you with you loop issue :)

Best Regards,
Thomas

@Maigre
Copy link
Member

Maigre commented Oct 22, 2015

could you also try to check if the loop gap is lower by duplicating the same file and playing the whole directory ?
Not sure it will help, but worse trying..

Best,
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants