User avatar
bomblord
Posts: 266
Joined: Sun Jul 14, 2019 2:54 am

Screen recording Pi 4?

Mon Apr 06, 2020 6:51 pm

Been banging my head against the wall after failing to get 2.5 different devices to recognize an Elgato with a pi plugged into it (even after plugging it into a tv to be sure it was outputting). Keeps saying it's not plugged into a usb 3.0 port or just throwing a black screen despite using several different clearly labeled 3.0 ports..... anyway that is not the point.

At this point I'm looking into a native option preferably with minimal performance impact. I'm putting together a "Your new $35 Desktop" video for my place of work as we're doing education material for our customers during the pandemic. I've tried two googled suggestions both in the app repository, simple screen record starts with the --no-audio option but then keeps throwing errors and refuses to output the final video. Another one I downloaded just hangs and then crashes. Curious what my options are here.

User avatar
Botspot
Posts: 1262
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Screen recording Pi 4?

Mon Apr 06, 2020 8:13 pm

bomblord wrote:
Mon Apr 06, 2020 6:51 pm
simple screen record starts with the --no-audio option but then keeps throwing errors and refuses to output the final video.
Did you mean Simple Screen Recorder?
2020-04-06-151213_1280x1024_scrot-min.png
2020-04-06-151213_1280x1024_scrot-min.png (69.05 KiB) Viewed 543 times
I just tried it using default settings, and it recorded fine for me. Please be specific.
I've developed the most intuitive RaspiOS img editor on the planet.
With a GUI similar to Gparted, managing imgs and sd cards is a breeze!
Boot it in a VM, Flash from the Internet at top speed, Mount (to drop in files), Shrink/Expand, Repair, and more.
https://github.com/Botspot/Pi-Power-Tools
> 400 users! 8-)

User avatar
bomblord
Posts: 266
Joined: Sun Jul 14, 2019 2:54 am

Re: Screen recording Pi 4?

Thu Apr 09, 2020 3:20 pm

Botspot wrote:
Mon Apr 06, 2020 8:13 pm
bomblord wrote:
Mon Apr 06, 2020 6:51 pm
simple screen record starts with the --no-audio option but then keeps throwing errors and refuses to output the final video.
Did you mean Simple Screen Recorder?
2020-04-06-151213_1280x1024_scrot-min.png
I just tried it using default settings, and it recorded fine for me. Please be specific.
I get this in the output and the final video is unplayable

ALSAInput::Init] Error: Can't open PCM device!
[PageRecord::StartInput] Error: Something went wrong during initialization.
[X11Input::~X11Input] Stopping input thread ...
[X11Input::InputThread] Input thread stopped.

Recordmydesktop also fails

User avatar
Botspot
Posts: 1262
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Screen recording Pi 4?

Thu Apr 09, 2020 6:11 pm

As I said, it works fine for me at default settings.
Here's what my settings look like:
Screenshot from 2020-04-09 12-56-34-min.png
Screenshot from 2020-04-09 12-56-34-min.png (25.25 KiB) Viewed 450 times
Screenshot from 2020-04-09 12-56-46-min.png
Screenshot from 2020-04-09 12-56-46-min.png (18.73 KiB) Viewed 450 times
Screenshot from 2020-04-09 12-56-59-min.png
Screenshot from 2020-04-09 12-56-59-min.png (22.42 KiB) Viewed 450 times
We may be able to find the cause if you upload screenshots of yours.
I've developed the most intuitive RaspiOS img editor on the planet.
With a GUI similar to Gparted, managing imgs and sd cards is a breeze!
Boot it in a VM, Flash from the Internet at top speed, Mount (to drop in files), Shrink/Expand, Repair, and more.
https://github.com/Botspot/Pi-Power-Tools
> 400 users! 8-)

User avatar
bomblord
Posts: 266
Joined: Sun Jul 14, 2019 2:54 am

Re: Screen recording Pi 4?

Thu Apr 09, 2020 9:31 pm

I appreciate the assistance here's the relevant screenshot. I've also tried MP4 with the same issue
Image
Image
Image

User avatar
Botspot
Posts: 1262
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Screen recording Pi 4?

Fri Apr 10, 2020 2:06 am

OK, I think I've found the problem: the audio device.
My Pi4 setup includes a usb microphone. You selected to record an audio device, but maybe none are available in your case.
The error seems fitting enough: "PageRecord::StartInput"

Anyway, try unchecking Record Audio on the first page.
I've developed the most intuitive RaspiOS img editor on the planet.
With a GUI similar to Gparted, managing imgs and sd cards is a breeze!
Boot it in a VM, Flash from the Internet at top speed, Mount (to drop in files), Shrink/Expand, Repair, and more.
https://github.com/Botspot/Pi-Power-Tools
> 400 users! 8-)

User avatar
bomblord
Posts: 266
Joined: Sun Jul 14, 2019 2:54 am

Re: Screen recording Pi 4?

Fri Apr 10, 2020 2:33 am

Botspot wrote:
Fri Apr 10, 2020 2:06 am
OK, I think I've found the problem: the audio device.
My Pi4 setup includes a usb microphone. You selected to record an audio device, but maybe none are available in your case.
The error seems fitting enough: "PageRecord::StartInput"

Anyway, try unchecking Record Audio on the first page.
Hey that seems to do it thanks. My next issue is the software is reporting it recording at 11fps.

User avatar
Botspot
Posts: 1262
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Screen recording Pi 4?

Fri Apr 10, 2020 2:35 am

bomblord wrote:
Fri Apr 10, 2020 2:33 am
Hey that seems to do it thanks. My next issue is the software is reporting it recording at 11fps.
Great! Glad to have solved your problem.
Low framerate... What RPi model?
I've developed the most intuitive RaspiOS img editor on the planet.
With a GUI similar to Gparted, managing imgs and sd cards is a breeze!
Boot it in a VM, Flash from the Internet at top speed, Mount (to drop in files), Shrink/Expand, Repair, and more.
https://github.com/Botspot/Pi-Power-Tools
> 400 users! 8-)

User avatar
bomblord
Posts: 266
Joined: Sun Jul 14, 2019 2:54 am

Re: Screen recording Pi 4?

Fri Apr 10, 2020 2:40 am

Botspot wrote:
Fri Apr 10, 2020 2:35 am
bomblord wrote:
Fri Apr 10, 2020 2:33 am
Hey that seems to do it thanks. My next issue is the software is reporting it recording at 11fps.
Great! Glad to have solved your problem.
Low framerate... What RPi model?
4B 4GB version. Nothing going on except sitting on the desktop in testing

ejolson
Posts: 5373
Joined: Tue Mar 18, 2014 11:47 am

Re: Screen recording Pi 4?

Fri Apr 10, 2020 5:46 am

bomblord wrote:
Fri Apr 10, 2020 2:40 am
Botspot wrote:
Fri Apr 10, 2020 2:35 am
bomblord wrote:
Fri Apr 10, 2020 2:33 am
Hey that seems to do it thanks. My next issue is the software is reporting it recording at 11fps.
Great! Glad to have solved your problem.
Low framerate... What RPi model?
4B 4GB version. Nothing going on except sitting on the desktop in testing
Are you both using the same video drivers. Maybe the framerate is different with the different options. What is the CPU utilisation at 11 fps? Screen resolution could also make a difference.

User avatar
Botspot
Posts: 1262
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Screen recording Pi 4?

Fri Apr 10, 2020 1:18 pm

bomblord wrote:
Fri Apr 10, 2020 2:40 am
Botspot wrote:
Fri Apr 10, 2020 2:35 am
What RPi model?
4B 4GB version.
Try using a MP4 container, with H.264 codec, at ultrafast.
I've developed the most intuitive RaspiOS img editor on the planet.
With a GUI similar to Gparted, managing imgs and sd cards is a breeze!
Boot it in a VM, Flash from the Internet at top speed, Mount (to drop in files), Shrink/Expand, Repair, and more.
https://github.com/Botspot/Pi-Power-Tools
> 400 users! 8-)

User avatar
rpiMike
Posts: 1386
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: Screen recording Pi 4?

Fri Apr 10, 2020 1:27 pm

Which Elgato model have you got?

I record my Pi’s hdmi output using an Elgato Gaming HD60 plugged into my MacBook usb.

User avatar
bomblord
Posts: 266
Joined: Sun Jul 14, 2019 2:54 am

Re: Screen recording Pi 4?

Fri Apr 10, 2020 7:40 pm

So, I finally got the Elgato to work on a third PC I have no clue why it worked right on PC 3 and not 1-2.5 I was thinking the Elgato was broken. That ended up resolving all of my issues

Return to “General discussion”