Comments (4)
Post a log (there should be some in the thumbnail directory) or provide a sample file. There's not much for me to go on, here.
from mpv_thumbnail_script.
thumbnail_prefer_mpv=no.zip
thumbnail_prefer_mpv=yes.zip
[auto_profiles] Applying profile aspect<2.35
Playing: Samsung Chasing The Light Demo.ts
[ffmpeg/demuxer] mpegts: start time for stream 1 is not set in estimate_timings_from_pts
[ffmpeg/demuxer] mpegts: Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
(+) Video --vid=1 (hevc 3840x2160 59.940fps)
(+) Audio --aid=1 (aac)
mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the -global-isel-abort option: may only occur zero or one times!
[ffmpeg] AVHWFramesContext: Failed to create surface: 2 (resource allocation failed).
[ffmpeg] AVHWFramesContext: Unable to allocate a surface from internal buffer pool.
[auto_profiles] Applying profile UHD 60
Using hardware decoding (vaapi).
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 3840x2160 vaapi[p010]
[auto_profiles] Applying profile HDR 60
AV: 00:00:08 / 00:01:34 (10%) A-V: 0.006 DS: 1.000/1
Exiting... (Quit)
from mpv_thumbnail_script.
Using ffmpeg
with the script is deprecated,
If the thumbnail generation fails, the sub-process logs should've been in the thumbnail directory, but seems like they don't actually error out. Put mpv_keep_logs=yes
in your config and try again (clear out the existing thumbnails so it'll re-run the commands), then link one of the logfiles.
The log you pasted looks to be the stdout from the main process, which complains about hardware decoding not working. This should not happen with the sub-mpvs, because hardware decoding is explicitly disabled for them (assuming you are using the latest script release).
from mpv_thumbnail_script.
I ended up downloading the file myself and seeing what's up. The HDR part is irrelevant; the problem is the container (or a bad mux), which results in broken seeks.
Try it yourself: mpv --pause --start 30 "Samsung Chasing The Light Demo.ts"
The script requires the file to be properly seekable; broken input is broken input.
You can fix the file with ffmpeg -i "Samsung Chasing The Light Demo.ts" -c copy remuxed.mkv
or such. This can be thumbnailed.
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.