In order to exclude the generation with yt-dlp, I also used ffmpeg to generate the embedded subtitle:
Code: Select all
ffmpeg -i Amantes_ES.mp4 -i Amantes_ES_de.vtt -c copy -c:s mov_text -metadata:s:s:0 language=de Amantes_ES_de.mp4
VLC version 3.0.16 Vetinari (3.0.13-8-g41878ff4f2) on *buntu 22.04 LTS
Here is the result of ffprobe:
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Amantes_ES_de.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.76.100
Duration: 01:39:26.64, start: 0.000000, bitrate: 1927 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1791 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : Mainconcept MP4 Video Media Handler
vendor_id : [0][0][0][0]
Stream #0:1(spa): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 130 kb/s (default)
Metadata:
handler_name : Mainconcept MP4 Sound Media Handler
vendor_id : [0][0][0][0]
Stream #0:2: Subtitle: mov_text (tx3g / 0x67337874) (default)
Metadata:
handler_name : SubtitleHandler
$
Any help appreciated!