Juha Heinanen via ffmpeg-user writes:
> If android_camera device would rotate the video clockwise by that
> amount (270), orientation of the video would be correct. There is this
> in android_camera.c:
>
> av_display_rotation_set(display_matrix, ctx->sensor_orientation);
>
> if (ctx->lens_facing == ACAMERA_LENS_FACING_FRONT) {
> av_display_matrix_flip(display_matrix, 1, 0);
> }
I tried with back camera (where the above flip call is not executed) and
now android_camera sent the video with 270 degree clockwise orientation.
This is with ffmpeg version 4.2.2.
-- Juha
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".