FFMpeg_B4A_armeabi-v7a
Comment:
- The FFMpegwrapper wraps most features of IJKPLayer (version no. 0.1.3) for Android.
It enables you to embed IJKPLayer into your application.
FFMepg_OutlineTextView
Methods:
- BringToFront
- Initialize
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetBackgroundImage (arg0 As Bitmap)
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- SetShadowLayer (Radius As Float, DX As Float, DY As Float, Color As Int)
- SetText (Text As String)
- SetTextColor (Color As Int)
- SetTextSize (Size As Float)
- SetTypeface (Typeface1 As Typeface)
- SetTypeface2 (Typeface1 As Typeface, Style As Int)
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- Left As Int
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
FFMpegMediaController
Events:
Methods:
- BringToFront
- Hide
- Initialize (EventName As String)
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- IsShowing As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetAnchorView (View1 As View)
Set the View that acts as the anchor for the controller view.
This can for example be a VideoView, or your Activity's main view.
- SetAnimationStyle (AnimationStyle As Int)
Set the animation style resource for this controller.
If the controller is showing, calling this method will take effect only the next time the controller is shown.
Set to -1 for the default animation, 0 for no animation, or a resource identifier for an explicit animation.
- SetBackgroundImage (arg0 As Bitmap)
- SetFileName (FileName As String)
Set the content of the TextView that displays the filename of the playing video.
- SetInstantSeeking (SeekWhenDragging As Boolean)
Control the action when the seekbar is dragged by user.
If True the media will seek periodically when the seekbar is dragged.
Default value is True.
- Show
Show the controller on screen.
It will go away automatically after a default 3000 milliseconds of inactivity.
- Show2 (Timeout As Int)
Show the controller on screen.
It will go away automatically after 'timeout' milliseconds of inactivity.
Use 0 to show the controller until hide() is called.
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Tag As Object
- Visible As Boolean
FFMpegVideoView
Events:
- Buffering (Percent As Int)
- Complete
- Error (MEDIA_ERROR As Int))
- Info (What As Int, Extra As Int))
- Prepared
- SeekComplete
Fields:
- MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK As Int
- MEDIA_ERROR_UNKNOWN As Int
- VIDEO_LAYOUT_ORIGIN As Int
- VIDEO_LAYOUT_SCALE As Int
- VIDEO_LAYOUT_STRETCH As Int
- VIDEO_LAYOUT_ZOOM As Int
Methods:
- BringToFront
- CanSeekBackward As Boolean
- CanSeekForward As Boolean
- Initialize (EventName As String)
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- IsPlaying As Boolean
- Pause
- RemoveView
- RequestFocus As Boolean
- Resume
- SeekTo (Milliseconds As Long)
- SendToBack
- SetBackgroundImage (arg0 As Bitmap)
- SetLayout (Top As Int, Left As Int, Width As Int, Height As Int)
- SetMediaController (MediaController1 As MediaController)
- SetVideoLayout (VIDEO_LAYOUT As Int)
Default is VIDEO_LAYOUT_SCALE.
- SetVideoPath (VideoPath As String)
Set the URI of the video to play.
Pass either a URL, or to load a video from the file system an example:
SetVideoPath(File.Combine(File.DirRootExternal, "test_video.mp4"))
- Start
- StopPlayback
Permissions:
- android.permission.INTERNET
- android.permission.WAKE_LOCK
Properties:
- Background As Drawable
- Color As Int [write only]
- CurrentLayout As Int [read only]
Returns current video-layout. This is not an official API.
- CurrentPosition As Long [read only]
Returns the current playback position in units of milliseconds.
- Duration As Long [read only]
Returns the video duration in milliseconds.
- Enabled As Boolean
- Height As Int
- Left As Int
- Position As Long
- Tag As Object
- Top As Int
- VideoHeight As Int [read only]
- VideoWidth As Int [read only]
- Visible As Boolean
- Width As Int
Author: Mikael Osterhed / Martin Pearman