

Using dec to pass codec parameters to muxers is deprecated, use decpar instead. Input #0, webvtt, from 'mXC3xGZWo_M.en.vtt':įile 'mXC3xGZWo_M.en.srt' already exists.

You can invoke ffmpeg directly to convert the file (I found this worked better than youtube-dl)įfmpeg.exe -i mXC3xGZWo_M.en.vtt mXC3xGZWo_M.en.srtįfmpeg version N-80386-g5f5a97d Copyright (c) 2000-2016 the FFmpeg developersĬonfiguration: -enable-gpl -enable-version3 -disable-w32threads -enable-nvenc -enable-avisynth -enable-bzlib -enable-fontconfig -enable-frei0r -enable-gnutls -enable-iconv -enable-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libfreetype -enable-libgme -enable-libgsm -enable-libilbc -enable-libmodplug -enable-libmfx -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenjpeg -enable-libopus -enable-librtmp -enable-libschroedinger -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvo-amrwbenc -enable-libvorbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxavs -enable-libxvid -enable-libzimg -enable-lzma -enable-decklink -enable-zlib Destination: data\mXC3xGZWo_M\mXC3xGZWo_M.mp3ĭeleting original file data\mXC3xGZWo_M\mXC3xGZWo_M.m4a (pass -k to keep)ĮRROR: file:data\mXC3xGZWo_M\mXC3xGZWo_M.en.vtt: Invalid data found when processing input Correcting container in "data\mXC3xGZWo_M\mXC3xGZWo_M.m4a" Destination: data\mXC3xGZWo_M\mXC3xGZWo_M.m4a mXC3xGZWo_M: Writing thumbnail to: data\mXC3xGZWo_M\mXC3xGZWo_M.jpg Writing video description metadata as JSON to: data\mXC3xGZWo_M\mXC3xGZWo Writing video subtitles to: data\mXC3xGZWo_M\mXC3xGZWo_M.en.vtt Writing video annotations to: data\mXC3xGZWo_M\mXC3xGZWo_M.annotations.xm Writing video description to: data\mXC3xGZWo_M\mXC3xGZWo_M.description mXC3xGZWo_M: Looking for automatic captions mXC3xGZWo_M: Extracting video information mXC3xGZWo_M: Downloading video info webpage I would much prefer the SRT format, as it’s much simpler to parse. I found in doing this that youtube-dl did not handle the conversion properly. It also tries to get real closed captioning if available, and if not it pulls the automatically generated ones from the speech-to-text software Youtube runs. This set of arguments will do it’s best to get you something – get SRT formatted subtitles if available, if not, try to convert them to SRT. min-filesize 50k -ignore-errors -write-all-thumbnails -no-call-home \

continue -write-info-json -write-description -write-annotations \ write-sub -sub-format vtt -convert-subtitles srt -write-auto-sub \ To download subtitles from youtube, you can use youtube-dl (this also gets audio, images, metadata):
