
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (61)
-
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 (...) -
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) (...)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (5324)
-
rtmppkt : Repeat the full 32 bit timestamp for chunking continuation packets
14 janvier 2015, par Martin Storsjörtmppkt : Repeat the full 32 bit timestamp for chunking continuation packets
This fixes sending chunked packets (packets larger than the output
chunk size, which often can be e.g. 4096 bytes) with a timestamp delta
(or absolute timstamp, if it’s a timestamp step backwards, or the
first packet of the stream) larger than 0xffffffff.The RTMP spec explicitly says (in section 5.3.1.3.) that packets of
type 3 (continuation packets) should include this field, if the
previous non-continuation packet had it included.The receiving code handles these packets correctly.
Pointed out by Cheolho Park.
CC : libav-stable@libav.org
Signed-off-by : Martin Storsjö <martin@martin.st> -
What is the full code to execute a ffmpeg command in java [on hold]
16 janvier 2015, par user2303069I did the following and only got 0kb output file :
File encodingFile = new File("c :\ffmpeg\bin\output.mp4") ;
encodingFile.createNewFile() ;Process process = new ProcessBuilder("c:\\ffmpeg\\bin\\ffmpeg.exe", "-i", "c:\\ffmpeg\\bin\\input.mp4",
"-y", "-s", "1440" + "x" + "-1", "-vcodec", "libx264", "c:\\ffmpeg\\bin\\outfile.mp4").start();
is = process.getInputStream();
byte[] resultBuff = new byte[0];
byte[] buff = new byte[1024];
int k = -1;
while((k = is.read(buff, 0, buff.length)) > -1) {
byte[] tbuff = new byte[resultBuff.length + k]; // temp buffer size = bytes already read + bytes last read
System.arraycopy(resultBuff, 0, tbuff, 0, resultBuff.length); // copy previous bytes
System.arraycopy(buff, 0, tbuff, resultBuff.length, k); // copy current lot
resultBuff = tbuff; // call the temp buffer as your result buff
}
fos=new FileOutputStream(encodingFile);
fos.write(resultBuff, 0,resultBuff.length );
gui.textArea1.append("\n"+resultBuff.length + " bytes read.");
//return resultBuff;
try {
// if you want to wait for the process to finish
process.waitFor();
gui.textArea1.append("\n+++++++Finished while converting!++++++++\n");
} catch (InterruptedException ex) {
gui.textArea1.append("\nInterruptedException: "+ex.getMessage());
}
}catch(IOException ex){
gui.textArea1.append("\nIOException converting: "+ex.getMessage());
}finally{
try{
if(is!=null){
is.close();
}
if(fos!=null){
fos.close();
}
}catch(IOException ioe){
gui.textArea1.append("\nClosing streams while converting:"+ioe.getMessage());
}
}My question is how to get back a converted file using ffmpeg in java. So far I got empty files. It’s like nothing happens during the converting process. I got the code from web(here) and modified it according to my desire so can you just tell me how to do this correctly ? Thanks a lot.
-
Download HLS ( HTTP ) Stream video using python
19 février, par LeDerpI need to download a streaming video(from a URL) using python the command line argument would be :



ffmpeg -i URL stream.mp4




I know I can use the subprocess command



subprocess.call('ffmpeg -i '+ URL +' stream.mp4', shell=True)




Is there any alternative like a API that I can use instead of using subprocess command