background-video-recorder
An Extension To Record Background Video Without Open Camera App
š§© BackgroundVideoRecorder
An extension for MIT App Inventor 2.Developed by th using Fast. An Extension To Record Background Video Without Open Camera App, with Inclued video quality with including dynamic orientation rotation for cinematic effects.
Specifications
Size: 12.24 KB
Version: 1.0
Minimum API Level: 7
Updated On: 2025-02-24T18:30:00Z
Built & documented using: FAST-CLI
Paid Price - 2š² USD.
INR - 175rs.
Telegram: here
Find more Extension here
More Info GitHub
Pm here @TechHamara
Buy In PayPal
Demo here
Capture photo
**Video** here
Events:
BackgroundVideoRecorder has total 9 events.
FrontCameraSelected
Event triggered when front camera is selected.
BackCameraSelected
Event triggered when back camera is selected.
VideoRecordingPaused
Event triggered when video recording has been paused.
VideoRecordingResumed
Event triggered when video recording has been resumed.
PhotoCaptured
Event triggered when a photo has been captured successfully.
Parameter | Type |
---|---|
filePath | text |
PhotoCaptureError
Event triggered when an error occurs during photo capture.
Parameter | Type |
---|---|
message | text |
VideoRecordingStarted
Event triggered when video recording has successfully started.
VideoRecordingStopped
Event triggered when video recording has been stopped. and filePath The file path where the video was saved
Parameter | Type |
---|---|
filePath | text |
VideoRecordingError
Event triggered when an error occurs during video recording. and message A message describing the error.
Parameter | Type |
---|---|
message | text |
Methods:
BackgroundVideoRecorder has total 13 methods.
StartRecording
Starts video recording in the background with custom parameters and enhanced quality.
- height - The height (in pixels) of the video.
- width - The width (in pixels) of the video.
- orientation - The display orientation (e.g., 90 or 180).
- frameRate - The frame rate (e.g., 30 or 60).
- bitRate - The video bit rate (e.g., 2000000 (2mb lower bit rate) to 12000000 (12mb higher bit rate)).
- audioBitRate - The audio bit rate (e.g., 64000 (64kbps) to 320000 (320kbps)).
- filePath - The full path (including file name) where the recorded video will be saved.
Parameter | Type |
---|---|
width | number |
height | number |
orientation | number |
frameRate | number |
filePath | text |
StopRecording
Stops background video recording.
FrontCamera
Sets the camera to use the front-facing camera if available.
BackCamera
Sets the camera to use the back-facing camera if available.
IsFrontCamera
Returns true if the front camera is currently selected.
StartRecordingFHD1080P
Starts high quality background video recording with preset parameters (1920x1080, 60 fps, 6Mbps video bitrate, 128Kbps audio bitrate).
- filePath - The full path (including file name) where the recorded video will be saved.
Parameter | Type |
---|---|
filePath | text |
PauseRecording
Pauses video recording if supported (API level 24 and above).
ResumeRecording
Resumes video recording if supported (API level 24 and above).
IsRecording
Returns true if video recording is active, false otherwise.
RecordedFilePath
Returns the file path of the last recorded video.
CancelRecording
Cancels the current recording and cleans up resources.
CapturePhoto
Captures a photo and saves it to the provided file path.
Parameter | Type |
---|---|
photoFilePath | text |
LastCapturedPhotoFilePath
Returns the file path of the last captured photo.
Demo Blocks
PayPal QR Code
Thanks
Askme free extension for device permission.
TechHamara