![]() ![]() Now projected displays in tandem with DJing are popping up at many headliner shows, and even in bars and smaller clubs. I will see what can be done to improve thisI remember mashing my keyboard to bits when Winamp launched over 15 years ago with its trippy, keyboard controlled graphics. Currently the only way to achive this is by using the compat-option. Since the only option to differentiate between subs types are '-write-subsand-write-auto-subs`, yt-dlp makes it impossible to have the old behavior. In youtube-dl I would go with -write-subs -write-auto-subs -embed-subs, yt-dlp leaves around files, even if there are only auto generated subs. But since b51d2ae, it is documented and I have also added the option -compat-options no-keep-subs to go back how youtube-dl handled it.įor example, I want to automatically embed subs if they are present, if there is no subtitles track I want to embed automatically generated subs. It is true that I had failed to document how -embed-subs behaved differently than youtube-dl. There are also many other changes that have been made to the default behavior as documented here If you really want yt-dlp to work as close to youtube-dl as possible, you should use -compat-options youtube-dl. I have no intention of maintaining perfect compatibility with years old youtube-dl config files out of the box - especially if they are using such undocumented "features". While I keep most deprecated options still working, they will obviously be more limited in their capability than their recommended counterparts This should be considered this a bug in youtube-dl since this inconsistent behaviour is never documented anywhere and is therefore counter-intuitive and most probably unintentional. ![]() When this disparity was pointed out to me, I changed this at my discretion. It is youtube-dl's handling of -embed-subs that is inconsistent with their own handling of the similar option -embed-thumb. The main focus of this project is adding new features and patches while also keeping up to date with the original projectĬhanging defaults goes against the purpose of this project. Even if someone might need both for some edge case, there's no point in making it the default instead of creating a -keep-subs option to integrate their need. There is no point having internal and external tracks for the large majority of users. embed-subs being a post-process option should naturally work on the file generated by the previous option, then all files are deleted after the post-process, for those who need one or many files to be kept there's the -k flag. Since the only option to differentiate between subs types are -write-subs and -write-auto-subs, yt-dlp makes it impossible to have the old behavior. For example, I want to automatically embed subs if they are present, if there is no subtitles track I want to embed automatically generated subs. Not only that, but those who embed -all-subs will have a hard time having left hundreds of files around. You arbitrarily decided to change a long standing default behavior because one user asked for this in an unrelated issue, no proper issue was ever open about this.Ĭhanging that default behavior makes the transition from youtube-dl to yt-dlp and viceversa a pain because it breaks years old config files and requires to pay extra unneeded attention when using one project or the other. ( #826 tracks adding a proper option for this)Įdited to be more because you don't have a use-case for it doesn't mean it is pointless k also keeps around many other files like the thumbnail, unmerged streams etcįor reference, here's the differences: youtube-dl OptionĮmbed a normal/auto sub and keep it in disk This is smarter because the -k flag can be used if someone wants to embed and also keep the file, but there is no flag to automatically remove the file once embedded. But the default will be kept as the current behaviour So I will make a comapt-option to go back to this. While this is not the "right" behaviour imo, you are right that this is how upstream works. The default behavior of youtube-dl is to keep the file if not embedded and delete it if embedded This is consistent with how -write/embed-thumbnails work You may also seperately use -embed-subs to embed the subs or -write-subs to keep the file. If you are using -write-sub -embed-sub, it means you want to both keep the subs in disk and embed it. Just because you don't have a use-case for it doesn't mean it is pointlessīut the default should be what youtube-dl does, keep the file if external subs or embed and delete. Embedding subtitles in the video and also keeping the file is pointless and it results in 2 identical tracks for the same video. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |