
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (24)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (6925)
-
vf_drawtext : move "static const" before "struct".
31 août 2014, par Reimar Döffinger -
Revision c40a968e13 : Merge "Revert "Remove Wextra warnings from vp9_sad.c""
2 juin 2014, par Frank GalliganChanged Paths :
Modify /vp9/common/vp9_rtcd_defs.pl
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_rdopt.c
Merge "Revert "Remove Wextra warnings from vp9_sad.c"" -
Why this function not working, i am try to add watermark in Video for download [closed]
13 août 2020, par Ajay KumarI am trying to download Video with watermark but this function not working why


SHOW massege error. Video file exist in temp folder with watermark but not download


Failed to download Video if this function enabled and if disabled Video are download successful


function waterMark($videoURL,$username)
{


 require 'video_editor/vendor/autoload.php';

 $ffmpeg = FFMpeg\FFMpeg::create(array(
 'ffmpeg.binaries' => ffmpeg_lib,
 'ffprobe.binaries' => ffprobe_lib,
 'timeout' => 8600, // The timeout for the underlying process
 'ffmpeg.threads' => 42, // The number of threads that FFMpeg should use
 ), null);
 $ffmpeg_string = ffprobe_lib;


 $tempFile=rand().time();
 $outputFile='tmp/'.$tempFile.'.mp4';

 $video = $ffmpeg->open($videoURL);

 $watermarkPath = watermark_Path;
 $video
 ->filters()
 ->watermark($watermarkPath, array(
 'position' => 'absolute',
 'x' => 15,
 'y' => 30,
 ));
 $text="@".$username;
 $command = "text='$text': fontcolor=white:fontfile=OpenSans-Bold.ttf: fontsize=18: x=20: y=70:";
 $format = new FFMpeg\Format\Video\X264();
 $format->setAudioCodec("aac");

 try
 {

 $video->filters()->custom("drawtext=$command");
 $video->save($format, $outputFile);

 $array_out = array();
 $array_out[] =
 array(
 "download_url" => checkVideoUrl($outputFile)
 );

 $output=array( "code" => "200", "msg" => $array_out);
 print_r(json_encode($output, true));

 }
 catch(Exception $e)
 {
 echo $e->getMessage();
 die;
 }


}



Please solve this isu


Why this function not working, i am try to add watermark in Video for download