#10684: FFmpeg metadata rotate doesn't work since after v2023-05-04-git
-------------------------------------+-------------------------------------
Reporter: Melvin Nava | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Melvin Nava):
Replying to [comment:2 v0lt]:
> Use the "-display rotation" command.
> Description can be found here -> http://ffmpeg.org/ffmpeg-all.html
#Video-Options
I tried it, but got this error at first:
{{{
ffmpeg -i "video.mp4" -c copy -display_rotation 270 "video_rotateR.mp4"
Option display_rotation (set pure counter-clockwise rotation in degrees
for stream(s)) cannot be applied to output url D:\video_rL.mp4
-- you are trying to apply an input option to an output file or vice
versa. Move this option before the file it belongs to.
Error parsing options for output file D:\video_rL.mp4.
Error opening output files: Invalid argument
}}}
So I modified the command accordingly, and it now works:
{{{
# Rotate video right
ffmpeg -display_rotation 270 -i "video.mp4" -c copy "video_rotateR.mp4"
# Rotate video left
ffmpeg -display_rotation 90 -i "video.mp4" -c copy "video_rotateL.mp4"
}}}
Thank you.. I'm closing this ticket!.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10684#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".