
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (8)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (4344)
-
GLIBCXX_3.4.9 not found when running ffmpeg from php in lampp server
14 novembre 2020, par Rafaf TahsinI've written a php program which creates a video from sequence of images using ffmpeg.



<?php
 $res = shell_exec("ffmpeg -framerate 50 -i image/image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 2>&1");
 echo "$res";



When I run it,


it says
GLIBCXX_3.4.15
,GLIBCXX_3.4.9
,GLIBCXX_3.4.11
not found.



ffmpeg : /opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.15' not


found (required by /usr/lib/i386-linux-gnu/libjack.so.0) ffmpeg :


/opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.9' not found


(required by /usr/lib/i386-linux-gnu/libzmq.so.3) ffmpeg :


/opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.11' not found


(required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4) ffmpeg :


/opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.9' not found


(required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)




But from the terminal,
ffmpeg -framerate 50 -i image/image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
command works fine. Why php can't find the libraries while from the terminal it works fine ? and what should I do to fix the problem in php ? Thanks in advance.

-
cx_freeze - opens command window when running ffmpeg.exe or ffplay.exe through the GUI of the program created - how to hide this ?
14 août 2020, par James AllnuttI have built an MSI using cx_freeze for my python program tool.box.


Everything works great - however, I implemented this snippet in my setup.py :


base = None
if (sys.platform == "win32"):
 base = "Win32GUI"



to hide the cmd window that would typically open when you run the final .exe cx_freeze produces.


This works fine, and now when I launch, I do not see this blank cmd window.


However - in my program, I have a few buttons that call ffplay.exe and ffmpeg.exe - previously, without that snippet, I could run the program and when I clicked those buttons no CMD window would appear - now, however, it does - and it shows the output of ffplay or ffmpeg.


In my main.py, I have the following commands :


command_play = [ffplay_path, originalAudio, "-ss", str(actual_start_segment), "-t", "10", "-nodisp", "-autoexit"]

ffmpeg_command = FFmpeg(
 inputs={originalAudio: None},
 outputs={new_filename: ['-ss', str(actual_start_segment), '-to', str(actual_end_segment), '-async', '1', '-strict', '-2', '-ar', '44100', '-ab', '56k', '-ac', '1', '-y']}
 )



Both of which are set to not display the CMD window.


They only seem to do so when I compile. Any suggestions on how I can hide these so my GUI based program doesn't have CMD windows appearing when the end user utilises it's features ?


-
I'm running a process in Java and am getting stuck when I wait for it to finish
31 juillet 2020, par nottAbottI have a Java program that is supposed to make copies of segments of a video and then stitch them back together, using ffmpeg. My "snip" method, the one that makes the segment files, has a problem, it gets stuck when I call "process.waitfor()". When I take it out, the videos load partly, but cannot be accessed until I close the program. When I try to delete them, while the program is running, it says that they cannot be deleted because they are in use. Could anyone lead me in the right direction ? Here is the method :


//snips out all the clips from the main video
public void snip() throws IOException, InterruptedException {
 
 for(int i = 0; i < snippets.size(); i++) {
 //Future reference: https://stackoverflow.com/questions/9885643/ffmpeg-executed-from-javas-processbuilder-does-not-return-under-windows-7/9885717#9885717
 //Example: ffmpeg -i 20sec.mp4 -ss 0:0:1 -to 0:0:5 -c copy foobar.mp4
 String newFile = "foobar" + String.valueOf(i) + ".mp4";
 ProcessBuilder processBuilder = new ProcessBuilder("ffmpeg", "-i", videoName, "-ss",
 snippets.get(i).getStartTime(), "-to", snippets.get(i).getEndTime(), newFile);
 
 //I tried this first and then added in the process/process.waitfor below
 //processBuilder.start();
 
 Process process = processBuilder.start();
 process.waitFor();
 
 System.out.println("Snip " + i + "\n");
 
 //add to the formatted list of files to be concat later
 if(i == snippets.size() - 1) {
 stitchFiles += newFile + "\"";
 }
 
 else {
 stitchFiles += newFile + "|";
 }
 }
}