Page 1 of 1

Как отследить, почему скрипт перестал делать тумбы из видео?

Posted: Sat Feb 05, 2022 3:05 pm
by S_Flash
(c) SmartCJ Pro V 2.1 Your Build 202201111538 (Current build: 202202051413

mplayer настроен в ротаторе..
Image

Скачал файл в tmp директорию

Code: Select all

wget https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4
запустил там же

Code: Select all

/usr/bin/mplayer sms_nina_blonde.mp4 -ss 0:2:0 -nosound -vo jpeg:outdir=out -frames 2
создалась папка out и в ней 2 скриншота:
http://maturesladies.com/tmp/out/00000001.jpg
http://maturesladies.com/tmp/out/00000002.jpg

Какой лог смотреть, чтоб понять, что происходит в моент создания скриншотов?

Image

Re: Как отследить, почему скрипт перестал делать тумбы из видео?

Posted: Sat Feb 05, 2022 3:57 pm
by admin
gallery_grabber.log

Re: Как отследить, почему скрипт перестал делать тумбы из видео?

Posted: Sat Feb 05, 2022 4:00 pm
by admin
как обычно надо добавить 1 (одну) галеру и после этого посмотреть лог

Re: Как отследить, почему скрипт перестал делать тумбы из видео?

Posted: Sun Feb 13, 2022 8:58 pm
by S_Flash
1) Походу что-то с курлом. Как проверить, что именно не получается у курла?
2) При этом вроде есть места в логе, где и загрузил до 100%, но по итогу тумбы только создал из предоставлденных в FLV Preview Thumb..

Code: Select all

 2022-02-13 20:50:04: processed_galleries = 1, memory = 5.3 Mb limit 128M (0.00055789947509766, 0.00056099891662598)
2022-02-13 20:50:04: Processing https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 (24865) (0.005173921585083, 0.0046141147613525)
2022-02-13 20:50:04: FLV URL https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 (0.005220890045166, 4.6014785766602E-5)
2022-02-13 20:50:04: Loading syn.txt (0.0087840557098389, 0.0035638809204102)
2022-02-13 20:50:04: Processing FLV https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 (0.14530491828918, 0.13651895523071)
2022-02-13 20:50:04: Check video dimention (0.14533090591431, 2.0980834960938E-5)
2022-02-13 20:50:04: Downloading file https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 to ../tmp/24865/tmp/9536_sms_nina_blonde.mp4 (0.14548802375793, 0.00015687942504883)
2022-02-13 20:50:09: Downloaded 10% (4.9004728794098, 4.7549910545349)
2022-02-13 20:50:21: Downloaded 20% (17.034618854523, 12.134146213531)
2022-02-13 20:50:34: Curl error: Operation timed out after 30004 milliseconds with 33553944 out of 138338997 bytes received (30.150959014893, 13.1163418293)
2022-02-13 20:50:34: unset ref (30.151041030884, 6.8902969360352E-5)
2022-02-13 20:50:34: Downloaded 0% (30.341043949127, 0.19000601768494)
2022-02-13 20:50:38: Downloaded 10% (34.530834913254, 4.1897940635681)
2022-02-13 20:50:51: Downloaded 20% (47.756819009781, 13.225983142853)
2022-02-13 20:51:04: Curl error: Operation timed out after 30001 milliseconds with 33553944 out of 138338997 bytes received (60.173848867416, 12.417026042938)
2022-02-13 20:51:04: Can not DL https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 Not 200 answer (0 , request domain: media.thickcash.com (194.36.109.254) )  (60.1745429039, 0.00069212913513184)
2022-02-13 20:51:04: Gallery description is empty: Update  with 'mature lady porn video'  (60.174697875977, 0.00014996528625488)
2022-02-13 20:51:04: Parsing video https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 (60.193975925446, 0.019276142120361)
2022-02-13 20:51:04: Downloading file https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 to ../tmp/24865/tmp/9594_sms_nina_blonde.mp4 (60.194027900696, 5.0067901611328E-5)
2022-02-13 20:51:08: Downloaded 10% (64.549902915955, 4.3558778762817)
2022-02-13 20:51:21: Downloaded 20% (77.693385839462, 13.143483877182)
2022-02-13 20:51:34: Curl error: Operation timed out after 30000 milliseconds with 33553944 out of 138338997 bytes received (90.195119857788, 12.501732826233)
2022-02-13 20:51:34: unset ref (90.195191860199, 6.2942504882812E-5)
2022-02-13 20:51:34: Downloaded 0% (90.379322052002, 0.18413305282593)
2022-02-13 20:51:38: Downloaded 10% (94.581310033798, 4.2019870281219)
2022-02-13 20:51:51: Downloaded 20% (107.68128085136, 13.099974155426)
2022-02-13 20:52:04: Curl error: Operation timed out after 30000 milliseconds with 33553944 out of 138338997 bytes received (120.23041200638, 12.549129962921)
2022-02-13 20:52:04: Can not DL https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4 Not 200 answer (0 , request domain: media.thickcash.com (194.36.109.254) )  (120.23085284233, 0.00043201446533203)
2022-02-13 20:52:04: Downloading files for a custom gallery (120.23183703423, 0.00098299980163574)
2022-02-13 20:52:04: Make thumb using crop profile id 1  (120.2323589325, 0.0005190372467041)
2022-02-13 20:52:04: Downloading img https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.jpg to ../tmp/24865/tmp//10226.jpg, ref https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4  (120.23269295692, 0.00033211708068848)
2022-02-13 20:52:04: Downloaded 50% (120.86039495468, 0.62770295143127)
2022-02-13 20:52:04: Downloaded 100% (120.86057090759, 0.00017094612121582)
2022-02-13 20:52:04: Source Size: 30760 (120.86072993279, 0.00015807151794434)
2022-02-13 20:52:04: Dupe check   (120.86077189445, 4.0054321289062E-5)
2022-02-13 20:52:04: Source Size 30760 (120.86114501953, 0.00037193298339844)
2022-02-13 20:52:04: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//10226.jpg (120.86123394966, 8.9168548583984E-5)
2022-02-13 20:52:05: Make thumb ../tmp/24865/tmp//10226.jpg -> ../tmp/24865/tmp//57064.jpg (120.91557002068, 0.054338932037354)
2022-02-13 20:52:05: Creating thumb ../tmp/24865/tmp//57064.jpg.tmp.jpg -> ../tmp/24865/tmp//57064.jpg  (120.91577887535, 0.00020408630371094)
2022-02-13 20:52:05: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//57064.jpg.tmp.jpg (120.9161529541, 0.00037312507629395)
2022-02-13 20:52:05: Size: 400x300 (../tmp/24865/tmp//57064.jpg.tmp.jpg) thumb: 288x210
			thumb_ratio: 1.3714285714286 img_ratio: 1.3333333333333 to ../tmp/24865/tmp//57064.jpg (120.97069692612, 0.054543972015381)
2022-02-13 20:52:05: Add cut params (120.97080397606, 0.00010299682617188)
2022-02-13 20:52:05: CMD: /usr/bin//convert  -crop +0+4 +repage  -crop -0-4 +repage   -resize 288x210^ -gravity Center -crop 288x210+0+0  -quality 66 -filter Lanczos   -sharpen 1  ../tmp/24865/tmp//57064.jpg.tmp.jpg ../tmp/24865/tmp//57064.jpg (120.97086906433, 6.3896179199219E-5)
2022-02-13 20:52:05: Thumb created, file size 14054 (121.00101494789, 0.030158996582031)
2022-02-13 20:52:05: Process custom thumb IM (/usr/bin/jpegoptim --strip-all ../tmp/24865/tmp//57064.jpg ../tmp/24865/tmp//57064.jpg) (121.00114798546, 0.00011587142944336)
2022-02-13 20:52:05: IM process error sh: /usr/bin/jpegoptim: No such file or directory
 (121.00486803055, 0.0037250518798828)
2022-02-13 20:52:05: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//57064.jpg (121.00502300262, 0.00014781951904297)
2022-02-13 20:52:05: Downloading flv_preview_thumb https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.jpg to ../tmp/24865/24/865/flv_preview.jpg (121.04525399208, 0.040234804153442)
2022-02-13 20:52:05: Downloaded 50% (121.65005397797, 0.6047990322113)
2022-02-13 20:52:05: Downloaded 100% (121.65022492409, 0.00016188621520996)
2022-02-13 20:52:05: Source Size 30760 (121.65033984184, 0.00011396408081055)
2022-02-13 20:52:05: Identify /usr/bin//identify -verbose ../tmp/24865/24/865/flv_preview.jpg (121.65037798882, 3.6001205444336E-5)
2022-02-13 20:52:05: Content type: 4 (121.70560193062, 0.055222988128662)
2022-02-13 20:52:05: Creating thumb from https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.jpg  (288x210) (Crop profile: 9)  (121.7061829567, 0.00058102607727051)
2022-02-13 20:52:05: Downloading img https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.jpg to ../tmp/24865/tmp//80589.jpg, ref https://media.thickcash.com/flash_manager/seemomsuck/sms_nina_blonde.mp4  (121.70624184608, 5.6982040405273E-5)
2022-02-13 20:52:06: Downloaded 50% (121.86815500259, 0.16191792488098)
2022-02-13 20:52:06: Downloaded 100% (121.86871886253, 0.00055789947509766)
2022-02-13 20:52:06: Source Size: 30760 (121.86881184578, 9.2029571533203E-5)
2022-02-13 20:52:06: Dupe check   (121.86884784698, 3.4093856811523E-5)
2022-02-13 20:52:06: Source Size 30760 (121.8692688942, 0.00042009353637695)
2022-02-13 20:52:06: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//80589.jpg (121.86934304237, 7.2002410888672E-5)
2022-02-13 20:52:06: Make thumb ../tmp/24865/tmp//80589.jpg -> ../tmp/24865/tmp//98312.jpg (121.92537593842, 0.056039094924927)
2022-02-13 20:52:06: Creating thumb ../tmp/24865/tmp//98312.jpg.tmp.jpg -> ../tmp/24865/tmp//98312.jpg  (121.925552845, 0.00016903877258301)
2022-02-13 20:52:06: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//98312.jpg.tmp.jpg (121.92559504509, 4.0054321289062E-5)
2022-02-13 20:52:06: Size: 400x300 (../tmp/24865/tmp//98312.jpg.tmp.jpg) thumb: 288x210
			thumb_ratio: 1.3714285714286 img_ratio: 1.6666666666667 to ../tmp/24865/tmp//98312.jpg (121.9805419445, 0.054949045181274)
2022-02-13 20:52:06: Add cut params (121.98063087463, 8.6069107055664E-5)
2022-02-13 20:52:06: CMD: /usr/bin//convert  -crop +35+0 +repage  -crop -35-60 +repage   -resize 288x210^ -gravity Center -crop 288x210+0+0  -quality 66 -filter Lanczos   -normalize  -sharpen 1  -unsharp 1x0.3+1 -unsharp 1x0.1+1  ../tmp/24865/tmp//98312.jpg.tmp.jpg ../tmp/24865/tmp//98312.jpg (121.98072886467, 9.7990036010742E-5)
2022-02-13 20:52:06: Thumb created, file size 16934 (122.03729987144, 0.05657696723938)
2022-02-13 20:52:06: Process custom thumb IM (/usr/bin/jpegoptim --strip-all ../tmp/24865/tmp//98312.jpg ../tmp/24865/tmp//98312.jpg) (122.03738999367, 8.1062316894531E-5)
2022-02-13 20:52:06: IM process error sh: /usr/bin/jpegoptim: No such file or directory
 (122.04124093056, 0.0038549900054932)
2022-02-13 20:52:06: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//98312.jpg (122.04132604599, 7.8916549682617E-5)
2022-02-13 20:52:06: Detect img size for ../tmp/24865/tmp//98312.jpg ( x ) (122.08008098602, 0.038758039474487)
2022-02-13 20:52:06: Identify /usr/bin//identify -verbose ../tmp/24865/tmp//98312.jpg (122.08015704155, 7.1048736572266E-5)
2022-02-13 20:52:06: insert into rot_thumbs (122.11963486671, 0.039486169815063)
2022-02-13 20:52:06: insert into rot_gallery_stats (122.1203110218, 0.00066494941711426)
2022-02-13 20:52:06: Saving thumb (122.12165904045, 0.0013468265533447)
2022-02-13 20:52:06: Saving thumb (86585): title:Nina Blonde loves to taste guys' cocks and today it's your turn to give say no to what she wants. This stale GILF is gonna give you the best blowjob of your life, sucking your load of shit while teasing the cockhead with say no to tongue. Mrs Blonde wants you to cum involving say no to mouth, so what are waiting for? Give say no to some salty semen to swallow!, desc:, function rotation_get_thumb_path (force name: ) to folder 86/ filename 585_your (122.12219285965, 0.00053191184997559)
2022-02-13 20:52:06: Saving location: local to folder ../../th//86/  (122.12227296829, 7.7009201049805E-5)
2022-02-13 20:52:06: save_name /585_your.jpg (122.12232804298, 5.1975250244141E-5)
2022-02-13 20:52:06: Saving file ../tmp/24865/tmp//98312.jpg (16934 bytes) to ../../th//86///585_your.jpg  (122.12236785889, 3.9100646972656E-5)
2022-02-13 20:52:06: ../../th//86///585_your.jpg saved (16934 bytes) (122.12252783775, 0.00015997886657715)
2022-02-13 20:52:06: Uploading custom gallery files (122.13952088356, 0.016992807388306)
2022-02-13 20:52:06: Cleanup tmp folder: ../tmp/24865 (122.1420109272, 0.0024869441986084)
2022-02-13 20:52:06: Set gallery status to pool  (122.14370799065, 0.0016930103302002)
Есть, что посоветовать?

Re: Как отследить, почему скрипт перестал делать тумбы из видео?

Posted: Sun Feb 13, 2022 9:34 pm
by admin
2022-02-13 20:50:04: Downloading file https://media.thickcash.com/flash_manag ... blonde.mp4 to ../tmp/24865/tmp/9536_sms_nina_blonde.mp4 (0.14548802375793, 0.00015687942504883)
2022-02-13 20:50:09: Downloaded 10% (4.9004728794098, 4.7549910545349)
2022-02-13 20:50:21: Downloaded 20% (17.034618854523, 12.134146213531)
2022-02-13 20:50:34: Curl error: Operation timed out after 30004 milliseconds with 33553944 out of 138338997 bytes received (30.150959014893, 13.1163418293)


дефотный таймаут 30 секуунд
тут оно просто не отдает с такой скоростью что б это время успеть скачать видео

в конфиг можно добавить другой таймаут например

$config['CURLOPT_TIMEOUT'] = 60000;

ессно процессы будут дОльше висеть пытаясь скачать файлы