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

ffmpeg codec arguments #63

Open
collinsmith opened this issue Jan 14, 2021 · 2 comments
Open

ffmpeg codec arguments #63

collinsmith opened this issue Jan 14, 2021 · 2 comments

Comments

@collinsmith
Copy link

Maybe this is outside the scope of this project, but I was wondering if I can customize the parameters of ffmpeg and get a stream decoded from a specific codec into a format that LibGDX can handle. When passing in the raw file, I'm seeing [VideoPlayer::loadFile] Error opening file: Invalid data found when processing input, however vlc can play the file fine, and once I convert the file using -c:v vp8 -c:a libvorbis to a webm video like the test video, it works alright.

image

@collinsmith
Copy link
Author

I did a little digging and found #42 (comment)
Are there any plans to expand the included codecs?

@dasisdormax
Copy link
Contributor

Codec support was recently clarified in the README, along with instructions on how to build the desktop version with additional codecs (mainly for MP4 support, but you might also find the right settings for your example).

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

No branches or pull requests

2 participants