
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (49)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (3093)
-
avcodec/bintext : Add error message when resolution is too small for font.
9 avril 2019, par Nikolas Bowe -
Is it possible to change fps and resolution of a stream to ffserver ?
1er mai 2019, par sanketsans97I am trying to stream to ffserver. But my aim is to tweak with the fps and resolution of the stream on the fly without restarting the whole ffserver session.
I tried changing the resolution, but it completely restarts the whole session and there is a minor glitch or a pause you can notice when the whole session starts !
I am hoping to make the changes without making the session restart !
-
Increase resolution of captured image using avconv
26 novembre 2014, par user3723711I am trying to increase resolution of a frame.
First I am setting two virtual devices using gst-launch-0.10 :
gst-launch-0.10 v4l2src device=/dev/video1 ! video/x-raw-rgb,framerate=30/1,width=640,height=480 ! ffmpegcolorspace ! tee name=t ! v4l2sink device=/dev/video2 t. ! queue ! v4l2sink device=/dev/video3
then for /dev/video2 I am using ffmpeg to stream video and then I send this stream to browser :
ffmpeg -s 640x480 -f video4linux2 -i /dev/video2 -f mpeg1video -b 800k -r 30 http://localhost:8082/pass/640/480/
now on my browser when user clicks on "capture" button I am using this function to capture the frame from ffmpeg stream using avconv :
function captureImage(res, path) {
var ffmpeg_options = ['-s', '1280x720', '-f', 'video4linux2', '-i', '/dev/video3', '-ss', '0:0:0', '-frames', '1', path];
avcov_capture = spawn('avconv', ffmpeg_options, null);
var stream = false;
avcov_capture.stdout.on('data', function(buf) {
console.log('CAP OUT: ' + buf.toString());
});
avcov_capture.stderr.on('data', function(data) {
if (data.toString().indexOf('frame') >= 0) {
var ret = {
result : 'captured',
path : path
};
checkFile(res, ret, path);
}
});
};My question is when I capture a frame using avconv (in captureImage function), how I can increase the resolution of that image and stop ffmpeg stream after I capture a frame ?
Is it a better idea if I increase resolution of video stream sent to video2 in gst-launch pipeline ?If so how can I add that setting to my pipeline.