2019-03-01, 17:50
Dear all, may be someone can help me out. Thanks for the great work. I am using youtube-dl as a dependency of my add-on. I have issues downloading YouTube videos with separate Audio and Video streams. Some videos are only available in low resolution (480p) when both the video and audio are in one file. However, the same video may be available in HD as separate audio and video streams. I know, with youtube-dl at command-line, it is possible to download both audio and video separately, which are later merged into a single file after download; for example any of the following commands will achieve that:
1. youtube-dl -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=Ew2NOCWulF4
2. youtube-dl -f 136+140 https://www.youtube.com/watch?v=Ew2NOCWulF4
How can I achieve the above in Kodi using youtube-dl? I have been successful if both Audio and Video are in a single file.
Thanks in advance
1. youtube-dl -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=Ew2NOCWulF4
2. youtube-dl -f 136+140 https://www.youtube.com/watch?v=Ew2NOCWulF4
How can I achieve the above in Kodi using youtube-dl? I have been successful if both Audio and Video are in a single file.
Thanks in advance