I’m trying to rotate a PNG image in my video using FFmpeg. The problem is that when I rotate the image, it loses quality, whereas it is perfect when not rotated
<code>-i /data/user/0/com.example.video_editor/cache/file_picker/1722348162570/1000037019.mp4 -i /data/user/0/com.example.video_editor/cache/ba6a5091-5466-4493-b5da-e98728e6279d.png -filter_complex "[1:v]scale=98.48512369791666:69.125,format=rgba,rotate=-30*PI/180:ow=rotw(-30*PI/180):oh=roth(-30*PI/180):c=none[slidable1];[0:v][slidable1]overlay=215.43958333333333:257.7833333333333" -b:v 1000k -b:a 128k -c:v libx264 -preset fast -c:a aac -strict experimental /storage/emulated/0/Android/data/com.example.video_editor/files/output_video_1722348412307.mp4
</code>
<code>-i /data/user/0/com.example.video_editor/cache/file_picker/1722348162570/1000037019.mp4 -i /data/user/0/com.example.video_editor/cache/ba6a5091-5466-4493-b5da-e98728e6279d.png -filter_complex "[1:v]scale=98.48512369791666:69.125,format=rgba,rotate=-30*PI/180:ow=rotw(-30*PI/180):oh=roth(-30*PI/180):c=none[slidable1];[0:v][slidable1]overlay=215.43958333333333:257.7833333333333" -b:v 1000k -b:a 128k -c:v libx264 -preset fast -c:a aac -strict experimental /storage/emulated/0/Android/data/com.example.video_editor/files/output_video_1722348412307.mp4
</code>
-i /data/user/0/com.example.video_editor/cache/file_picker/1722348162570/1000037019.mp4 -i /data/user/0/com.example.video_editor/cache/ba6a5091-5466-4493-b5da-e98728e6279d.png -filter_complex "[1:v]scale=98.48512369791666:69.125,format=rgba,rotate=-30*PI/180:ow=rotw(-30*PI/180):oh=roth(-30*PI/180):c=none[slidable1];[0:v][slidable1]overlay=215.43958333333333:257.7833333333333" -b:v 1000k -b:a 128k -c:v libx264 -preset fast -c:a aac -strict experimental /storage/emulated/0/Android/data/com.example.video_editor/files/output_video_1722348412307.mp4