maikeru1986
Members-
Posts
48 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by maikeru1986
-
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
@marph Do you still have issues, have you perhaps tried this?... -
@Steel The search string is the game name only + additional search terms, then there are flags for no-playlist, match-filter for duration, and quality. and thats about it. Everything after the -o flag is just where the video is saved. (game.VideoUrl at the end is nothing in this case, i think. youtube_srch.StartInfo.Arguments = $@" ""ytsearch:{CleanInput(game.Title)} {searchTerms}"" --no-playlist --match-filter ""duration <= {maxDuration}"" -f mp4{quality} -o ""\Videos\{CleanInput(game.Platform)}\{CleanInput(game.Title)}.%(ext)s"" {game.VideoUrl}"; Take note that if there is a video already in Launchbox, then it uses that link and doesn't do any searching. I didn't add platform-specific stuff because it was mainly just for Windows. You could try adding Amiga only to the search terms and see if that works. but I presume you've tried that.
-
I will have a look in the morning (about 12hrs from nw). edit: it seems 720p is a yt-dlp limitation yes. try downloading ffmpeg. you can download it by ticking the trim videos checkbox. if that doesnt work you can download it manually and put it in the vidsnap scraper folder. might still not work, but definitely worth a try
-
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
Cool, glad to hear it's working for you now. btw, unless it's very old even a previous version shouldn't freeze up launchbox as it should be asyncronous, that's interesting. did it freeze up your computer as well? -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
Sorry only seeing this now. I'll have a look. Edit: I think i'll need some more info, not sure what, but it seems to be working on my end with LB v12.11 and Vidsnap Scraper v0.47 (I downloaded it from here again), see below. Plugins can definitely make LB hang though, whats the latest version that worked for you? -
@totoro I thought I replied to this earlier but I don't see my post so i must've not submitted it. Anyhow, I'm glad you like it and it's a pleasure. With regards to your suggestions: 1. I think this is a great idea, and have implemented persistent settings in version 0.4.7 which I've just uploaded. I might add a "reset to defaults" button in the future also. Please have test and see if it works ok. 2. I think this is a good idea also, but would require quite some work to do, so I can't make any promises that this would be implemented anytime soon. 3. If I do decide to implement #2 then this would be implemented at the same time.
-
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
1) I had a look at the above issue, but I can't seem to completely replicate it and also I'm thinking that I wouldn't be able to fix it. It could be the way ytsearch function works in yt-dlp,but it's not as well documented as the other functions and I'm not sure which parameters to change. However, it could possibly be youtube itself giving you the same video regardless of search terms (I don't know how youtube algorythms work)??? I did change some parameters and have uploaded a new version, but I doubt it changed anything at all. Below are some screenshots: 2) I thought about adding a custom URL link, but would then only be for 1 video at a time, hence I do suggest just pasting in the video URL in the edit menu of the game before running the plugin. i'll add it to the todo list and have a look again when I get some free time. Sorry I wasn't much help on this one. -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
That's interesting, I'll have a look into the trailer thing when I get a chance and get back to you . with regards to the link, that should be easy to do but not what I was going for with the plugin as if you are already going for a specific link manually then it might be easier just to use youtube-dl or yt-dlp to do that? alternatively, you could paste in the video url textbox before running the plugin. nevertheless, I'll see what I can do. -
@Zazamastro I've uploaded a new version as it seems download speed was crippled in youtube-dl. not sure what the reasons are, but for me it was about a 10th my line speed. Simply switched over to yt-dlp which is a fork of youtube-dl with some extra features, and seems to saturate my line. give it a try and see if it works better for you, or let me know if there are any issues.
-
I forgot to label the one file as source/master, my bad. As for it being slow, I seem to think so too. I recall it being much quicker. I checked with an older version because I know when I added the trimming it changed things a little, but even the older version is slow. Or maybe its all in my head and it was always slow, but Ill definitaley investigate.
-
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
commented out those messages, didn't actually test it but fairly sure it should work. Let me know if it doesn't. I'll keep in mind for a future version maybe to write an error log. -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
Oh I'll take that out no problem. It was for testing purposes mainly. -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
minor update as I said I would earlier. Tested it on 55 games, downloaded and trimmed 52/55, but that's not necessarily the trimming (I actually think it just didn't find those videos). Trimming takes much longer though as it has to re-encode the video. -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
Yes, @C-Beats is right. The problem is I opted to copy the videos instead of re-encode them. I did this because copying is much quicker (tbh I didn't test re-encoding to see the how long it would take). I'll do this as a quick fix in the mean time (at least I think it should work). I'll also check out AviDemux. However what I would like ultimately is to only download a portion of a video. -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
Yeah there's definitely some bugs I need to work out or at least some learning to do with FFmpeg. I think the dead seconds is the part between the closest previous keyframe and the cut position. FFmpeg supposedly uses an edit list to instruct the player to start from the cut position, but unfortunately not all players support edit lists. I also noticed it getting stuck on some videos sometimes, which hasn't heppened before, but sometimes that same video would complete in another run. I didn't change anything else relating to the downloading part however I did notice once FFmpeg is in the same folder as youtube-dl it allows downloading of higher quality/different formats. I'll look into these issues as soon as I have a bit more free time, which unfortunately is hard to come by at the moment. With regards to previewing videos etc. I doubt that would be anytime soon, or at all, sorry. Besides being a significant developement to the current, theres also the issue of the plugin potentially "scraping" 100's of videos which could lead to issues with google/youtube putting up capchas or IP bans... who knows. I guess I should put a disclaimer in the original post. But who knows, I might look into it one day as that would be kinda cool. -
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
I've put together something that kinda works as a start. please try v0.3.0: