occivink / mpv-gallery-view

Gallery-view scripts for mpv
The Unlicense
191 stars 20 forks source link

Thumbnails not being genarated #42

Open rexackermann opened 1 year ago

rexackermann commented 1 year ago

I am not sure what's happening but this is something showing up on the terminal

gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid next size (normal) statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid next size (normal) statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:41 / 00:03:28 (20%) A-V: -0.012 DS: 3.139/1 Cache: 166s/44MB [----------------------+--------------------------------------------------------------------------------------------] gallery_thumbgen: Fatal glibc error: malloc assertion failure in _int_malloc: (unsigned long) (size) >= (unsigned long) (nb)

Or

gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid next size (normal) gallery_thumbgen: corrupted size vs. prev_size in fastbins
statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: free(): invalid pointer statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins statusline: (Paused) AV: 00:00:00 / 00:24:13 (0%) A-V: -0.008 DS: 3.571/1 Cache: 1452s/170MB [+-----------------------------------------------------------------------------------------------------------------------------------] gallery_thumbgen: corrupted size vs. prev_size in fastbins

LampPrinter commented 1 year ago

Thumbnails not getting generated for me too on MacOS when using app normally. Surprisingly, if I open a video in MPV through terminal then thumbnails get generated.

maliayas commented 1 year ago

@LampPrinter That's probably about not loading PATH properly (to include ffmpeg/mpv). Try doing:

ln -s "/Applications/mpv.app/Contents/MacOS/mpv" /usr/local/bin/mpv

If you're generating thumbs with ffmpeg, do the same for that, too.

Sophoria commented 1 month ago

@maliayas I hesitated, knowing I already have mpv & ffmpeg in PATH, but that fixed it. Much appreciated!