WyattBlue / auto-editor

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

Audio and Video are desynchronized with --export clip-sequence #512

Open eromawyn opened 1 week ago

eromawyn commented 1 week ago

Bug description

I tried to exports "clips" from rush files ... but the audio and video are desynchronized. The audio was correctly cut, but the video was desynchronized. Does auto-editor take care of the audio shift my original file has ??

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'facecam.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf60.10.100 Duration: 00:18:25.50, start: 0.529000, bitrate: 172699 kb/s Stream #0:0[0x1]: Video: mjpeg (Baseline) (jpeg / 0x6765706A), yuvj420p(pc, bt470bg/unknown/unknown), 3840x2160 [SAR 1:1 DAR 16:9], 172017 kb/s, 59.98 fps, 60 tbr, 10000k tbn (default) Metadata: handler_name : VideoHandler vendor_id : FFMP Stream #0:1[0x2]: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0]

What's your platform?

OS: Windows 10 amd64
Python: 3.12.5
PyAV: 12.3.0 (GPL version 3 or later)
Auto-Editor: 25.1.0

What command did you use

auto-editor.exe facecam.mov --export  clip-sequence

What properties does your input video have?

facecam.mov:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'facecam.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf60.10.100 Duration: 00:18:25.50, start: 0.529000, bitrate: 172699 kb/s Stream #0:0[0x1]: Video: mjpeg (Baseline) (jpeg / 0x6765706A), yuvj420p(pc, bt470bg/unknown/unknown), 3840x2160 [SAR 1:1 DAR 16:9], 172017 kb/s, 59.98 fps, 60 tbr, 10000k tbn (default) Metadata: handler_name : VideoHandler vendor_id : FFMP Stream #0:1[0x2]: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0]

Comments

No response

WyattBlue commented 1 week ago

Does this only happen with --export clip-sequence?