[Paid] background video recorder An Extension To Record Background Video Without Open Camera App

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.

:memo: Specifications


:floppy_disk: Size: 12.24 KB
:gear: Version: 1.0
:iphone: Minimum API Level: 7
:date: Updated On: 2025-02-24T18:30:00Z
:computer: 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

:yellow_heart:paypal here

Demo here

Capture photo

photo_2025-02-26_10-23-03


**Video** here

Events:

BackgroundVideoRecorder has total 9 events.

FrontCameraSelectedBlock

:yellow_heart: FrontCameraSelected

Event triggered when front camera is selected.

BackCameraSelectedBlock

:yellow_heart: BackCameraSelected

Event triggered when back camera is selected.

VideoRecordingPausedBlock

:yellow_heart: VideoRecordingPaused

Event triggered when video recording has been paused.

VideoRecordingResumedBlock

:yellow_heart: VideoRecordingResumed

Event triggered when video recording has been resumed.

PhotoCapturedBlock

:yellow_heart: PhotoCaptured

Event triggered when a photo has been captured successfully.

Parameter Type
filePath text

PhotoCaptureErrorBlock

:yellow_heart: PhotoCaptureError

Event triggered when an error occurs during photo capture.

Parameter Type
message text

VideoRecordingStartedBlock

:yellow_heart: VideoRecordingStarted

Event triggered when video recording has successfully started.

VideoRecordingStoppedBlock

:yellow_heart: VideoRecordingStopped

Event triggered when video recording has been stopped. and filePath The file path where the video was saved

Parameter Type
filePath text

VideoRecordingErrorBlock

:yellow_heart: 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.

StartRecordingBlock

:purple_heart: 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

StopRecordingBlock

:purple_heart: StopRecording

Stops background video recording.

FrontCameraBlock

:purple_heart: FrontCamera

Sets the camera to use the front-facing camera if available.

BackCameraBlock

:purple_heart: BackCamera

Sets the camera to use the back-facing camera if available.

IsFrontCameraBlock

:purple_heart: IsFrontCamera

Returns true if the front camera is currently selected.

StartRecordingFHD1080PBlock

:purple_heart: 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

PauseRecordingBlock

:purple_heart: PauseRecording

Pauses video recording if supported (API level 24 and above).

ResumeRecordingBlock

:purple_heart: ResumeRecording

Resumes video recording if supported (API level 24 and above).

IsRecordingBlock

:purple_heart: IsRecording

Returns true if video recording is active, false otherwise.

RecordedFilePathBlock

:purple_heart: RecordedFilePath

Returns the file path of the last recorded video.

CancelRecordingBlock

:purple_heart: CancelRecording

Cancels the current recording and cleans up resources.

CapturePhotoBlock

:purple_heart: CapturePhoto

Captures a photo and saves it to the provided file path.

Parameter Type
photoFilePath text

LastCapturedPhotoFilePathBlock

:purple_heart: LastCapturedPhotoFilePath

Returns the file path of the last captured photo.

Demo Blocks

PayPal QR Code

paypal

Thanks

Askme free extension for device permission.

TechHamara
2 Likes

Will the recording continue even if the application is minimized or closed?

This version background minimize recording not supported.
Will next update implement this feature.
Thank for your hints.

1 Like