
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (64)
-
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 ;
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
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 (...)
Sur d’autres sites (9288)
-
Revision 5e766ccee0 : Use rate/distortion thresholds to control non-RD partition search Compare the e
15 octobre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_speed_features.c
Use rate/distortion thresholds to control non-RD partition searchCompare the estimated rate and distortion to the thresholds scaled
according to the operating block size and determine if further
split partition search will be run. The compression performance of
speed -5 is changed by -0.074%. The encoding speed is 10% - 15%
faster.vidyo1 720p
16545 b/f, 40.492 dB, 11475 ms -> 16535 b/f, 40.486 dB, 10100 msnik720p
16624 b/f, 36.310 dB, 10071 ms -> 16617 b/f, 36.313 dB, 8346 msChange-Id : Ic9197ab5761279ae55d2fb7813b2af0e0db497b8
-
Problem with ffmpeg and name change while loading on server
29 novembre 2020, par PajtimI am testing a code in php / ffmpeg it is watermark. It works very well after uploading the video but the problem is that the video should only be with an "input.mp4" name.


I have set the path where the video should be saved and the name of each video is changed
move_uploaded_file($_FILES["video"]["tmp_name"], "./" . ('input.mp4'));
after it is uploaded to "input.mp4" but even this did not solve the problem.

So it only works when you upload the video from the beginning named input.mp4.


Is there an option ffmpeg to accept each name as input when uploading video with another name ?




<form action="video.php" method="post" enctype="multipart/form-data">
 <div class="form-group">
 <label>Select video</label>
 <input type="file" class="form-control" />
 </div>
 
 
 <input type="submit" class="btn btn-primary" value="submit" />
 </form>







$video = $_FILES["video"]["name"];
$image = $_FILES["image"]["name"];
move_uploaded_file($_FILES["video"]["tmp_name"], "./" . ('input.mp4'));

// then you have to resize the selected image to lower resolution
$command = "/usr/local/bin/ffmpeg -i " . $image . " -s 128x128 output.jpeg";
 
// execute that command
system($command);
 
// both input files has been selected
$command = "/usr/local/bin/ffmpeg -i " . $video . " -i output.jpeg";
 
// now apply the filter to select both files
// it must enclose in double quotes
// [0:v] means first input which is video
// [1:v] means second input which is resized image
$command .= " -filter_complex \"[0:v][1:v]";
 
// now we need to tell the position of overlay in video
$command .= " overlay=80:50\""; // closing double quotes
 
// save in a separate output file
$command .= " -c:a copy output.mp4";
 
// execute the command
system($command);

echo '<a href="http://stackoverflow.com/input.mp4" download="download">Download</a>';



-
vaapi : Add external control of allow-profile-mismatch
27 mars 2017, par Mark Thompson