
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (97)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (7232)
-
Creating video from image using FFMPEG
27 août 2012, par yashpritI am creating video editing application using JavaScript, ffmpeg and java. Using FFMPEG i have created extract n frame of video, than using canvas.toDataUrl I am replacing new image with existing image frame rate and everything has taken care, but when I use these image to create video, FFMPEG never include newly created PNG image.
code to save png image from HTML5 canvas
Base64 decoder = new Base64();
byte[] pic = decoder.decodeBase64(request.getParameter("pic"));
String frameCount = request.getParameter("frame");
InputStream in = new ByteArrayInputStream(pic);
BufferedImage bImageFromConvert = ImageIO.read(in);
String outdir = "output\\"+frameCount;
//Random rand = new Random();
File file = new File(outdir);
if(file.isFile()){
if(file.delete()){
File writefile = new File(outdir);
ImageIO.write(bImageFromConvert, "png", file);
}
}Code for creating image from video
String filePath = "D:\\temp\\some.mpg";
String outdir = "output";
File file = new File(outdir);
file.mkdirs();
Map m = System.getenv();
/*
* String command[] =
* {"D:\\ffmpeg-win32-static\\bin\\ffmpeg","-i",filePath
* ,"-r 30","-f","image2",outdir,"\\user%03d.jpg"};
*
* ProcessBuilder pb = new ProcessBuilder(command); pb.start();
*/
String commands = "D:\\ffmpeg-win32-static\\bin\\ffmpeg -i " + filePath
+ " -r 30 -f image2 " + outdir + "\\image%05d.png";
Process p = Runtime.getRuntime().exec(commands);code for creating video from image
String filePath = "output";
File fileP = new File(filePath);
String commands = "D:\\ffmpeg-win32-static\\bin\\ffmpeg -f image2 -i "
+ fileP + "\\image%5d.png " + fileP + "\\video.mp4";
System.out.println(commands);
Runtime.getRuntime().exec(commands);
System.out.println(fileP.getAbsolutePath()); -
change position of image overlay on the fly
16 août 2012, par user1603231I need some help on an issue that I am having overlaying images on a live feed.
Currently, I am streaming raw data from a device, transcoding that data (i.e.ogg
) and then re-streaming using HTTP because I need to view through an HTML page. My problem is that I need to overlay an image on the stream where - when a particular object moves - the image overlay moves as well.For example, if you wanted to place an 'X' over a moving object where that object may move left-to-right or top-to-bottom. At this point, I am able to overlay the image at a fixed point using the following command :
ffmpeg -i rtsp ://[host] :[port] -i x.png -filter_complex 'overlay=10:main_h-overlay_h-10' http://[host] :[post]/output.ogg
This will give me an 'X' over the object at the start but, once the object moves I need to change the position of that 'X'.
The only real requirement is that the technologies that I utilize need to be available for Linux.
Any ideas ?
Thanks !
-
ffmpeg not creating a name for image after thumbnail generation
15 août 2012, par LynxI just learn how to use ASP.NET and learn C# last month and now I am having a problem.
I am experimenting on how to generate thumbnail using ffmpeg in C#. The thumbnail successfully generated in intended folder but there is no name for the image file.
what I want to do is to create thumbnail and automatically named the jpg file same as the video file.I can't figure out what is wrong with my code ; in fact, I don't understand the code completely as I copied the code from internet and only change the folder path of the files.
private void generateThumbnails(string filename)
{
string[] setThum = filename.Split('.');
string thumb_path = setThum[0] + ".jpg";
filename = "C:\\ramky\\al.avi";
string thumbpath, thumbname;//, videopath;
string thumbargs, inputfile;
thumbpath = "C:\\ramky\\";
thumbname = thumbpath + thumb_path;
inputfile = filename;
thumbargs = "-i \"" + inputfile + "\" -s 240*150 -ss 1 -vframes 1 -f image2 \"" + thumbname + "\"";
Process thumbproc = new Process();
thumbproc = new Process();
thumbproc.StartInfo.FileName = "C:\\ffmpeg\\ffmpeg.exe";
thumbproc.StartInfo.Arguments = thumbargs;
thumbproc.StartInfo.UseShellExecute = false;
thumbproc.StartInfo.CreateNoWindow = true;
thumbproc.StartInfo.RedirectStandardOutput = false;
try
{
thumbproc.Start();
if (thumbproc != null)
{
thumbproc.Close();
}
}
}