Android Question Video capture problem time limit

yfleury

Active Member
Licensed User
Longtime User
I try to capture a video but stop and my app is running fine.
How can I resolved that.

Here Error
B4X:
Main display is 1920x1200 @60.00fps (orientation=1)
Configuring recorder for 1280x720 video/avc at 20.00Mbps
Content area is 1152x720 at offset x=64 y=0
Time limit reached
Encoder stopping; recorded 7316 frames in 180 seconds
Stopping encoder and muxer
Executing: /system/bin/am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///sdcard/b4a.mp4
Broadcasting: Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///sdcard/b4a.mp4 flg=0x400000 }
Broadcast completed: result=0
 
I try whit another video name but stop before. I need more time.
B4X:
Main display is 1920x1200 @60.00fps (orientation=1)
Configuring recorder for 1280x720 video/avc at 20.00Mbps
Content area is 1152x720 at offset x=64 y=0
Time limit reached
Encoder stopping; recorded 6782 frames in 180 seconds
Stopping encoder and muxer
Executing: /system/bin/am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///sdcard/itin.mp4
Broadcasting: Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///sdcard/itin.mp4 flg=0x400000 }
Broadcast completed: result=0
 
Upvote 0
Upvote 0
Is not my app is capturing from the camera.
I want to capture the screen of my tablet when my app run. Then I want to make video from B4A
Capture.PNG
 
Upvote 0
It uses an ADB feature which is part of Android.
The timelimit cannot be changed.

You need to build your own android.

Download one of the Screenrecord-Apps on playstore and use this.
 
Upvote 0
Back
Top