WyattBlue / auto-editor

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

Subtitles are not included in the final video #493

Closed Flopsey closed 2 months ago

Flopsey commented 2 months ago

Bug description

If the original video had a subtitle stream, it is not included in the edited video. I believe this should be the case, since there is the option -sn which should explicitly disable subtitle output. However, even with this flag there are no subtitles.

What's your platform?

OS: Darwin 23.4.0 arm64
Python: 3.12.4
PyAV: 12.3.0
Auto-Editor: 24w30a

What command did you use

auto-editor video.mp4 --no-open

What properties does your input video have?

video.mp4:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf61.1.100 Duration: 01:27:52.48, start: 0.000000, bitrate: 338 kb/s Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], 267 kb/s, 25 fps, 25 tbr, 12800 tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 64 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] Stream #0:20x3: Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default) Metadata: handler_name : SubtitleHandler

Comments

No response

WyattBlue commented 2 months ago

25.0.1 should fix this