• Welcome to PHPVIBE Forums. Please log in.

Conversion failed for:

Started by tweky94,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tweky94Topic starter

te salut marius din nou  , da aceasi problema si nu inteleg m-am lasat pagubas cum s-ar zice acum ceva timp am zis ma asta e daca nu reusesc sa il fac sa mearga... , dar parca tot nu vreau sa ma las imi place phpvibe.... deci revin cu o probblema...


am incarcat primul videoclip dupa ce am instalat phpvibe si a mers perfect si thumbnail si video incarcat bine...
iar la al 2-lea videoclip si restu dupa primu  pare sa am probleme...

incarc videoclip iar in log imi apare asa

[24/02/24 11:22:30pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/74a2cbf7cb4b8eb1bddefc240b985581.mp4 - File not found
[24/02/24 11:22:30pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/446a3116c041676a1c20d3e4196e6ae6.mp4 - File not found
[24/02/24 11:22:30pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0b323e56556247d680b9356f49abbb1b.mp4 - File not found
[24/02/24 11:22:30pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/c934562987751dce66cb12a1a3616fd7.mp4 - File not found
[24/02/24 11:22:30pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b8a900a42677371f3092f66093ce8bc2.mp4 - File not found
[24/02/24 11:23:43pm]
Conversion starting for:
/home/georgik5/web/lastcs.ro/public_html/storage/media/f1ecd515c7905b81c85cf58fd753d880-0.mp4
[24/02/24 11:23:43pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/media/f1ecd515c7905b81c85cf58fd753d880-0.mp4 - File not found


intru in media library videos  dau pe videoclipul incarcat ma uit in jos  la Video qualities apare unu singur
  f1ecd515c7905b81c85cf58fd753d880-.mp4

dau pe create missing qualites from 0p asa apare cand dau pe el imi spune
Failed! Source file doesn't exit.

https://ibb.co/y5NL3wp

care sa fie problema... ? el pare ca se urca pe ftp dar dupa cand incearca ffmpeg sa creeze rezolutii pare ca nu il gaseste cica... ??

am mai incarcat iar inca 3 video dar la astea  la quality video nu apare deloc nici macar un video nimic
daca intru in media library Source files (raw)  acolo apar videoclipurile incarcate.....






EDIT : Problema numarul 2 as avea cu acel clopotel din stanga sus unde apare activitatea imi apre activitate nou gen 1 2 3 activitati .. cand dau pe el ma duce pe pagina de activitati  si imi apare doar
Activity on your media
21    , doar atat pagina alba goala..



3. in viitorul apropiat este posibil sa rezolvi problema la script cu categoriile  selectate ? ca in momentul de fata este Default dar nici in ala nu se pune sa apara pe prima pagina.....


4. Daca intru la acest videoclip https://lastcs.ro/video/9/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/     intru pe edit media  dupa care ma trimite pe pagina sa editez videoclipul cand dau update video pica pagina imi apare


This page isn't working
lastcs.ro is currently unable to handle this request.

HTTP ERROR 500




te pup marius ,sper sa nu fie cu suparare aceste probleme cu care vin poate incercam sa le rezolvam impreuna (adica tu ca eu nu stiu )


@ imi place phpvibe de asta tot incerc sa rezolv sa fac sa meargaaa :(
  •  

Marius P.

Salut!

1. Imi pare mie ca se intampla ceva ce nu credeam ca o sa se intample vreodata.

Ffmpeg nu poate returna marimea videoului in cazul tau (De ce...nu ma intreba!).
Hai sa incercam un custom fix ptr situatia ta

Vezi aici https://github.com/PHPVibe/PHPVibe/blob/master/moderator/edit-video.php
sau local in fisierul: /moderator/edit-video.php
linia 102:
$size = str_replace('.mp4','',$bq[1]);
poti pune imediat sub ea :
    if(is_empty($size) || ($size < 1)) { $size = '2160'; /* Let's lie it's 4k */    }

Asta s-ar putea sa nu iti rezolve problema (care to cred ca are mai mult de-a face cu ffmpeg, pe care l-as dezinstala si schimba versiunea),
dar nu va mai anula comenzile de conversie din cauza ca nu are o dimensiune a fisierul ci un zero.

Daca arunci o privire in conversie
https://github.com/PHPVibe/PHPVibe/blob/master/videocron.php

$va = _get_va($input, get_option('ffmpeg-cmd','ffmpeg'));
$size =    $va['height']; 
$duration = $va['duration'];

la tine
$size =    $va['height'];

apare ca zero, null. Aia ar trebui sa returneze inaltimea fisierului video.

functia, dependenta de ffmpeg se gaseste in app/functions/functions.global.php

https://github.com/PHPVibe/PHPVibe/blob/master/app/functions/functions.global.php

/* Function to extract video data */
function _get_va($video, $ffmpeg) {
        $time = 0; $hours = 0; $mins = 0; $secs = 0;
        $size = 0;
    $command = $ffmpeg." -i '" . $video . "' 2>&1 | grep Duration | cut -d ' ' -f 4 | sed s/,//";        
    $time = exec($command);    
    $regs = explode(":", $time);
        if(isset($regs) && is_array($regs)) {
        $hours = $regs [0] ? $regs [0] : null;
        $mins = $regs [1] ? $regs [1] : null;
        $secs = $regs [2] ? $regs [2] : null;
        $secs = round($secs);
        $timesec = $hours *  3600 +    $mins * 60 + $secs;
        } 
        
    $wcommand = $ffmpeg." -i '" . $video . "' 2>&1 | grep Video: | grep -Po '\d{3,5}x\d{3,5}' | cut -d'x' -f1";    
    $size = exec($wcommand);  
    
    return array (            
            'duration' => $timesec,
            'durationreadable' => $time,
            'height' => $size,
            'hours' => $hours,
            'mins' => $mins,
            'secs' => $secs            
    );

}

posti rula asta si intr-un terminal pe server ca sa vezi care e beleaua cu ffmpeg-ul tau:

  $command = $ffmpeg." -i '" . $video . "' 2>&1 | grep Duration | cut -d ' ' -f 4 | sed s/,//"; 
bine, o editezi
ffmpeg -i '/home/blablabla/videodeconvertit.extensie' 2>&1 | grep Duration | cut -d ' ' -f 4 | sed s/,/

Ar trebuie sa primesti un raspuns ptr durata si apoi

ffmpeg -i '/home/blablabla/videodeconvertit.extensie' 2>&1 | grep Video: | grep -Po '\d{3,5}x\d{3,5}' | cut -d'x' -f1

aici vine raspunsul ptr dimensiune. Dar pare ca nu vine la tine. Deci testeaza direct in ffmpeg video ssh/terminal.

De curiozitate incearca si asta

ffprobe -v error -show_entries stream=width,height -of default=noprint_wrappers=1:nokey=1 /home/userultau/public_html/storage/rawmedia/numefisier.mp4

editeaza path-urile ptr ceva real.
Poate bag optiunea ca fallback intr-un update rapid.

Revin ptr restul.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Uite, am rescris functia din /app/functions/functions.global.php ca sa foloseasca ffprobe:

/* Function to extract video data */
function _get_va($video, $ffmpeg) {	
	
		$time = 0; $hours = 0; $mins = 0; $secs = 0;
		$size = 0;
    $command = $ffmpeg." -i '" . $video . "' 2>&1 | grep Duration | cut -d ' ' -f 4 | sed s/,//";    	
    $time = exec($command);    
	$regs = explode(":", $time);
		if(isset($regs) && is_array($regs)) {
		$hours = $regs [0] ? $regs [0] : null;
        $mins = $regs [1] ? $regs [1] : null;
        $secs = $regs [2] ? $regs [2] : null;
        $secs = round($secs);
		$timesec = $hours *  3600 + 	$mins * 60 + $secs;
		} 
	
	$ffcommand = "ffprobe -v error -show_entries stream=width,height -of default=noprint_wrappers=1:nokey=1 " . $video ;	
	$size = (int)exec($ffcommand); 
	//* Fallback to ffmpg raw */	
	if(is_empty($size) || ($size < 1))	 {
	$wcommand = $ffmpeg." -i '" . $video . "' 2>&1 | grep Video: | grep -Po '\d{3,5}x\d{3,5}' | cut -d'x' -f1";	
	$size = exec($wcommand);  
	}
	
    return array (            
            'duration' => $timesec,
			'durationreadable' => $time,
            'height' => $size,
			'hours' => $hours,
            'mins' => $mins,
            'secs' => $secs			
    );

}

O sa o actualizez si pe github imediat. Pare un pic mai rapida.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Quote3. in viitorul apropiat este posibil sa rezolvi problema la script cu categoriile  selectate ? ca in momentul de fata este Default dar nici in ala nu se pune sa apara pe prima pagina.....

Poti explica asta mai bine, te rog?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

La 4 am nevoie de ce ai in error log , sa stiu de ce pica. eroare 500 e prea globala. Da-mi o copie dupa error_log-ul de pe server, sa vedem ce se intampla.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

3. in viitorul apropiat este posibil sa rezolvi problema la script cu categoriile  selectate ? ca in momentul de fata este Default dar nici in ala nu se pune sa apara pe prima pagina.....

Quote from: Marius P. on Poti explica asta mai bine, te rog?


este vorba cand incarci un videoclip   >>>>>    https://ibb.co/xDhNcZL

nu se pune pe prima pagina doar daca  ma duc in moderator la videos si selectez de acolo se adauga pe prima pagina in rest asa nu se adauga.
  •  

tweky94Topic starter

Quote from: Marius P. on La 4 am nevoie de ce ai in error log , sa stiu de ce pica. eroare 500 e prea globala. Da-mi o copie dupa error_log-ul de pe server, sa vedem ce se intampla.


te ajuta consola inspect element ?
https://ibb.co/71YF0Xt
  •  

tweky94Topic starter

ii tot schimbasem partea la ffmpeg din moderator credeam ma o fi de acolo .. dar am incarcat vreo 5 clipuri si ffmpeg in admin log nu imi dadea nici o recunoastere nimic acum am bagat inapoi partea care o cere phpvibe usr/bin/php/ffmpeg si am incarcat un videoclip   pare ca l-am incarcat si a si luat comanda ffmpeg dar nu e ce trebuie


[25/02/24 03:54:08pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0d106b0e7b0fe28c6b9da9b4d16ea8a2.mp4 - File not found
[25/02/24 03:54:09pm]
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/c0282fb7571b4a3869ed4e5561d19bf0.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/georgik5/web/lastcs.ro/public_html/storage/media/thumbs/c0282fb7571b4a3869ed4e5561d19bf0-%02d.jpg
  •  

tweky94Topic starter

in mare parte ce comenzi mi-ai dat mai sus sa execut in terminal pare sa fie incorecte.. ?


https://ibb.co/87RVHQ5
  •  

tweky94Topic starter

toate videoclipurile care le-am  urcat si aseara si azi de aveam x la ele nici thumbnail nici incarcate nu au fost vad ca incep sa dea semne de incarcare mai exact la toate videoclipurile mi-a pus thumbnails si au inceput sa le redea 
https://lastcs.ro/videos/browse/

uita-te acolo  pare sa fie in regula acea setare?  mai fac cateva teste cu videoclipuri si revin  dar pana aseara pana sa modific function.global nu imi aparea nici thumbnail nimic acum vad in admin log ca nu mai apare eroare de file not found ci de ffmpeg ca a trimis comenzi de convertire , revin cu mai multe dupa ce mai testez videoclipuri doamne ajuta sa functioneze :X


revenim la celelalte probleme :D



EDIT MARE :))

marius deci acum imi creeaza thumbnail , si videoclipul mi-l reda , incarc videoclipul in 5 secunde  si thumbnail si imi reda video in maxim 20 secunde e ok asta?


dar in admin log imi da eroare de file not found  de ce asta ? nu imi creaza alte conversii decat pe cea normala sau ce?

[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0d106b0e7b0fe28c6b9da9b4d16ea8a2.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/f0c3b4b31d10d2b864dbceb9f71ac18c.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0bf94d68dcd2a4c030f483c8e1beb699.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/74a2cbf7cb4b8eb1bddefc240b985581.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/446a3116c041676a1c20d3e4196e6ae6.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0b323e56556247d680b9356f49abbb1b.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/c934562987751dce66cb12a1a3616fd7.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b8a900a42677371f3092f66093ce8bc2.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/d4e5d20d13b4d040e39f948109dc089a.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/62f3763f404f4788bcc8a730d95e150b.mp4 - File not found
[25/02/24 06:16:15pm]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/3202526ed30affbd4ef1331165d9179a.mp4 - File not found
[25/02/24 06:16:18pm]
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/dc0ed1d5ec07413005b90e0efbea282f.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/georgik5/web/lastcs.ro/public_html/storage/media/thumbs/dc0ed1d5ec07413005b90e0efbea282f-%02d.jpg

  •  

tweky94Topic starter

ce ma gandesc eu  ca am mai modificat am mai pus am mai sters eu pe acolo si ce am descoperit ? nu are legatura file not found cu asta de aici
din moderator cp ffmpeg conversion
Enabled qualities:
240  x360  x480  x720  x1080  x1440  x2160  x
add more
Warning!!! Do not be greedy. Converting to multiple qualities and hig

?????????

pentru ca inainte pusesem doar 1080 si 720 si la videoclip aveam mai multe file not found acum am pus mai multe si 1440 si 2160 etc..

zic si eu ,  poate nu  face conversie la calitatea aiai , ca acum urc videoclipuri si in 5 secunde e si urcat si pus thumbnail si video merge brici  doar ca tot imi da file not found si la calitate am ba 2 calitati gen 240 sau 720 sau 1080   , adica cateva calitati tot face dar in timp foarte scurt gen 5 secunde e sus videoclipul nici youtube nu converteste asa repede =)))


ai vre-o idee de ce imi da file not found ?
  •  

tweky94Topic starter

#12
BIG UPDATE
se pare ca  eu citeam erorile la alte video de la inceput cand  a fost , sau nu stiu care a fost problema dar s-a rezovlat am sters ce era in admin log.txt cele vechi si am incarcat din nou video si se pare ca totul este functional si merge bine am incarcat cum am spus mai sus si video de 2 ore in 5 minute era sus doar de dat play  merge brici..

acum ramane cele 2 erori ,  problema cand dau edit la video imi apare 500 error , si cand uploadez video nu se pune video pe prima pagina doar din moderator cp cand dau edit si selectez se pune. am pus mai sus poze

@ imi poti da si mie limba romana JS te rog?

@ inca o intrebare mai pentru mine asa , tu ai facut phpvibe de la 0 ? de acum multi ani ? :D
  •  

tweky94Topic starter

doamne... peste noapte l-am lasat ok , de dimineata cand m-am trezit si ma uit in admin log

[26/02/24 12:11:39am]
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/728227221d745d05867927ed2a56f640.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/georgik5/web/lastcs.ro/public_html/storage/media/thumbs/728227221d745d05867927ed2a56f640-%02d.jpg

[26/02/24 12:11:39am] Sent cmds:
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html... 

ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/728227221d745d05867927ed2a56f640.mp4 -s 640x360 -c:v libx264 -preset slow -crf 28 -threads 2 -movflags faststart /home/georgik5/web/lastcs.ro/public_html/storage/media/728227221d745d05867927ed2a56f640-360.mp4 2>&1

ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/728227221d745d05867927ed2a56f640.mp4 -s 854x480 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/georgik5/web/lastcs.ro/public_html/storage/media/728227221d745d05867927ed2a56f640-480.mp4 2>&1

ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/728227221d745d05867927ed2a56f640.mp4 -vf scale=-1:720 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/georgik5/web/lastcs.ro/public_html/storage/media/728227221d745d05867927ed2a56f640-720.mp4 2>&1

  
Show more >
[26/02/24 12:19:28am] Last lines for debug: .000000, bitrate: 2206 kb/s
Stream #0:0[0x1](und...   
Show more >
[26/02/24 03:06:08am] Last lines for debug: kb/s
Stream #0:0[0x1](und): Video: h264 (High) ...   
Show more >
[26/02/24 03:06:08am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/6ac41f796ac2a2a37f5dd8d843da871d.mp4 - File not found
[26/02/24 03:06:11am]
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/d8086a9b7c7697a816b277dd81001d89.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/georgik5/web/lastcs.ro/public_html/storage/media/thumbs/d8086a9b7c7697a816b277dd81001d89-%02d.jpg

[26/02/24 04:22:12am] Last lines for debug: skip:63.8%
[libx264 @ 0x55f527a78f40] mb B I16...   
Show more >
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0bf94d68dcd2a4c030f483c8e1beb699.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/74a2cbf7cb4b8eb1bddefc240b985581.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/3d4bdf89e0a5eb873c673d39c9678be5.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/446a3116c041676a1c20d3e4196e6ae6.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/0b323e56556247d680b9356f49abbb1b.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/c934562987751dce66cb12a1a3616fd7.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b8a900a42677371f3092f66093ce8bc2.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/d4e5d20d13b4d040e39f948109dc089a.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/62f3763f404f4788bcc8a730d95e150b.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/3202526ed30affbd4ef1331165d9179a.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/ce8226f2e75bcdae5cab38d6e64fdef6.mp4 - File not found
[26/02/24 04:22:15am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/46f0f6cd4ac9cf0ff6d2bbdfaf686634.mp4 - File not found
[26/02/24 04:33:10am] Last lines for debug: kb/s
Stream #0:0[0x1](und): Video: h264 (High) ...   
Show more >
[26/02/24 04:33:10am]
Conversion failed for:
/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/6ac41f796ac2a2a37f5dd8d843da871d.mp4 - File not found



dar daca intru in ftp in fisierul moderator/alog.txt ce este in pagina web nu este si in admin log.txt in fisier , direct in fisier nu exista nici un file not found  , ca drept dovada am mai incarcat un video si tot la fel in 30 secunde era sus si play dat la el cu rezolutie creata maxima...

[26/02/24 11:21:27am]
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b107756221a55068fe35e83fab38697b.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/georgik5/web/lastcs.ro/public_html/storage/media/thumbs/b107756221a55068fe35e83fab38697b-%02d.jpg

[26/02/24 11:21:27am] Sent cmds:
ffmpeg -i /home/georgik5/web/lastcs.ro/public_html... 

ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b107756221a55068fe35e83fab38697b.mp4 -s 640x360 -c:v libx264 -preset slow -crf 28 -threads 2 -movflags faststart /home/georgik5/web/lastcs.ro/public_html/storage/media/b107756221a55068fe35e83fab38697b-360.mp4 2>&1

ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b107756221a55068fe35e83fab38697b.mp4 -s 854x480 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/georgik5/web/lastcs.ro/public_html/storage/media/b107756221a55068fe35e83fab38697b-480.mp4 2>&1

ffmpeg -i /home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/b107756221a55068fe35e83fab38697b.mp4 -vf scale=-1:720 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/georgik5/web/lastcs.ro/public_html/storage/media/b107756221a55068fe35e83fab38697b-720.mp4 2>&1

  
Show more >
[26/02/24 11:25:48am] Last lines for debug: 0p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 695 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
Metadata:
creation_time : 2020-04-05T23:25:52.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 04/05/2020.
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2020-04-05T23:25:52.000000Z
handler_name : ISO Media file produced by Google Inc. Created on: 04/05/2020.
vendor_id : [0][0][0][0]
File '/home/georgik5/web/lastcs.ro/public_html/storage/media/b107756221a55068fe35e83fab38697b-720.mp4' already exists. Overwrite? [y/N] Not overwriting - exiting

te rog sa nu ma injuri , dar mai descopar si eu cate ceva si din pacate nu pot da edit la  postul meu ca sa pot sa editez ma lasa maxim 5 minute cred ca pot da edit dupa nu ma mai lasa asa ca trebe sa fac un reply nou sper sa nu fie cu suparare dar ce mai descopar si eu si vreau sa tii le spun ,, deci ca idee ce arata pe pagina web in admin log nu este si in fisierul moderator/alog.txt  ciudat eu le tot sterg din fisier la fiecare incarcare de videoclip sa vad ce erori  apare , la mine in momentul de fata se comporta excelent totul si videoclipuri de 2 ore incarcate in 5 minute si cu conversie facuta chiar nu inteleg  de ce apare eroare in admin log  dupa ceva timp apare eroare file not found dar defapt video este urcat si redat cum trebuie , dar  cum am mai zis ce este in fisierul alog.txt  nu are nici o eroare in el de file not found
  •  

Marius P.

Quote from: tweky94 on BIG UPDATE
se pare ca  eu citeam erorile la alte video de la inceput cand  a fost , sau nu stiu care a fost problema dar s-a rezovlat am sters ce era in admin log.txt cele vechi si am incarcat din nou video si se pare ca totul este functional si merge bine am incarcat cum am spus mai sus si video de 2 ore in 5 minute era sus doar de dat play  merge brici..

acum ramane cele 2 erori ,  problema cand dau edit la video imi apare 500 error , si cand uploadez video nu se pune video pe prima pagina doar din moderator cp cand dau edit si selectez se pune. am pus mai sus poze

@ imi poti da si mie limba romana JS te rog?

@ inca o intrebare mai pentru mine asa , tu ai facut phpvibe de la 0 ? de acum multi ani ? :D

Vezi ce ti-am scris legat de 500 error.
Limba romana de pe demo e scrisa la misto...dar here you go https://pastebin.com/HNzXZMYd

Da, de prin 2009. Exista un history pe vechiul site cu poze si tot, o sa il refac.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Nu am nimic în error log
  •  

Marius P.

Quote from: tweky94 on
3. in viitorul apropiat este posibil sa rezolvi problema la script cu categoriile  selectate ? ca in momentul de fata este Default dar nici in ala nu se pune sa apara pe prima pagina.....


este vorba cand incarci un videoclip  >>>>>    https://ibb.co/xDhNcZL

nu se pune pe prima pagina doar daca  ma duc in moderator la videos si selectez de acolo se adauga pe prima pagina in rest asa nu se adauga.


Ori ai initial state unpublished in settings, ori e de la cache. Incearca cu clear cache intai.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Quote from: tweky94 on Nu am nimic în error log

E active logging pe server?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Quote from: tweky94 on fisierul alog.txt  nu are nici o eroare in el de file not found

Pai nu au nici o treaba, alog.txt stocheaza doar rezultatele de la ffmpeg.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Quote from: Marius P. on Ori ai initial state unpublished in settings, ori e de la cache. Incearca cu clear cache intai.
le-am sters mereu cache si tot degeaba , a fost problema si inainte cand l-am instalat pentru prima data si acum la fel
  •  

tweky94Topic starter

  •  

Marius P.

Vezi si setarea asta

You cannot view this attachment.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Quote from: tweky94 on https://lastcs.ro/log.txt

Nu apare nici o eroare legata de 500-le tau. Am testat la mine si merge sa dai edit :-\
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Quote from: Marius P. on Nu apare nici o eroare legata de 500-le tau. Am testat la mine si merge sa dai edit :-\
nu apare imaginea de mai sus cu setarea

am incercat de pe 3 browsere si toate cand dau edit media si dupa update video poc 500 eror
  •  

Marius P.

Ziceam pe site-urile mele. Fara eroarea reala (dincolo de error 500) imi e imposibil sa te ajut cu asta.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

asta imi apare in eror log cand am dat la ultimul video gen  nu stiu daca este eroare sau ceva

82.76.20.181 - - [26/Feb/2024:14:32:46 +0200] "GET /api/noty/ HTTP/1.0" 200 393 "https://lastcs.ro/me" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:40 +0200] "GET /video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/ HTTP/1.0" 200 9027 "https://lastcs.ro/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:40 +0200] "GET /res.php?src=storage/uploads/def-avatar.jpg&q=100&w=60&h=50 HTTP/1.0" 200 197 "https://lastcs.ro/video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:41 +0200] "POST /app/ajax/track.php HTTP/1.0" 200 307 "https://lastcs.ro/video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:41 +0200] "GET /api/noty/ HTTP/1.0" 200 393 "https://lastcs.ro/video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:41 +0200] "GET /api/relatedvids?videoowner&videoid=44&videomedia=1&videocategory=1 HTTP/1.0" 200 1877 "https://lastcs.ro/video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:41 +0200] "GET /res.php?src=storage/media/thumbs/728227221d745d05867927ed2a56f640-04.jpg&q=100&w=100&h=64 HTTP/1.0" 200 13091 "https://lastcs.ro/video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:42 +0200] "GET /me?sk=edit-video&vid=44 HTTP/1.0" 200 6277 "https://lastcs.ro/video/44/alan-feat-cheloo-perfect-dezechilibrat-i-videoclip-oficial/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:43 +0200] "GET /embed/VJv/ HTTP/1.0" 200 2624 "https://lastcs.ro/me?sk=edit-video&vid=44" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:43 +0200] "GET /api/noty/ HTTP/1.0" 200 393 "https://lastcs.ro/me?sk=edit-video&vid=44" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:43 +0200] "POST /app/ajax/track.php HTTP/1.0" 200 307 "https://lastcs.ro/embed/VJv/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"
82.76.20.181 - - [26/Feb/2024:14:35:45 +0200] "POST /me?sk=edit-video&vid=44 HTTP/1.0" 500 326 "https://lastcs.ro/me" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0"


si in consola inspect element am asta

https://ibb.co/xXRTgyc


zici ca nu este o eroare ceva de script ar fi ceva de la ? :))
  •  

tweky94Topic starter

  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

  •  

tweky94Topic starter

Quote from: Marius P. on Vezi si setarea asta

You cannot view this attachment.
este pus bine setarea dar tot nu le pune pe prima pagina.... parca nu se seteaza categoria cand urc video si cand ma duc in moderator / video la acel video si ma uit in ce "topic" este pus video apare blank , nu scrie nimic este gol si selectez eu din nou categoria si merge se pune....
  •  

tweky94Topic starter

am creat un canal pe userul meu si l-am pus pe prima pagina , si se paraca ca acolo in channel apare si pe prima pagina video care il urc  dar la categorii nu apar....
  •  

tweky94Topic starter

am mai descoperit inca o problema minora sper  , mai exact cand vrei sa stergi un videoclip incarcat  intri in Media library  >> Videos si dai pe videoclipul pe care vrei sa il stergi mai exact dupa ce il stergi iti apare asa

/home/georgik5/web/lastcs.ro/public_html/storage/media was not removed. Check server permisions for "unlink" function.
/home/georgik5/web/lastcs.ro/public_html/storage/media/819b20176165962407c4c85dcfad9afa-240.mp4 removed.
/home/georgik5/web/lastcs.ro/public_html/storage/media/819b20176165962407c4c85dcfad9afa-360.mp4 removed.
/home/georgik5/web/lastcs.ro/public_html/storage/media/819b20176165962407c4c85dcfad9afa-480.mp4 removed.
/home/georgik5/web/lastcs.ro/public_html/storage/media/819b20176165962407c4c85dcfad9afa-720.mp4 removed.
/home/georgik5/web/lastcs.ro/public_html/storage/media/thumbs/819b20176165962407c4c85dcfad9afa-01.jpg removed.
El laberinto del fauno 2006 1080p BluRay DD5 1 Hi10P x264 ONE was removed.


dar fisierele de pe ftp nu se va sterge   , ele  din mesajul de mai sus cica  sunt sterse dar nu se sterg defapt , stii de ce cred eu ca nu se sterg?

/home/georgik5/web/lastcs.ro/public_html/storage/media/819b20176165962407c4c85dcfad9afa-720.mp4 removed.

in loc de media ar trebui sa fie storage/rawmedia/ex.mp4

/home/georgik5/web/lastcs.ro/public_html/storage/rawmedia/819b20176165962407c4c85dcfad9afa-720.mp4 removed.


ce spui gresesc? daca nu gresesc , cum rezolv ? :)) ca fisierele de pe ftp nu se sterg din cauza ca e locatia gresita zic eu :D
  •  

Marius P.

In rawmedia e doar ce urci tu, nu ce este convertit deja.

Nu pare o eroare de path, decat ciudatenia asta

/home/georgik5/web/lastcs.ro/public_html/storage/media was not removed. Check server permisions for "unlink" function.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Ok, acum cred ca stiu de unde ai eroare 500, e un bug de la schimbarile din bd,
[Mon Feb 26 14:23:29.966994 2024] [proxy_fcgi:error] [pid 991308:tid 139878276781760] [client 2a02:2f05:6519:e700:3572:b69b:2b5a:8296:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'private' in 'field list' in /home/XXXXX/public_html/app/classes/ez_sql_mysqli.php:264\nStack trace:\n#0 /home/XXXXX/public_html/app/classes/ez_sql_mysqli.php(264): mysqli->query()\n#1 /home/XXXXX/public_html/views/manager.route.php(45): ezSQL_mysqli->query()\n#2 /home/XXXXX/public_html/index.php(173): include_once('...')\n#3 {main}\n  thrown in /home/XXXXX/public_html/app/classes/ez_sql_mysqli.php on line 264', referer: https://XXXX/me

O rezolv cu un quick update.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

Da, a ramas "private", cand ar trebuie sa fie "stayprivate" fieldul.

Fixed https://github.com/PHPVibe/PHPVibe/commit/05f4bde4280e1a9442a390213c1a7c6f28d4ff86
https://github.com/PHPVibe/PHPVibe/commit/64f67654ba382dad19f3925bdb27c5f7b59972dc

sorry about that! Cred ca nu o sa iti mai dea 500 cand actualizezi fisierele astea:
 views/manager.route.php
app/phpvibe/phpvibe.video.php
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Quote from: Marius P. on Ok, acum cred ca stiu de unde ai eroare 500, e un bug de la schimbarile din bd,
[Mon Feb 26 14:23:29.966994 2024] [proxy_fcgi:error] [pid 991308:tid 139878276781760] [client 2a02:2f05:6519:e700:3572:b69b:2b5a:8296:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught mysqli_sql_exception: Unknown column 'private' in 'field list' in /home/XXXXX/public_html/app/classes/ez_sql_mysqli.php:264\nStack trace:\n#0 /home/XXXXX/public_html/app/classes/ez_sql_mysqli.php(264): mysqli->query()\n#1 /home/XXXXX/public_html/views/manager.route.php(45): ezSQL_mysqli->query()\n#2 /home/XXXXX/public_html/index.php(173): include_once('...')\n#3 {main}\n  thrown in /home/XXXXX/public_html/app/classes/ez_sql_mysqli.php on line 264', referer: https://XXXX/me



O rezolv cu un quick update.
daaaaa , nu mai da eroare de 500
  •  

tweky94Topic starter

dar videoclipurile nu se pun pe prima pagina

EDIT: cu toate ca atunci cand incarc un videoclip selectez categoria de exemplu default care este din phpvibe  , am incercat sa creez si alta categorie si tot la fel cand intru in moderator/video si ma uit la video ce este pus la categorie este blank uite poza

https://ibb.co/9ZtyH1W
  •  

tweky94Topic starter

ca si inca un exemplu ,am creat un canal pe prima pagina cu userul meu adica sa imi apara videoclipurile de pe userul meu pe prima pagina uite https://ibb.co/dpFGRWj    , aici apar video urcate apar pe prima pagina poti vedea in poza prima si in a 2 ,

iar aici este categoria cea new in care nu apar deloc...
https://ibb.co/fMT86jY
  •  

Marius P.

O sa ma uit, poate fi un bug de cand s-a trecut la categorii multiple.
Pana la versiunea stable as vrea sa separ categoriile in alta tabela si atunci o sa schimb si pe la home lucrurile.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Quote from: Marius P. on O sa ma uit, poate fi un bug de cand s-a trecut la categorii multiple.
Pana la versiunea stable as vrea sa separ categoriile in alta tabela si atunci o sa schimb si pe la home lucrurile.

Dacă te poți uita și aici în acest topic
https://forums.phpvibe.com/designing/videoclipuri-pe-prima-pagina/msg31756/?topicseen#msg31756

La problema număru 2 prima nu este o problema este doar o modificare ce as vrea eu dar nu este importanta , dacă este arunci când faci update-ul sa te uiți și în acel topic la problema nr 2

Mulțumesc frumos pt tot de pana acum.
  •  

Similar topics (1)