
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (85)
-
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 ;
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (8629)
-
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


-
How can i write a tool that acquires video/audio from my input video card ? [on hold]
21 juillet 2014, par user3180895i’d like to write a simple program that can read audio and video from my input card and can save it in a file.
I’d like to write it in Java, but if it is not possible, i can change language.
I tried to use ffmpeg, but my device has crossbar limitations.My question is :
Exists one library which can read input buffer from my device and save it in a file ?
Can someone post a "Hello World" code for a simple example ?
Thanks a lot.
P.S. I am actual working with Windows.