
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (66)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 (...)
-
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 (11185)
-
How to increase compression speed for FFmpeg ?
30 décembre 2022, par MarotiI have used following command for compress video in android.



ffmpeg -y -i /sdcard/DCIM/Camera/VID_20150326_125017.mp4 -strict experimental -s 640x360 -r 25 -vcodec mpeg4 -b 1000k -ab 48000 -ac 2 -ar 22050 /sdcard/videokit/out.mp4




Above command is a work properly, but it's taking too much time for compression.
An 80MB video file takes around 3 minutes to compress to an 8MB file. Is there any way I can reduce this time.


-
how to get time bitrate, q and speed from ffmpeg using ffprobe ?
24 décembre 2016, par user2631534i im using node js that creates and start ffmpeg for restream using pipe function that works but i im unable to get from stdout.pipe ffmpeg informations about started stream : bitrate, speed, time and q.
this is what i get when i start ffmpeg using : ./ffmpeg -i http://serverip :/stream1.ts
frame= 710 fps = 65 q=1.0 Lsize = 4974kB time=00:00:28.33 bitrate = 1437.9kbits/s speed = 2.61x
and i would like to read into string this parameters so that i can write in mysql database and later show in datatables info...how to get frame, fps, q, time, bitrate and speed value into javascript variable so that i can use it later ?
i im starting ffmpeg using this :
function listener(id, stream_url) {
/* LISTENER - ffmpeg */
streams[id].on('close', function() {
/* START - stream */
stream(id, stream_url);
});
}
function stream(id, stream_url) {
/* START - ffmpeg */
streams[id] = child_process.spawn(process.env.PWD + "/node_modules/ffmpeg-static/bin/linux/x64/ffmpeg", [
"-re", /* STREAM - realtime */
"-y", /* OVERWRITE - output file */
"-hide_banner", /* BANNER - hide */
"-loglevel", "quiet", /* LOG - hide */
"-i", stream_url, /* STREAM - source */
"-vcodec", "copy",
"-reset_timestamps", "1",
"-movflags", "frag_keyframe+empty_moov",
"-f", "mpegts",
"-"
], { detached: false });
/* LISTENER - ffmpeg */
listener(id, stream_url);
}
/* LOOP - throught all streams */
for (var i in rows) {
/* CHECK - ffmpeg */
if (!streams[rows[i].id]) {
/* START - stream */
stream(rows[i].id, rows[i].stream);
};
};And showing stream using :
streamRoutes.get('/stream2', function(req, res) {
/* STREAM - header */
res.writeHead(200, {
'Content-Type': 'video/H264'
});
/* PIPE - stream to client */
streams[2].stdout.pipe(res);
ffprobe(streams[2].stdout, { path: ffprobeStatic.path }, function (err, info) {
console.log(info);
});}) ;
i try using ffprobe input stream as stdout from ffmpeg that is read from memory but i get undefined in console.log....
UPDATED QUESTION :
i save file using this code to HDD and then read frpm fluent-ffmpeg-extended metadata and i im getting correct JSON data (duration, bitrate, resolution, time etc...) but i would like not to save stream to HDD to get informations...i would like to get from memory stream and get this informations...but fluent-ffmpeg-extended accept only local input file on HDD not stream (http link), how can i enter stream link into fluent-ffmpeg to get this infomations from memory (stdout.pipe) ?
var inputfile = "http://myserverip/stream/ -vcodec copy -f mpegts 1.ts";
var exec = require('child_process').exec;
exec("/root/mediaxtream-codes/node_modules/ffmpeg-static/bin/linux/x64/ffmpeg" + ' -i ' + inputfile, function(err, stdout, stderr) {
console.log(stdout);
});
function check() {
var Metalib = require('fluent-ffmpeg-extended').Metadata;
var metaObject = new Metalib("1.ts", function(metadata, err) {
console.log(require('util').inspect(metadata, false, null));
});
setTimeout(check, 1000);
};
setTimeout(check, 1000);And form console.log in terminal i get correct informations every seconds :
{ ffmpegversion: '3.1',
title: '',
artist: '',
album: '',
track: '',
date: '',
durationraw: '00:02:02.08',
durationsec: 122,
synched: false,
major_brand: undefined,
video:
{ container: 'mpegts',
bitrate: 2058,
codec: 'h264',
resolution: { w: 1280, h: 720 },
resolutionSquare: { w: 1280, h: 720 },
rotate: 0,
fps: 25,
stream: 0,
aspectString: '16:9',
aspect: 1.7777777777777777,
pixelString: '1:1',
pixel: 1 },
audio: { codec: 'mp2', bitrate: 384, sample_rate: 48000, stream: 0 } } -
Speed up the FFmpeg process time in Android
19 septembre 2019, par Yogesh PaliyalI want to loop video until the sound stops, everything works good but it takes too much time.
if my audio file length is 4 minutes then it takes approx of 4 minutes & the size is also too much, here is my commandString[] cmd = new String[]{"-i",audioFile.getAbsolutePath(),"-filter_complex","movie="+videoFile.getAbsolutePath()+":loop=0,setpts=N/(FRAME_RATE*TB)","-c","copy","-y",createdFile.getAbsolutePath()};