
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (81)
-
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (7246)
-
Can somebody say why that doesn't work
6 août 2018, par atif sesuI want to convert webm to mp4.
private String ffmpegApp;
public FLVConverter(String ffmpegApp) {
this.ffmpegApp = ffmpegApp;
}
public void convert(String filenameIn, String filenameOut, int width, int height) throws IOException, InterruptedException {
convert(filenameIn, filenameOut, width, height, -1);
}
public int convert(String filenameIn, String filenameOut, int width, int height, int quality)
throws IOException, InterruptedException {
ProcessBuilder processBuilder;
if (quality > -1) {
processBuilder = new ProcessBuilder(ffmpegApp, "-i", filenameIn, "-ar", "44100",
"-s", width + "*" + height, "-qscale", quality + "", filenameOut);
} else {
processBuilder = new ProcessBuilder(ffmpegApp, "-i", filenameIn, "-ar", "44100",
"-s", width + "*" + height, filenameOut);
}
Process process = processBuilder.start();
InputStream stderr = process.getErrorStream();
InputStreamReader isr = new InputStreamReader(stderr);
BufferedReader br = new BufferedReader(isr);
String line;
while ((line = br.readLine()) != null) ;
{
}
return process.waitFor();
}
public static void main(String[] args) throws Exception {
FLVConverter FLVConverter = new FLVConverter("C:\\Users\\Casper\\Desktop\\ffmpeg\\bin\\ffmpeg.exe");
FLVConverter.convert("C:\\Users\\Casper\\Desktop\\videoplayback.webm",
"C:\\Users\\Casper\\Desktop\\a.mp4", 300, 200, 5);
} -
Mavericks OpenCV 2.4.9 videoWriter doesn't work
29 septembre 2014, par MaggickI’m having issues writing out video files using OpenCV on Mac.
I’m running Mavericks and have OpenCV 2.4.9 and FFMPEG 2.4.1 installed, and the newest x264 from videolan.
But when I run even the example code from opencv website I still am not able to produce a video. http://docs.opencv.org/doc/tutorials/highgui/video-write/video-write.html
When I run the example code I get a blank video file.
So my code doesn’t seem to be the problem. And I don’t get any errors so I am assuming the problem is with the codec not working. But I don’t understand what I am missing.
Has anyone else had a similar problem ? Since I’m using a Mac I cannot use the -1 flag to pick a codec.
-
How does FFMPEG copy work ?
24 novembre 2017, par Tyler BrooksHow can I implement the equivalent of this command :
ffmpeg -i test.h264 -vcodec copy -hls_time 5 -hls_list_size 0 foo.m3u8
My understanding is that you do something like this (pseudo code for clarity) :
avformat_open_input(&ctx_in, "test.h264", NULL, NULL);
avformat_find_stream_info(ctx_in, NULL);
avformat_alloc_output_context2(&ctx_out, NULL, "hls", "foo.m3u8");
strm_out = avformat_new_stream(ctx_out, NULL);
strm_out->time_base = (AVRational){1000000, FRAMERATE};
strm_out->codecpar->codec_id = AV_CODEC_ID_H264;
strm_out->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
strm_out->codecpar->width = width;
strm_out->codecpar->height = height;
strm_out->codecpar->bit_rate = bitrate;
strm_out->codecpar->codec_tag = 0;
avcodec_parameters_copy(ctx_out->streams[0]->codecpar,
ctx_in->streams[0]->codecpar);
avformat_write_header(ctx_out, NULL);
while(1) {
AVPacket pkt;
ret = av_read_frame(ctx_in, &pkt);
if (ret < 0)
break;
pkt.pos = -1;
pkt.stream_index = 0;
pkt.dts = AV_NOPTS_VALUE;
pkt.pts = AV_NOPTS_VALUE;
pkt.pts = SOME_DURATION;
av_write_frame(ctx_out, &pkt);
av_packet_unref(&pkt);
}
avformat_close_input(&ctx_in);
av_write_trailer(ctx_out);
avformat_free_context(ctx_out);I crash on the
avformat_find_stream_info()
call. I think this is the case because an H264 elemental stream is not really a container (which avformat wants).What is the proper way to implement the FFMPEG ’copy’ command of an elemental stream ?