WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.91k stars 972 forks source link

New Video uploads: Thumbnails, Gifs and videothumbnails creation stopped working after updating. #7824

Open Social-Loafer opened 1 year ago

Social-Loafer commented 1 year ago

All plugins are up to date also, along with all sql updates. You are running AVideo version 12.4! After applying the most recent updates I'm seeing this error:

From encoder log.

[22-Mar-2023 10:05:04 America/Denver] CreateSpirits: ERROR on dirsize=40960 ffmpeg -user_agent "AVideoEncoder www.NameRedacted FFMPEG" -i "http://www.NameRedacted/YouPHPTube/videos/NameRedacted*****_641b093f6a4e89.70207714/*Name*Redacted*****_641b093f6a4e89.70207714.mp4" -map 0:v:0 -vf fps=1/53.91,scale=150:84:force_original_aspect_ratio=decrease,pad=150:84:-1:-1:color=black "/var/www/html/YouPHPTube-Encoder/videos/thumbs_a2974e91d3c93c44bce6b7b93d46b736/out%03d.png" 2>&1

DanielnetoDotCom commented 1 year ago

how to reproduce that? here it is working fine

Social-Loafer commented 1 year ago

Seems to be an issue with older servers with the /var/www/html/YouPHPTube* path. No issue with newer builds. I've reset all plugins and (git fetch --all && git reset --hard origin/master) on the site and encoder and still get the same error. ERROR on dirsize=40960 Also when I go to (Get jpeg/gif) link I see this error in the encoder log: getImageInDuration: file too small SCRIPT_NAME: /YouPHPTube/plugin/MP4ThumbsAndGif/getImages.php

DanielnetoDotCom commented 1 year ago

try to manually run the code here and check the output

ffmpeg -user_agent "AVideoEncoder [www.Name*Redacted](http://www.name%2Aredacted/) FFMPEG" -i "[http://www.Name*Redacted/YouPHPTube/videos/***********Name*Redacted*************_641b093f6a4e89.70207714/***********Name*Redacted*************_641b093f6a4e89.70207714.mp4](http://www.name%2Aredacted/YouPHPTube/videos/***********Name*Redacted*************_641b093f6a4e89.70207714/***********Name*Redacted*************_641b093f6a4e89.70207714.mp4)" -map 0✌️0 -vf fps=1/53.91,scale=150:84:force_original_aspect_ratio=decrease,pad=150:84👎-1:color=black "/var/www/html/YouPHPTube-Encoder/videos/thumbs_a2974e91d3c93c44bce6b7b93d46b736/out%03d.png"

Social-Loafer commented 1 year ago

fmpeg version 3.2.18-0+deb9u1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --prefix=/usr --extra-version=0+deb9u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 [http @ 0x5612ab85b7e0] Invalid cookie found, no value, path or domain specified Last message repeated 3 times [http @ 0x5612ab85b720] HTTP error 416 Requested Range Not Satisfiable [http @ 0x5612ab85b7e0] Invalid cookie found, no value, path or domain specified Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://www.gnflix.gn/YouPHPTube/videos/video_230322075512_vb0eb/video_230322075512_vb0eb.mp4': Metadata: major_brand : mp42 minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2023-03-17T23:14:50.000000Z encoder : HandBrake 1.2.2 2019022300 Duration: 01:33:52.64, start: 0.000000, bitrate: 16601 kb/s Chapter #0:0: start 0.000000, end 498.540000 Metadata: title : Chapter 1 Chapter #0:1: start 498.540000, end 929.679000 Metadata: title : Chapter 2 Chapter #0:2: start 929.679000, end 1297.713000 Metadata: title : Chapter 3 Chapter #0:3: start 1297.713000, end 1527.359000 Metadata: title : Chapter 4 Chapter #0:4: start 1527.359000, end 1832.205000 Metadata: title : Chapter 5 Chapter #0:5: start 1832.205000, end 2175.882000 Metadata: title : Chapter 6 Chapter #0:6: start 2175.882000, end 2795.501000 Metadata: title : Chapter 7 Chapter #0:7: start 2795.501000, end 3087.209000 Metadata: title : Chapter 8 Chapter #0:8: start 3087.209000, end 3560.390000 Metadata: title : Chapter 9 Chapter #0:9: start 3560.390000, end 4105.435000 Metadata: title : Chapter 10 Chapter #0:10: start 4105.435000, end 5142.429000 Metadata: title : Chapter 11 Chapter #0:11: start 5142.429000, end 5630.875000 Metadata: title : Chapter 12 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1040 [SAR 520:519 DAR 320:173], 15596 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc (default) Metadata: creation_time : 2023-03-17T23:14:50.000000Z handler_name : VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 997 kb/s (default) Metadata: creation_time : 2023-03-17T23:14:50.000000Z handler_name : SoundHandler Stream #0:2(eng): Data: bin_data (text / 0x74786574) Metadata: creation_time : 2023-03-17T23:14:50.000000Z handler_name : SubtitleHandler [Parsed_pad_2 @ 0x5612ab8a1b00] Negative values are not acceptable. [Parsed_pad_2 @ 0x5612ab8a1b00] Failed to configure input pad on Parsed_pad_2 Error opening filters!

Social-Loafer commented 1 year ago

curl -svo /dev/null http://www.gnflix.gn/YouPHPTube/videos/video_230322075512_vb0eb/video_230322075512_vb0eb.mp4

DanielnetoDotCom commented 1 year ago

I am not sure what is the issue, but you may want to google for this

[http @ 0x5612ab85b7e0] Invalid cookie found, no value, path or domain specified
Last message repeated 3 times
[http @ 0x5612ab85b720] HTTP error 416 Requested Range Not Satisfiable
[http @ 0x5612ab85b7e0] Invalid cookie found, no value, path or domain specified
Social-Loafer commented 1 year ago

I ended up rolling back both the site and encoder and everything works as expected now. Site: git reset --hard 2e97e5d917 Encoder: git reset --hard dbef96e Just my two cents, but the most recent updates are breaking older installations.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.