I followed the guide mentioned below to set up recording of live game play, but with vertical games the video comes out rotated 90 degrees and the aspect ratio is wrong too (not rotated with the video). With the recording config, if i used the bgr24 pix_fmt as suggested in the guide, the video would come out black/blank (audio still came through), so when i changed pix_fmt to rgb24 then the video started coming through, but the orientation is off. See actual behavior image below.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44051216-ffmpeg-recording-video-rotated-and-bad-aspect-ratio-for-vertical-games?utm_campaign=plugin&utm_content=tracker%2F296058&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F296058&utm_medium=issues&utm_source=github).
Description
I followed the guide mentioned below to set up recording of live game play, but with vertical games the video comes out rotated 90 degrees and the aspect ratio is wrong too (not rotated with the video). With the recording config, if i used the bgr24 pix_fmt as suggested in the guide, the video would come out black/blank (audio still came through), so when i changed pix_fmt to rgb24 then the video started coming through, but the orientation is off. See actual behavior image below.
Expected behavior
video should be oriented with aspect ratio like this screenshot
Actual behavior
frame from ffmpeg video
Steps to reproduce the bug
Version/Commit
You can find this information under Information/System Information
Environment information
OS: Linux retropie 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie
Compiler: gcc (Raspbian 4.9.2-10) 4.9.2
Pi Model: 3
RetroPie Version: 4.2.1 7aa68d4
Built From: 4.1 image
Guide used: https://retroresolution.com/2016/07/06/recording-live-gameplay-in-retropies-retroarch-emulators-natively-on-the-raspberry-pi/
Emulator: lr-fbalpha