
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (69)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8163)
-
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.