Any way to crop and enlarge a specific area of video from rbpi camera and rtsp?

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Any way to crop and enlarge a specific area of video from rbpi camera and rtsp?

Post by /RaspberryPi »

Image Good friends, I have created a security camera system with a Raspberry pi and a pi camera module. I need it for a peephole on a door so I know who's knocking. The picture is great but there is a lot of bleed around the edges and I would like to zoom and crop the picture to fit a 16:9 screen. I'm very new to Linux and when it comes to the Pi's camera, let's see if you can advise me or recommend a way to do this.

https://preview.redd.it/9fa3v52lgs591.j ... p&f6e5e961

I am using v4l2rtspserver to stream my camera image on my home network:
v4l2rtspserver -H 1080 -W 1920 -F 30 -P 8555 /dev/video0
Then in tvheadend I can see the broadcast on my TV using ffmpeg (as if it were a TV channel):
pipe:///usr/bin/ffmpeg -loglevel fatal -i rtsp://192.168.1.56:8555/unicast -vcodec copy -acodec copy -f mpegts -mpegts_service_type 0x01 pipe:1

submitted by /u/Flepers
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”