Skip to content
New issue

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

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

Already on GitHub? # 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).

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

No branches or pull requests

2 participants