
Recherche avancée
Autres articles (87)
-
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 (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (4891)
-
ffmpeg - i do not add some headers
27 décembre 2020, par badcodeI have compiled the FFmpeg library using : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu


And have built the doc/examples codes and they are working well. There is no problem.


But now I try to add some extra headers to my code


#include "libavformat/avformat.h" // its ok
#include "libavformat/oggdec.h" // fail



but it gives the following error.


No such file or directory
 #include "libavformat/oggdec.h"



And this libavformat dir :


(base) alitokur@ubuntu:~/ffmpeg_sources/ffmpeg/libavformat$ ls | grep ogg
oggdec.c
oggdec.d
oggdec.h
oggdec.o
oggenc.c
oggenc.d
oggenc.o
oggparsecelt.c
oggparsecelt.d
oggparsecelt.o
oggparsedirac.c
oggparsedirac.d
oggparsedirac.o
oggparseflac.c
oggparseflac.d
oggparseflac.o
oggparseogm.c
oggparseogm.d
oggparseogm.o
oggparseopus.c
oggparseopus.d
oggparseopus.o
oggparseskeleton.c
oggparseskeleton.d
oggparseskeleton.o
oggparsespeex.c
oggparsespeex.d
oggparsespeex.o
oggparsetheora.c
oggparsetheora.d
oggparsetheora.o
oggparsevorbis.c
oggparsevorbis.d
oggparsevorbis.o
oggparsevp8.c
oggparsevp8.d
oggparsevp8.o



I cant add other headers btw except "avformat.h". What am I missing ?


-
Mathematically lossless encoding and decoding of RGB24 image sequence
25 avril 2013, par curryageI am trying to encode a RGB24 image sequence into a mathematically (not merely visually) lossless video. huffyuv was suggested on many online forums so I tried the following.
ffmpeg -i frames\%06d.png -vcodec huffyuv test.avi
The resulting video was then decoded into frames again using ffmpeg
ffmpeg -i test.avi outframes\%06d.png
However, the input and output frames are not bit-by-bit identical as promised by huffyuv here. Any idea how I can accomplish this ? My eventual goal is to read the video file using OpenCV but I am willing to cross that bridge later once I obtain a losslessly encoded video file.
This SO question mentions an attempt to obtain a lossless h264 avi and the summary of responses seems to indicate h264 cannot completely accomplish lossless encoding.
Once again, to emphasize, I am interested in bit-by-bit identical encoding, not just visually similar. Large file sizes are acceptable as is large compression/decompression time.
-
How Many Default Languages ?
26 janvier 2012, par Multimedia Mike — ProgrammingI was thinking back to my childhood, when my family first owned a computer. It was an MS-DOS-powered IBM PC. The default OS came with 2 programming environments, such as they were : GW-BASIC and batch files. It was a start, I suppose. I guess most any microcomputer you can name from that era came with some kind of BASIC interpreter. That defined the computer’s “out of the box” programmability.
Then I started wondering how this compares to computers (operating systems/distributions, really) these days. So I installed a fresh version of the latest Ubuntu Linux version (11.10 as of this writing ; x86_32) and looked for programmability (without installing anything else). This is what I came up with :
- gcc/C (only the C compiler ; other components of the GNU compiler collection are installed separately)
- Perl
- Python
- C#, as furnished by Mono
- Bash — can’t forget about the shell as a full-featured programming language (sh is also present, but not t/csh)
- JavaScript — since Firefox is installed per default, JS counts
- GNU Assember — thanks to Reimar for the reminder that if gcc is present, gas necessarily needs to be there as well
I checked on C++, Objective C, Java, Ada, Fortran, Go, Lua, Ruby, Tcl, PHP, R and other languages I could think of, but the above items were the only ones present by default. At the same time, I checked my Mac OS X (10.6) box and it also has Ruby and PHP installed. It has a bunch of other languages, courtesy of Xcode, so I can’t certify anything about its out of the box programmability.
Still, I think “embarrassment of riches” pretty well sums it up. I try not to be crotchety old fogey complaining that kids these days don’t know how good they have it ; rather, I’m genuinely excited for anyone who wants to leap into computer programming in this day and age.