Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hiperdex] splitting into smaller parts files that cannot be opened in external programs (nsfw) #4328

Closed
KonoromiHimaries opened this issue Jul 20, 2023 · 7 comments

Comments

@KonoromiHimaries
Copy link

test command gallery-dl https://hiperdex.com/manga/dense-summer-firstlove/

i can't open #Dense #Summer #Firstlove_c001_001.jpg in external programs

@KonoromiHimaries KonoromiHimaries changed the title [hiperdex] split into smaller parts files that cannot be opened in external programs (nsfw) [hiperdex] splitting into smaller parts files that cannot be opened in external programs (nsfw) Jul 20, 2023
@rautamiekka
Copy link
Contributor

Provide the command used, the full output log when using --verbose, and the config file, from all of which you censored your usernames/passwords/ID's of course.

@KonoromiHimaries
Copy link
Author

@rautamiekka i don't have any, because that not stricte gallery-dl issue

example. ristretto in version 0.13.1 do not can open this file

ffprobe log

gallery-dl/hiperdex/#Dense #Summer #Firstlove/c001/#Dense #Summer #Firstlove_c001_001.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 564423 kb/s
  Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 700x33537 [SAR 72:72 DAR 100:4791], 25 fps, 25 tbr, 25 tbn

@rautamiekka
Copy link
Contributor

Still would help to narrow things down. And you should always use --verbose.

@KonoromiHimaries
Copy link
Author

gallery-dl --verbose https://hiperdex.com/manga/dense-summer-firstlove/
[gallery-dl][debug] Version 1.25.8
[gallery-dl][debug] Python 3.11.3 - Linux-6.1.38-1-lts-x86_64-with-glibc2.37
[gallery-dl][debug] requests 2.28.2 - urllib3 1.26.15
[gallery-dl][debug] Configuration Files []
[gallery-dl][debug] Starting DownloadJob for 'https://hiperdex.com/manga/dense-summer-firstlove/'
[hiperdex][debug] Using HiperdexMangaExtractor for 'https://hiperdex.com/manga/dense-summer-firstlove/'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): hiperdex.com:443
[urllib3.connectionpool][debug] https://hiperdex.com:443 "GET /manga/dense-summer-firstlove/ HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://hiperdex.com:443 "POST /manga/dense-summer-firstlove/ajax/chapters/ HTTP/1.1" 200 None
[hiperdex][debug] Using HiperdexChapterExtractor for 'https://hiperdex.com/manga/dense-summer-firstlove/chapter-01/'
[urllib3.connectionpool][debug] https://hiperdex.com:443 "GET /manga/dense-summer-firstlove/chapter-01/ HTTP/1.1" 200 None
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): cdn.hiperdex.com:443
[urllib3.connectionpool][debug] https://cdn.hiperdex.com:443 "GET //home/newdex/wp-content/uploads/WP-manga/data/manga_6306c4963ef06/temp_unzip_6306c50e3534b/f6e7e2a5dff26ad2f17f41cd0579f180/1.jpg HTTP/1.1" 200 2822117
./gallery-dl/hiperdex/#Dense #Summer #F…1/#Dense #Summer #Firstlove_c001_001.jpg

@mikf
Copy link
Owner

mikf commented Jul 22, 2023

That's probably a ristretto bug or similar. The image has a height of 33000 pixels, which might cause problems with some programs.

It opens just fine in Firefox, Gimp, Geeqie, MuPDF, etc.
mpv can't open it though and gives the following errors, probably related to texture size:

[vo/gpu/opengl] after creating texture: OpenGL error INVALID_VALUE.
[vo/gpu/opengl] after rendering: OpenGL error INVALID_OPERATION.

@KonoromiHimaries
Copy link
Author

KonoromiHimaries commented Jul 22, 2023

@mikf In https://wiki.gnome.org/Apps/Evince i have the same bug. Also convert in ffmpeg took to long and jams my computer if height of image is to big.

@mikf
Copy link
Owner

mikf commented Jul 22, 2023

You could use imagemagick to split these long strips into smaller chunks

convert -crop x800 '#Dense #Summer #Firstlove_c001_001.jpg' '#Dense #Summer #Firstlove_c001_001_%02d.jpg'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants