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

Add PyAV recipe #2750

Merged
merged 3 commits into from
Feb 14, 2023
Merged

Add PyAV recipe #2750

merged 3 commits into from
Feb 14, 2023

Conversation

DexerBR
Copy link
Contributor

@DexerBR DexerBR commented Feb 13, 2023

PyAV - is a Pythonic binding for the FFmpeg libraries.

I also added a recipe for the codecs in a similar way to ffpyplayer.

Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, I left some comments/questions

Comment on lines +4 to +11
class PyAVCodecsRecipe(Recipe):
depends = ["libx264", "libshine", "libvpx"]

def build_arch(self, arch):
pass


recipe = PyAVCodecsRecipe()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this recipe doing anything at all then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main intention is to keep the concept between PyAV and FFPyPlayer codecs distinct. That way, if there are any modifications to the PyAV codecs recipe, they will not interfere with FFPyPlayer.

In short, each recipe (PyAV/FFPyPlayer) in its own context.

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
@DexerBR DexerBR requested a review from AndreMiras February 14, 2023 01:12
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@AndreMiras AndreMiras merged commit 10f0f29 into kivy:develop Feb 14, 2023
shyamnathp pushed a commit to shyamnathp/python-for-android that referenced this pull request Feb 17, 2023
* pyav recipe

* flake8 fix

* Update pythonforandroid/recipes/av/__init__.py

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>

---------

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
misl6 added a commit that referenced this pull request May 22, 2023
* Add support for Python 3.10 and make it the default while building hostpython3 and python3 (#2577)

* Add support for Python 3.10 and make it the default while building hostpython3 and python3

* Update bugfix version

* Add PyAV recipe (#2750)

* pyav recipe

* flake8 fix

* Update pythonforandroid/recipes/av/__init__.py

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>

---------

Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>

* Add debug loggings for identifying a matching dist (#2751)

* Add debug loggings for identifying a matching dist

* Fix lint failure on f-string.

* Adds flag to support home app (launcher) intent-filter on SDL2 bootstrap (#2761)

* Home app functionality

* Cleanup

* Added --home-app to the docs

* Fixed the if statements within the intent-filter

* Use io.IOBase for LogFile (#2763)

This provides reasonable default implementations for common IO class
methods such as isatty().

Closes #2762.

* android_api to integer (#2765)

* android_api to integer

* changes to android_api

* changes to android_api

* fix #2768 smallIconName null can t be compared to String (#2769)

* fix #2768 smallIconName null can t be compared to String

* fix: Remove Importance None of notification which is modification from my own fork

* fix: Readd Importance_NONE in the notification channel as it s also in upstream p4a

* fix tools/liblink: syntax error

regression from 22b7dfe

* Update pyjnius version in recipe (#2791)

* Update Kivy recipe for 2.2.0 (#2793)

* Update Kivy recipe for 2.2.0rc1

* Bump to 2.2.0

* Update CHANGELOG.md and bump version to 2023.05.21

---------

Co-authored-by: Dexer <73297572+DexerBR@users.noreply.github.com>
Co-authored-by: Andre Miras <AndreMiras@users.noreply.github.com>
Co-authored-by: BitcoinWukong <87334822+BitcoinWukong@users.noreply.github.com>
Co-authored-by: Mathias Lindström <kuzeyron@gmail.com>
Co-authored-by: Dylan McCall <dylan@dylanmccall.ca>
Co-authored-by: Benoît HERVIER <b@rvier.fr>
Co-authored-by: SomberNight <somber.night@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants