
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (84)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (11214)
-
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


-
Download video from a url [on hold]
27 mai 2018, par Emilio MaingiI’m writing a program to download a video when given a link to the video. From my research i have learned that i am supposed to use ffmpeg to do the conversion and download. But my ffmpeg does not execute. I have tried shell_exec() and exec() but none of them seem to be working. Can somebody help me with some guidelines to get the videos downloadable from any video site like youtube, vimeo, twitch tv. I’ll appreciate any ideas that will come through. Thanks
-
How to start a download when file is processing by a software
13 février 2016, par thesweetigerI encode a file with a special watermark for be downlaoded by the user
I would like to be able to start the downlaod when ffmpeg encode the file.I have a php page which one create the water mark , launch ffmpeg and start the download with X-sendifle
The download don’t start, adding sleep(15) let’s the download start just I receive only what is doneActually I use Apache2 as the webserver with X-sendfile mod