
Recherche avancée
Autres articles (13)
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (2389)
-
FFmpeg API : parse raw movie packet data into AVPacket
7 novembre 2011, par Andrea3000If you have a movie file and you need to extract frame (packet) from it, it's simply a matter of writing :
avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options);
...
AVPacket packet;
av_read_frame(formatContext, &packet);But what if I don't have the movie file but only unparsed, raw packet data ? These raw packet data are the same as the raw data contained into the movie file but I don't access them throught
avformat_open_input
and therefore I can't useav_read_frame
so FFmpeg doesn't parse them.How can I parse this raw data in order to build the corresponding AVPacket ?
I need to obtain an AVPacket identical to the ones provided by av_read_frame. -
Creating a movie from multiple .png files
21 octobre 2014, par QuantumFoolI’ve got quite a few .png files, and I need to create a movie out of them. So, I’m going through this tutorial which uses ffmpeg :
http://www.miscdebris.net/blog/2008/04/28/create-a-movie-file-from-single-image-files-png-jpegs/
When I go to type the first line (sudo apt-get install ffmpeg), in Terminal and enter my password as appropriate, I get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ffmpeg' has no installation candidateThat’s funny ; I installed the latest version manually this morning ! Anyway, I proceed with the instructions assuming ffmpeg is installed properly (I’m looking at the file where it downloaded to, so that can’t be the issue) :
cd Downloads
cd python-meep
cd Images
ffmpeg -qscale 4 -r 20 -b 9600 -i Image%03d.png movie.mp4To my surprise, I get :
ffmpeg: command not found
I just installed it ! Furthermore, I dragged my manual installation folder into the very same directory with the pictures ! What’s going on ?
Thanks !
-
How to create FFMPEG command that position a movie in a frame
31 janvier 2019, par S.TI want to create FFMPEG command that takes 2 movies and position it inside a frame at a specified x and y next to each other and then create one movie from it.
This is a command i did which create a movie that puts 2 movies next to each other with a space of 10 pixels between them.
complexCommand = new String[]
"-i", tempPath1, "-i", tempPath2, "-strict","experimental",
"-filter_complex",
"[0:v:0]pad=iw*2:ih+20:color=white[bg] ;"+
"[bg][1:v:0]overlay=w+10:h+10",
"-s", "320x240","-r", "30", "-b", "15496k", "-vcodec", "mpeg4",
"-ab", "48000", "-ac", "2", "-ar", "22050",The problem is that i want more abilities like control the position of each movies (multiple movies), an explanation or an example how to use the padding and the position of the movies.
Thanks a lot.