
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (31)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (3496)
-
Real time compression/encoding using ffmpeg in objective c
20 février 2014, par halfwaythruI have a small application written in Objective-c that looks for the video devices on the machine and allows the user to record video. I need to be able to compress this video stream in real time. I do not want to save the whole video, I want to compress it as much as possible and only write out the compressed version.
I also don't want to use the AVFoundation's build in compression methods and need to use a third party library like ffmpeg.
So far, I have been able to record the video and get individual frames using 'AVCaptureVideoDataOutputSampleBufferDelegate' in this method :
- (void)captureOutput:(AVCaptureOutput *)captureOutput
didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
fromConnection:(AVCaptureConnection *)connectionSo I have a stream of images basically, and I want to throw them into ffmpeg (which is all set up on my machine). Do I need to call a terminal command to do this ? And if I do, how do I use the image stack as my input to the ffmpeg command, instead of the video. Also, how do I combine all the little videos in the end ?
Any help is appreciated. Thanks !
-
Extracting audio from video using Xuggler
13 février 2014, par SudhI am trying to extract audio(mp3) from a video file (flv), but I keep getting Exceptions :
05:02:10.326 [AWT-EventQueue-0] ERROR org.ffmpeg - [aac @ 000000000043B3F0] channel element 0.0 is not allocated
java.lang.IllegalArgumentException : stream[0] is not videoI tried with this :
public void runExample(int a) {
String sourceUrl="F:\\Software\\library\\test1.mp4";
String destUrl="F:\\Software\\library\\test1.flv";
IMediaReader reader = null;
IMediaWriter writer = null;
try {
reader = ToolFactory.makeReader(sourceUrl);
writer = ToolFactory.makeWriter(destUrl, reader);
reader.addListener(writer);
int sampleRate = 44100;
int channels = 1;
//writer.addAudioStream(0, 0, ICodec.ID.CODEC_ID_MP3, channels, sampleRate);
while (reader.readPacket() == null) ;
//Should IMediaReader automatically call close(), only if ERROR_EOF (End of File) is returned from readPacket().
reader.setCloseOnEofOnly(false);
//If false the media data will be left in the order in which it is presented to the IMediaWriter.
//If true IMediaWriter will buffer media data in time stamp order, and only write out data when it has at least one same time or later packet from all streams.
writer.setForceInterleave(false);
System.out.println("closed...");
} catch (Exception ex) {
ex.printStackTrace();
}
}Also When I try this :
public String seperateAudioStream(String pathToAudioFile)
{ String sourceUrl="F:\\Software\\library\\test1.mp4";
String destUrl="F:\\Software\\library\\test1.mp3";
IMediaReader reader = ToolFactory.makeReader(sourceUrl);
reader.open();
IMediaWriter writer = ToolFactory.makeWriter(destUrl,reader);
reader.addListener(writer);
int sampleRate = 44100;
int channels = 1;
writer.addVideoStream(0, 0, ICodec.ID.CODEC_ID_MP3, channels, sampleRate);
while (reader.readPacket() == null);
return null;
IContainer container = IContainer.make();
int result = container.open(sourceUrl, IContainer.Type.READ, null);
// check if the operation was successful
if (result<0)
throw new RuntimeException("Failed to open media file");
int numStreams = container.getNumStreams();
int audioStreamId = -1;
IContainer writer = IContainer.make();
writer.open(destUrl, IContainer.Type.WRITE, IContainerFormat.make());
for (int i=0; i= 0){
if(packet.getStreamIndex() == audioStreamId)
{
if(coder.isOpen()){
System.out.println("Writing audio ...");
writer.writePacket(packet);
} else {throw new RuntimeException("Could not open Coder"); }
}
}
}else {throw new RuntimeException("Header not Written for writer container.");}
}
coder.close();
audioCoder.close();
}
writer.writeTrailer();
writer.close();
return null;
}I get error : ERROR org.ffmpeg channel element 0.0 is not allocated multiple times
The documentation is unclear to say the least.. xuggler's website looks sick and none of the videos given in tutorial play... even on stack overflow most of the questions related to this are unanswered.
-
How to load file in ffmpeg in chunks ?
18 mars, par developer1I'm having a problem when loading a larger file with ffmpeg in safari mobile, it crashes while doing that.


Currently I'm loading the whole file at once
await ffmpeg.writeFile(inputFileName, await fetchFile(file));
and to my understanding safari tries to load it in-memory in one go and fails.

How can I work around this issue ? Maybe split the file to chunks ? Maybe streaming ?


Thank you.