[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.1
: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

PayPal

Buy on BuyMeCoffee

Page

Update Smmury

Updated on 2025-03-04
V1.1 front facing camera bug fixed.

New Update 10-12-2025

  • Feature added
  • Background video recorder Support.
Process
  • Process on ai2 builder simple minimize the app on home button press or use any extension to go home.
  • kodular or Niotron Simple use go to home in built block components and the aix work background video record.
  • Avoid or not use Close application block components thatnot work background video record.

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

Buy Now PayPal

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

Thanks @JEWEL to point out me.

New Update 10-12-2025

  • Feature added
  • Background video recorder Support.

  • Continuous Recording Even if the application minimize.

  • also I changed package name backgroundvideorecorder to :point_right: io.th.bvrecorder.

  • Tested Poco X6 Pro

  • Android Version 15

  • Process on ai2 builder simple minimize the app on home button press or use any extension to go home.

  • kodular or Niotron Simple use go to home in built block components and the aix work background video record.

  • Avoid or not use Close application block components that not work background video record.

1 Like

i buy this extension but when build apk gave error

Please share error details





this picture when add extension to designer without and function in block and when build apk process not work and gave error

Check out pm masage.

thx its work

1 Like

This error occurred on apk build have been fixed.
And also working background video recorder during minimize app.

Note the app not close or not clear on recent bar to proper working.

Check out New Version for Paid Users.

Thanks
TechHamara