
Recherche avancée
Autres articles (95)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (5676)
-
How to get DirectShow device list with ffmpeg in c++ ?
24 août 2018, par fyoI’m trying to get dshow device list with ffmpeg. I cannot get it but ffmpeg gets it by its own. Here is the code. It returns AVERROR(ENOSYS) for avdevice_list_input_sources. But avformat_open_input prints all devices. How can I get dshow devices and options in c++ code.
avdevice_register_all();
AVInputFormat *iformat = av_find_input_format("dshow");
printf("========Device Info=============\n");
AVDeviceInfoList *device_list = NULL;
AVDictionary* options = NULL;
//av_dict_set(&options, "list_devices", "true", 0);
int result = avdevice_list_input_sources(iformat, NULL, options, &device_list);
if (result < 0)
printf("Error Code:%s\n", av_err2str(result));//Returns -40 AVERROR(ENOSYS)
else printf("Devices count:%d\n", result);
AVFormatContext *pFormatCtx = avformat_alloc_context();
AVDictionary* options2 = NULL;
av_dict_set(&options2, "list_devices", "true", 0);
avformat_open_input(&pFormatCtx, NULL, iformat, &options2);
printf("================================\n"); -
avformat/avformat : Update av_read_frame() documentation
1er décembre 2019, par Andreas Rheinhardtavformat/avformat : Update av_read_frame() documentation
This commit updates the documentation of av_read_frame() to match its
actual behaviour in several ways :1. On success, av_read_frame() always returns refcounted packets.
2. It can handle uninitialized packets.
3. On error, it always returns blank packets.This will allow callers to not initialize or unref unnecessarily.
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
avcodec/v4l2_m2m_dec : remove redundant packet and fix double free
16 juillet 2020, par Andriy Gelmanavcodec/v4l2_m2m_dec : remove redundant packet and fix double free
v4l2_receive_frame() uses two packets s->buf_pkt and avpkt. If avpkt
cannot be enqueued, the packet is buffered in s->buf_pkt and enqueued in
the next call. Currently the ownership transfer between the two packets
is not properly handled. A double free occurs if
ff_v4l2_context_enqueue_packet() returns EAGAIN and v4l2_try_start
returns EINVAL.In fact, having two AVPackets is not needed and everything can be
handled by s->buf_pkt.This commit removes the local avpkt from v4l2_receive_frame(), meaning
that the ownership transfer doesn't need to be handled and the double
free is fixed.Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>