question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to avoid re-embedding subs for existing videos

See original GitHub issue

Checklist

Question

I was trying to download a playlist with subtitles, but because the playlist was long, and my connection was slow, I had to do this over a few days. What I noticed is that yt-dlp will re-embed the subtitles for existing videos (even though they have been embedded), and this takes ages.

What happens now
Day 1: Downloaded 1-10
Day 2: (re) embed 1-10, download 11-15
Day 3: (re) embed 1-15, download 16-18
...

Is there a way to NOT embed videos with subtitles, or simply ignore checking existing videos?

yt-dlp -o "Trash Taste/%(uploader)s: %(title)s.%(ext)s" --windows-filenames --embed-subs --sub-langs "en.*,zh.*,ja",-live_chat --ffmpeg-location "D:\Software\Passive\ffmpeg-master-latest-win64-gpl\bin" "https://www.youtube.com/c/TrashTaste"

The ffmpeg-location points to the patched build.

Verbose log

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:27 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Mar 26, 2022

When you are not using --force-write-archive, the video is only added to archive after download and all postprocessing is done. So if you stop it midway, download fails etc, it won’t be added

0reactions
dabreadmancommented, Mar 26, 2022

The default order for youtube channels hasn’t changed in years. But could they change it? yes. You’ll need to go ask youtube if they will …

This is all I need to know XD Thanks, it worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage subtitle settings - Computer - YouTube Help
Turn captions on or off · Go to the video you'd like to watch. · If closed captions (CC) are available, will be...
Read more >
javascript - YouTube stream show subtitles below player
I'm working on a learning website and I need to display the subtitles of the video below the player. I can get it...
Read more >
How to Embed a YouTube Video in WordPress (4 ways)
03 Embed YouTube Video in WordPress using an <iframe> · Fullscreen: Whether or not to allow visitors to enlarge the video to cover...
Read more >
Full article: Theorizing Disembedding and Re-Embedding
Next, I present the findings on how disembedding and re-embedding ... of refugee entrepreneurs, their approaches are not without problems.
Read more >
How to Embed a Video on a Webpage | InMotion Hosting
Also, if you're embedding video into WordPress, it's even easier to ... I have also placed the video in a sub folder, yet,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found