Comments (8)
Fixed in 40cadfc.
from mpv_thumbnail_script.
oM36vTQOkP0
creates an edl://
(a... virtual file which can join several sources together) way too long to pass in a command line argument. I get 145451 bytes of it. 7rG7wPCcxmw
is reasonably sized.
from mpv_thumbnail_script.
Hmh. I thought I could use a playlist to bypass the limit but mpv can only handle lines up to 8K characters long.
Sadly I'll have to allow mpv pass the original url through ytdl again. It'll really slow down the process, but eh.
from mpv_thumbnail_script.
Thx for the fast response again!
from mpv_thumbnail_script.
Hmm... Have you looked at the -a
parameter of youtube-dl
?
-a, --batch-file FILE
File containing URLs to download ('-' for stdin)
You can pass the url from file or stdin, and it doesn't have length limit.
from mpv_thumbnail_script.
The edl://
is not for youtube-dl, it's for mpv. I don't call ytdl itself ever, and even if stdin was the solution, it's not because it's a pain to try to pipe stuff in a cross-platform manner (because mpv doesn't open a shell).
The real solution is to have a script setup a pre-hook and let the script read the playlist with no character limits, but that's not a clean solution yet (workers should not pre-hook because there can be multiple, and the osc-client pre-hooking feels wrong and having a third script just to pre-hook the playlist is stupid).
from mpv_thumbnail_script.
or you can make a patch for mpv, or ask for a feature/changing in code.
from mpv_thumbnail_script.
150 kilobytes of a media path is ridiculous. It's not fair to expect mpv to parse playlist entries that long, and I have features I'd already want in that they're not really interested in - a patch to read up to and over 150 kilobyte lines would be scoffed at - there's just no reason to expect entries that long, especially so since this can be fixed with the hook script.
Plus then the functionality of the script would depend on the mpv version. Not all users have a cronjob for daily mpv-build
sessions.
from mpv_thumbnail_script.
Related Issues (20)
- Thumbnail preview is over-exposed HOT 1
- thumbails dont work network HOT 1
- Thumbnailing failed, it says the syntax of the command is incorret. HOT 3
- Feature request for android support
- my theme not working HOT 1
- Chapter names on hover are missing
- doesn't work on latest mpv v.38 HOT 2
- Thumbnailing no longer works due to video path issues
- Black semi-transparent border is shifted to the left when osd-align-x=center
- Outdated player/lua/osc.lua in mpv_thumbnail_script_client_osc.lua
- Trying to install scripts for Celluloid, Linux Mint 20.4 HOT 1
- Not Working for Windows 10 HOT 2
- fix error HOT 4
- Thumbnailing failed, check the console for details HOT 4
- transparent box is misaligned when using syncplay
- Does not work with Haruna media player that directly use MPV
- Thumbnail generation stuck at 0% HOT 9
- lua-settings/ is deprecated
- sorry mistake issue opned :(
- not wokring :( HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv_thumbnail_script.