
Recherche avancée
Autres articles (91)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (16689)
-
Cannot clip videos using FFMpeg in laravel
22 novembre 2017, par ProgrammmeregI am building script where I can clip videos in laravel. Here’s my code :
public function clip($id)
{
$video = Video::where('id', $id)->first();
$vid = Storage::get('public/uploads/videos/' . $video->file_name);
$ffmpeg = \FFMpeg\FFMpeg::create();
$media = \FFMpeg::open($vid);
dd($media);
$video->filters()->clip(FFMpeg\Coordinate\TimeCode::fromSeconds(30), FFMpeg\Coordinate\TimeCode::fromSeconds(15));
}And I have problem because there is error :
FatalErrorException in ProcessUtils.php line 74:
escapeshellarg(): Input string contains NULL bytesI think that is in line :
$media = \FFMpeg::open($vid);
But I do not know what happened. Can you help me ?
-
Merging four videos with differnt resolution in a Grid with ffmpeg
5 juillet 2015, par TaufiqI want to marge four videos in to one as show below. I have achieve the correct output given all the videos have the same resolution. But I get an undesirable result with different resolution. See below for more details.
ffmpeg code to get to merge 4 videos of different resution in a grid format
ffmpeg.exe -i "1.avi" -vf "[in] scale=iw:ih, pad=2*iw:ih [left];movie=2.avi, scale=iw:ih [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k "Output1.mp4"
ffmpeg.exe -i "3.avi" -vf "[in] scale=iw:ih, pad=2*iw:ih [left];movie=4.avi, scale=iw:ih [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k "Output2.mp4"
ffmpeg.exe -i "Output1.mp4" -vf "pad=iw:2*ih [top]; movie=Output2.mp4 [bottom]; [top][bottom] overlay=0:main_h/2" "Output_Stacked.mp4"Code above gives the follow output.
But the problem arises when I rotate one of the videos and merge them.
.
Please tell me what I need to change to get the desired result. Thanks
-
How do I combine two videos or add a logo using ffmpeg via VB.Net ? [on hold]
25 janvier 2014, par user3235437How do I combine two videos or add a logo using ffmpeg via VB.Net ?
EG :
copy file1.mpg /b + file2.mpg /b output.mpg /b
How do I execute this code through VB.Net ?
Thank you for giving example code.