Show HN: Download videos, but only the parts you want
videodownloadtool.io
Show HN: Download videos, but only the parts you want
1–10 of 39 posts
Re: Show HN: Download videos, but only the parts you want
#2The video editing and streaming is CPU and bandwidth intensive. If you want to use this a lot, you're better off using your own server (there are 1-click deploys to both Heroku and Digital Ocean along with a link to the Dockerfile and source), but I've added a link to a demo server if you just want to try it out. Depending on how much use this gets, performance might go down the drain.
Re: Show HN: Download videos, but only the parts you want
#3Re: Show HN: Download videos, but only the parts you want
#4I made this because I would download a lot of videos from Youtube to watch on my phone using VLC. Most of the videos I downloaded were from video game streams, and I wanted to constrain the video to just the gameplay (cropping the frame to just the game and trimming the timeline to ignore anything before/after). It got tedious to do this manually, so I made a tool to speed things up. The video editing and streaming i…
Re: Show HN: Download videos, but only the parts you want
#5Sry but is there any online tools to do this? We all know there are a lot of online sites to download Youtube videos, but seems no such feature?
Re: Show HN: Download videos, but only the parts you want
#6Sry but is there any online tools to do this? We all know there are a lot of online sites to download Youtube videos, but seems no such feature?
Re: Show HN: Download videos, but only the parts you want
#7Sry but is there any online tools to do this? We all know there are a lot of online sites to download Youtube videos, but seems no such feature?
To crop it and process it at scale you are talking about thousands of dollars of servers to first download the file then process it.
Re: Show HN: Download videos, but only the parts you want
#8Sry but is there any online tools to do this? We all know there are a lot of online sites to download Youtube videos, but seems no such feature?
Most sites, like mine use youtube-dl which just gets the video source file. To crop it and process it at scale you are talking about thousands of dollars of servers to first download the file then process it.
Found a previous post from someone using that lib https://news.ycombinator.com/item?id=26580333
Re: Show HN: Download videos, but only the parts you want
#9I'm curious as to why this is offered as a cloud machine and not something that runs locally. Wouldn't the encoding performance on a free or cheap cloud instance be poor?
I create a lot of video compilations using twitch and youtube videos as source. My internet is 5Mbps down, 3Mbps up, so it can take hours to download long video streams and extract just the parts I want.
Because of my network limitation, I found a way to combine ffmpeg and youtube-dl to grab sections of video from a twitch or yt video. The following is an example which replicates the videodownloadtool.io example.
ffmpeg -ss 00:15:34 -to 00:16:09 -i $(youtube-dl -f best -g https://www.youtube.com/watch?v=Qf2tplcb6eE) -vf "crop=(iw*0.75):(ih*0.80):(iw*0.20):(ih*0.08)" ./output.mp4Re: Show HN: Download videos, but only the parts you want
#10Pretty cool! I'm curious as to why this is offered as a cloud machine and not something that runs locally. Wouldn't the encoding performance on a free or cheap cloud instance be poor? I create a lot of video compilations using twitch and youtube videos as source. My internet is 5Mbps down, 3Mbps up, so it can take hours to download long video streams and extract just the parts I want. Because of my network limitation…
(It depends on youtube-dl -g producing a video URL that ffmpeg understands, which unfortunately is not always the case.)
Related: https://github.com/ytdl-org/youtube-dl/blob/master/README.md...