Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4824

Camera board • Re: [GS camera] rpicam-vid broken by latest updates? Always 180° wrong

$
0
0
This might explain some framerates of 999999 I was getting when testing libcamera-vid. I will recheck when updates are out.
Yeah, but I would not complain if the framerate reported for me (1785.71 fps) would be real ;-)


In the side-by-side video above I did make an error.
I placed mplayer window of right camera on left side, and vice versa.
Instead just redoing everything but correctly, I chose to cut the .mp4 video into left and right part ...

Code:

ffmpeg -i out.mp4 -vf "crop=429:246:0:0" left.mp4ffmpeg -i out.mp4 -vf "crop=473:246:429:0" right.mp4
... and the place them side-by-side the other way around:

Code:

ffmpeg -i right.mp4 -i left.mp4 -filter_complex hstack out2.mp4
Finally create animated .gif again:

Code:

vid2gif out2.mp4mv out2.mp4.gif dual.GS.2x1_Lego.gif

I uploaded that to my personal website, so the animated .gif you see in my previous posting is the corrected new animation.


P.S:
I viewed my last posting on smartphone browser and placed a vertical seperator between border of left/righ and my nose.
With a bit of concentration I can see 3D a bit already ...

Statistics: Posted by HermannSW — Tue Mar 12, 2024 5:30 pm



Viewing all articles
Browse latest Browse all 4824

Trending Articles