• Welcome to PHPVIBE Forums. Please log in.

Recent posts

#81
T
Bug tracker / Re: Conversion failed for:
Last post by tweky94 -
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

#82
T
Bug tracker / Re: Conversion failed for:
Last post by tweky94 -
in mare parte ce comenzi mi-ai dat mai sus sa execut in terminal pare sa fie incorecte.. ?


https://ibb.co/87RVHQ5
#83
I
Help me! / Re: Allowing PHP beside HMTL i...
Last post by Icey -
Quote from: Marius P. on As for php in the pages, you can modify the

https://github.com/PHPVibe/PHPVibe/blob/master/views/page.route.php
and corresponding theme files
https://github.com/PHPVibe/PHPVibe/blob/master/themes/main/default.php

to add php to specific pages (you can target them by id).


I tried and..tried and..tried this approach and couldn't make it work. Can you please specify what exactly should I need to change?
Thanks!
#84
T
Bug tracker / Re: Conversion failed for:
Last post by tweky94 -
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
#85
T
Bug tracker / Re: Conversion failed for:
Last post by tweky94 -
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
#86
T
Bug tracker / Re: Conversion failed for:
Last post by tweky94 -
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.
#87
avatar_Marius P.
Bug tracker / Re: Conversion failed for:
Last post by 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.
#88
avatar_Marius P.
Bug tracker / Re: Conversion failed for:
Last post by 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?
#90
avatar_Marius P.
Bug tracker / Re: Conversion failed for:
Last post by 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.