aandrew-me / ytDownloader

A modern GUI App for downloading Videos and Audios from hundreds of sites
https://ytdn.netlify.app/
GNU General Public License v3.0
965 stars 87 forks source link

Add in ytDownloader a special section "Merge audio with video" to combine and merge video only with audio only of downloaded streaming file with vital preset : " ffmpeg -i video.mkv -i audio.mkv -c copy output.mkv " to get a normal stream ! #245

Open trimechee opened 2 days ago

trimechee commented 2 days ago

Hello, thank you for this amazing downloader ! πŸ’― πŸ₯‡

so the video I'm trying to download is not heavy, just 50mb, so the second media player (MOON READER) in this site:

https://v5.voiranime.com/anime/mobile-suit-gundam-seed -vf/mobile-suit-gundam-seed-20-vf/

usually using extensions like Live Stream Downloader or Cat-Catch, I get a maste.m3u8 stream and the downloaded file contains video with audio, but this streaming platform seems to make modifications recently and sadly, we can't any more download file with audio and video merged combined..... but let's note my interesting awesome discover , i tired to preview with Open-in vlc extension but it doesn 't work, so i go to vlc advanced settings and i go to gnu tls priority enryption and i choose performance priority to fast enryption and preview works with vlc !!

this streaming platform is very important, even if it disappointed me because since the beginning of the summer, recent streaming videos only display 1080p quality which is a serious problem for my eee pc windows 7 32 bits, this platform still has several old videos of anime episodes before summer 2024 with 480p quality and precisely, I am currently downloading several old anime episodes and the standard video quality allows me to download at lightning speed with our beloved ytDownloader because when I encounter download problems in the extensions, I copy paste the m3u8 stream into ytDownloader and download it successfully! πŸ’― πŸ₯‡

But now it seems that streaming sites will separate the audio from the video and it becomes impossible to download the master stream .m3u8 with merged video with audio, I spoke about this problem to Mr Chandler the developer of Live Stream Downloader :

https://github.com/chandler-stimson/live-stream-downloader

so Mr Chandler explained and advised me :

"This is not a bug. The website offers video-only and audio-only streams. You need to download both. Then use

ffmpeg -i video.mkv -i audio.mkv -c copy output.mkv to get a normal stream.

Also you can start playing "video.mkv" in VLC and add audio track to it ( for some streams it is not supported). "

so me and probably many others are not experts and we do not know how to use ffmpeg command lines and how merge audio with video.....

same for Cat-catch, we have video file without audio..... https://github.com/xifangczy/cat-catch

so our dream please is that our beloved ytDownloader, since ytDownloader integrates ffmpeg, our request please is that ytDownloader can combine and merge video only stream with audio-only stream to get a video file with audio merged, maybe by adding in ytDownloader a special section "merge audio with video" and adding automatically or manually these important vital presets:

ffmpeg -i video.mkv -i audio.mkv -c copy output.mkv

in order to fix this major download problem because I think many streaming sites will now separate audio from video and it will become a challenge and a major download problematic !

Thanks a lot :)

aandrew-me commented 1 day ago

But the site isn't supported by yt-dlp, also I noticed that there is download option for the video on site

trimechee commented 1 day ago

Yes, it's normal because it's a embed video streaming, I talked with one of the yt-dlp maintainers, he told me some sites are not officially supported by yt-dlp to avoid dmca complaints..... but the generic yt-dlp downloader supports several sites not mentioned.....

so ytDownloader can donwload m3u8 streams, I do this when the download with the extensions is slow or freezes, I get the m3u8 link of the embed streaming video from the Live Stream downloader or Cat-catch or Open in vlc extensions, these 3 extensions give me the m3u8 address of video only stream and the m3u8 address of audio only stream that I can download with ytDownloader, the problem that remains is to merge video and audio, it seems that it will be the new trend of streaming sites to separate the audio streams and the video stream and it will be great to be able to merge them easily please, yes we can playback the video only stream and then add external audio track with potplayer by choosing the audio only file, but sometimes we need to download several anime episodes and transfer them to our smartphone for example, hence the importance of being able to merge audio and video streams !

aandrew-me commented 22 hours ago

But how would I download the video if yt-dlp doesn't support it

trimechee commented 19 hours ago

Yt-dlp has generic downloader, i have tried, i put m3u8 stream from vidmoly platform given by the live stream downloader extension or cat catch and we put the m3u8 stream adress in yt-dlp and we can download m3u8 stream...

generally speaking it is useful to be able to join the audio to the video in download manager, suppose for example a youtube video which has several audio tracks generated by AI, we can just download the video only and add the audio track.....so I think it is beneficial to have option : merge audio and video