
Recherche avancée
Autres articles (63)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (12923)
-
LibAV FFMPEG How to get devices list ?
23 septembre 2020, par FennecFixI looked up to documantation and found a very convenient
AVInputFormat
's funcitonget_device_list
. But the problem is I can't use it.

Here's my short code snippet


#include <qdebug>

extern "C"
{
#include <libavformat></libavformat>avformat.h>
#include <libavdevice></libavdevice>avdevice.h>
}

int main(int argc, char *argv[])
{
 avdevice_register_all();

 AVFormatContext *formatContext = avformat_alloc_context();

 AVInputFormat *inputFormat = av_find_input_format("dshow");

 AVDeviceInfoList devices;
 inputFormat->get_device_list(formatContext, &devices);

 qDebug() << devices.nb_devices;

 avformat_free_context(formatContext);

 return 0;
}
</qdebug>


And that code CRASHES when I'm trying to print
devices
. How do I use that function properly ? The official domentation has no examples using that function.

-
H264 to jpeg FFMPEG decoding/encoding in C
2 décembre 2023, par Vikram KamathI'm trying to write a script in C to decode H264 frames and then encode them to jpeg/png format, frame-by-frame.


I'm going off of the tutorials given in the official decoder and encoder examples, but with a decoder type of AV_CODEC_ID_H264 and an encoder type AV_CODEC_ID_MJPEG, the files I am saving seem to be unreadable. Am I using the incorrect codecs ?


-
swresample/rematrix : treat 22.2 as 5.1 (back) when mixing
1er août 2020, par Jan Ekströmswresample/rematrix : treat 22.2 as 5.1 (back) when mixing
Only this sub-set of channels actually follows the bit mask order
in the official 22.2 channel mapping. Additionally, the 5.1 channels
are there for backwards compatibility with the previous system.This enables the utilization of 22.2 content until a proper down/up
matrix is added into swresample.