WyattBlue / auto-editor

Auto-Editor: Efficient media analysis and rendering
https://auto-editor.com
The Unlicense
2.81k stars 411 forks source link

Portrait video rotates to landscape #358

Closed igavronski closed 1 year ago

igavronski commented 1 year ago

Bug description

I am trying to auto-edit footage recorded in portrait mode. However, the output file gets rotated.

What's your platform?

Python Version: 3.7.4 64-bit
Platform: Darwin 21.6.0 x86_64
FFmpeg path: /usr/local/lib/python3.7/site-packages/auto_editor/ffmpeg/Darwin/ffmpeg
FFmpeg version: 4.4.1-4.4
Auto-Editor version 22w02a

What command did you use

auto-editor 20230626_110029.mp4 -s 20 -v 1.2 -o veneza.mp4

What properties does your input video have?

12:27 $ auto-editor info 20230626_110029.mp4 file: 20230626_110029.mp4

auto-editor info veneza.mp4 file: veneza.mp4

12:29 $ auto-editor -hide_banner -i 20230626_110029.mp4 Error! Unknown short: -hide_banner
12:31 $ auto-editor --hide_banner -i 20230626_110029.mp4 Error! Unknown option: --hide_banner
12:31 $ auto-editor -i 20230626_110029.mp4 Error! Unknown short: -i

Did you mean:
    --id

12:31 $

Comments

No response

WyattBlue commented 1 year ago

Use the up to date version.

igavronski commented 1 year ago

Same problem after upgrading.

13:52 $ auto-editor --debug Python Version: 3.11.4 64-bit Platform: Darwin 21.6.0 x86_64 FFmpeg Version: N-110230-g1179bb703e-6.0 FFmpeg Path: /usr/local/lib/python3.11/site-packages/ae_ffmpeg/Darwin-x86_64/ffmpeg Auto-Editor Version: 23w24a

mrap commented 1 year ago

Same issue here.

$ auto-editor --debug
Python Version: 3.9.12 64-bit
Platform: Darwin 22.2.0 x86_64
FFmpeg Version: N-110230-g1179bb703e-6.0
FFmpeg Path: /Users/mrap/.pyenv/versions/3.9.12/envs/video-ai/lib/python3.9/site-packages/ae_ffmpeg/Darwin-x86_64/ffmpeg
Auto-Editor Version: 23w32a
$ auto-editor  info IMG_8539.mov
IMG_8539.mov:
 - video:
   - track 0:
     - codec: hevc
     - fps: 30
     - resolution: 1920x1080
     - aspect ratio: 16:9
     - duration: 142.880000
     - pix fmt: yuvj420p
     - color range: pc
     - color space: bt709
     - color primaries: bt709
     - color transfer: bt709
     - timebase: 1/600
     - bitrate: 11266937
     - lang: und
 - audio:
   - track 0:
     - codec: aac
     - samplerate: 44100
     - channels: 2
     - duration: 142.878345
     - bitrate: 186088
     - lang: und
 - container:
   - duration: 142.88
   - bitrate: 11458116