
Recherche avancée
Autres articles (79)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...)
Sur d’autres sites (9238)
-
ffmpeg image watermark on video first half of video on Bottom left and next half of video on Top Right
23 novembre 2020, par qedslI was playing with this for several hours, I couldn't make so thought of reaching for help, Can you please help me in framing the ffmpeg command to display the watermark Image on the video, For the Initial half video the watermark should be on the bottom left and for the rest half video the watermark shop be on the right top.


Bottom left :
ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -codec:a copy output.mp4


Top right :

ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=main_w-overlay_w-5:5" -codec:a copy output.mp4


Also, I had a look on this for Timeoverlay ffmpeg watermark first 30 second.


How to merge all these and satisfy my requirements as mentioned above ?


-
upload video with display and upon submit that video by post method to PHP file where FFMPEG command execute
30 avril 2019, par Asfand YarMain Task
Video -> Audio (Wav or mp3)
Procedure :
User select video and its display and upload in video player thats fine but when i try to upload via the form tag and post method to php file (Bash.php) where that video have to be converted into the audio (mp3 or wav) i am using FFMPEG library (THat command work perfectly into the Command line) I am trying to do it in php (exec) but didn’t find fruitful resultsI try FFMPEG command to convert uploaded mp4 video to audio because i need audio to transcription
HTML CODE<video width="500" controls="controls" preload="none">
</video>
<div class="container d-flex justify-content-center">
<input type="file" accept="video/*" />
</div>
<code class="echappe-js"><script type="text/javascript"><br />
video_file.onchange = function(){<br />
<br />
var files = this.files;<br />
<br />
var file = URL.createObjectURL(files[0]); <br />
<br />
video_player.src = file; <br />
<br />
video_player.load();}; <br />
<br />
</script><?php
if(isset($_FILES['video'])){
$errors = array();
$file_name = $_FILES['video']['name'];
$file_size = $_FILES['video']['size'];
$file_tmp = $_FILES['video']['tmp_name'];
$file_type = $_FILES['video']['type'];
$file_ext = strtolower(end(explode('.',$_FILES['video']['name'])));
$expensions = array("mp4","avi");
if(in_array($file_ext, $expensions[0])===false){
$errors[]="Extension not allowed, please choose a Mp4 or Avi file video";
}
$convertedFile='fine.mp3';
if(empty($errors)==true){
move_uploaded_file($file_tmp, './'.$file_name);
exec("ffmpeg -i $file_name -vn fine.mp3");
}else{
print_r($errors);
}
$target = "http://localhost:8888/client/dynamic/recognize";
sleep(3);
if($file_ext == "mp4" or $file_ext == "avi"){
exec("python /path/client2.py fine.mp3 > output.txt 2> output2.txt");
$output = exec("cat output.txt"); }
echo $output;
}
?> -
FFMPEG How to insert short video and audio in longer video in specific time, size and position
24 novembre 2020, par Milos DimitrijevicFFMPEG How to insert short video (4sec) in longer video in specific time (from 15th to 19th second) and specific size. Long video is 1920x1080px and inserted video should be 1720x820px, positioned in the middle ?


file info..
Duration : 00:00:22.07, start : 0.000000, bitrate : 3982 kb/s
Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3900 kb/s, 29 fps, 29 tbr, 14848 tbn, 58 tbc (default)
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata :
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'short.mp4' :
Metadata :
major_brand : mp42
minor_version : 19529854
compatible_brands : mp42isom
creation_time : 2020-10-25T11:01:10.000000Z
Duration : 00:00:03.02, start : 0.000000, bitrate : 14405 kb/s
Stream #1:0(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 319 kb/s (default)
Metadata :
creation_time : 2020-10-25T11:01:10.000000Z
handler_name : Sound Media Handler
Stream #1:1(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 14078 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
Metadata :
creation_time : 2020-10-25T11:01:10.000000Z
handler_name : Video Media Handler
encoder : AVC Coding