You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, your project is very promising to me because I want to make a simple gui for mpv inside termux.
Currently, mpv only need the id to android.view.Surface to play its video through the option --wid=<ID>:
On Android, the ID is interpreted as android.view.Surface.
Pass it as a value cast to intptr_t.
Use with --vo=mediacodec_embed and --hwdec=mediacodec for direct rendering using MediaCodec,
or with --vo=gpu --gpu-context=android (with or without --hwdec=mediacodec-copy).
Could you tell me how to integrate a SurfaceView?
In this way I can return the Surface id from its SurfaceHolder.Callback.
Would it be as simple as adding a TextView?
The text was updated successfully, but these errors were encountered:
Hello, your project is very promising to me because I want to make a simple gui for mpv inside termux.
Currently,
mpv
only need the id toandroid.view.Surface
to play its video through the option--wid=<ID>
:Could you tell me how to integrate a SurfaceView?
In this way I can return the Surface id from its SurfaceHolder.Callback.
Would it be as simple as adding a TextView?
The text was updated successfully, but these errors were encountered: