
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (61)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (8690)
-
Capturing frames from an h264 stream with gst/ffmpeg
17 août 2016, par Yuval.SightecI want to save (as jpegs) or reach the data of the frames streaming from my usb camera.
Meaning that I want to use the h.264 hardware encoding (I running it on nvdia jetson) in order to get a sequence of compressed files (I prefer not save it on the disc and get an array, if possible).
Can I do that ?So far I tried this :
gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-h264,framerate=30/1,stream-format=byte-stream ! decodebin ! videorate ! video/x-raw,framerate=30/1 ! videoconvert ! jpegenc ! multifilesink location=img_%04d.jpg
but I get an internal data flow error from v4l2src0 element, and an error from gst_base_src_loop() after the pipeline was set to PLAYING.
Can anybody please help me ?
b.t.w- It doesnt have to be neccecerly h.264 encoding, it also can be mpeg encoding or something else : I want to use the fact that it is pictures of a video, frames, in order to get smaller size frames.
Thank you so much !
-
Building FFMPEG for Visual Studio development
28 juillet 2016, par gboyI’m trying to use ffmpeg in Visual Studio 2013 C++ software (ultimately as part of an OpenCV project) - but right now I’m just trying to get basic FFMPEG functionality. In general, when building in Visual Studio, I build 64—bit software with Multi-threaded DLL runtime libraries. I have built ffmpeg using the general instructions for ’Native Windows compilation using ... MinGW-w64’ at http://ffmpeg.org/platform.html#Windows (I provide a more detailed set of steps I followed below...).
After building the ffmpeg software on my system, I tried to create a simple ’hello world’ project in Visual Studio 2013. Specifically, I tried to implement the initial tutorial file presented at http://dranger.com/ffmpeg/tutorial01.html. Upon building the project, I get the error :
c :\msys64\usr\local\ffmpeg\libavutil\common.h(45) : fatal error C1083 : Cannot
open include file : ’libavutil/avconfig.h’ : No such file or directoryThe following are the detailed steps I took to build ffmpeg and create my basic Visual Studio project :
============ Building ffmpeg ===============
- Downloaded and intalled msys2-x86_64-20160205.exe from http://msys2.github.io
- Ran
update-core
to update the Msys2 install - Ran
pacman -Suu
(twice) to complete the update (following the instructions about updating shortcuts, etc.) - Then I quit out of the MSys2 shell and opened the MinGW-w64 Win64 Shell. In this new shell :
- Installed the following packages using
pacman -S
The list of packages I installed is : make, pkg-config, diffutils, mingw-w64-x86_64-yasm, mingw-w64-x86_64-gcc, mingw-w64-x86_64-SDL, git - Then I cd’d into
cd /usr/local
- Ran
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
- I wanted to build the ffmpeg library ’out-of-tree’ of this MSys64 folder. So, in the regular file system of my Windows machine I created a folder at C :\ffmpeg
- Back in the Win64 Shell, I cd’d to this new folder :
cd /c/ffmpeg
- Then ran
/usr/loca/ffmpeg/configure --enable-shared
- Then
make -r
- And, finally
make install
Now, if I had to guess, my ’flaw’ was in the options I used when calling the ’configure’ script of ffmpeg. Do I need to use particular options so that I can take the ffmpeg libraries built here and use them as dynamic (DLL) libraries in Visual Studio ?
========== Configuring my Visual Studio Project ============
Here’s how I created a simple hello world project in Visual Studio to see if ffmpeg is working.
- I created a new Visual C++ ’Empty Project’ in Visual Studio 2013
-
I then configured the project properties as follows :
a. In C/C++ => General => Additional Include Directories, I put
C :\msys64\usr\local\ffmpeg
b. In Linker=>General => Additional Library Directories, I pointed to each of the built library folders (basically I pointed at all of the libraries that were built to ensure I was not inadvertently missing the critical one). The list is as follows :
- C :\ffmpeg\libavcodec
- C :\ffmpeg\libavdevice
- C :\ffmpeg\libavfilter
- C :\ffmpeg\libavformat
- C :\ffmpeg\libavutil
- C :\ffmpeg\libswresample
- C :\ffmpeg\libswscale
- C :\ffmpeg
c. In Linker=> Input => Additional Dependencies, I pointed to the particular libraries (again - I pointed to all of the ones present). The list is :
- avcodec.lib
- avdevice.lib
- avfilter.lib
- avformat.lib
- avutil.lib
- swresample.lib
- swscale.lib
-
I then created a new source file called ’tut01.c’ and copied/pasted the code from http://dranger.com/ffmpeg/tutorial01.c
- Then hit F7 and got the error specified above about not finding avconfig.h
The above is my best guess as to the steps I need to follow to get this working in Windows (btw, it’s Windows 10, 64-bit) & Microsoft Visual Studio 2013. What should I change to get this basic program to build and run ?
-
how to use ffmpeg in eclipse c++(win7 64)? [duplicate]
22 août 2016, par CocoThis question already has an answer here :
How to use ffmpeg, such as config include,lib,dll. It’s always build error.
Who can tell me, thanks...#define __STDC_CONSTANT_MACROS
#include <iostream>
using namespace std;
extern "C" {
#include "libavformat/avformat.h"
}
int main() {
av_register_all();
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
</iostream>error : /../src/ffmpeg_test.cpp:18 : undefined reference to `av_register_all’