
Recherche avancée
Autres articles (58)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (8185)
-
avcodec/v4l2_context : Drop empty packet while draining
10 mai 2020, par Andriy Gelmanavcodec/v4l2_context : Drop empty packet while draining
v4l2_m2m devices may send an empty packet/frame while draining
to indicate that all capture buffers have been flushed.Currently, the empty packet/frame is not handled correctly :
When encoding, the empty packet is forwarded to the muxer, usually
creating warnings.
When decoding, a reference to the memory is created anyway. Since in
the past this memory contained a decoded frame, it results in an extra
frame being decoded.This commit discards the empty packet/frame.
References :
linux/Documentation/media/uapi/v4l/dev-decoder.rst :"The last buffer may be empty (with :c:type :`v4l2_buffer` bytesused = 0)
and in that case it must be ignored by the client, as it does not
contain a decoded frame."linux/Documentation/media/uapi/media/v4l/vidioc-encoder-cmd.rst :
"...This buffer may be empty, indicated by the
driver setting the ``bytesused`` field to 0."Reviewed-by : Ming Qian <ming.qian@nxp.com>
Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com> -
ffmpeg with h264_qsv encoder
24 juin 2015, par Dmitry VasilyevWe use the following libraries :
1. ffmpeg library for encoding and decoding
2. live555 library for streaming (RTSP)Machine configuration is CPU Intel(R) Atom(TM) E3845 and Windows 8.1 with Intel driver that includes libmfxhw32.dll.
We also try to use Intel Quick Sync Video(QSV) technology inside ffmpeg library. ffmpeg has been configured with —enable-libmfx and includes h264_qsv encoder.
The method avcodec_find_encoder_by_name("h264_qsv") returns handle to "h264" codec instance.bool aEncoder::Initialize(std::string& container)
{
bool res = false;
AVCodec* av_codec = NULL;
av_codec = avcodec_find_encoder_by_name("h264_qsv"); //first
if(av_codec == NULL)
{
return false;
}
avformat_alloc_output_context2(&m_pFormatContext, NULL, container.c_str(), NULL);
if(!m_pFormatContext)
{
return false;
}
m_pOutFormat = m_pFormatContext->oformat;
m_pOutFormat->video_codec = av_codec->id;
return true;
}
AVStream *aEncoder::AddVideoStream(AVFormatContext *pContext, AVCodec *codec, AVCodecID codecId, void *realStreamer)
{
AVCodecContext *pCodecCxt = NULL;
AVStream *stream = NULL;
stream = avformat_new_stream(pContext, codec);
if (!stream)
{
return NULL;
}
pCodecCxt = stream->codec;
pCodecCxt->hwaccel_context =(void *)&qsvConf; //second
//...
}Could you please reply to the question below :
1. How can we initialize "h264_qsv" correctly ?
2. How can we check that "h264_qsv" is used duiring encoding ?Thank You in advance for your help.
-
vaapi_encode : Support configurable slices
23 septembre 2018, par Mark Thompsonvaapi_encode : Support configurable slices
This adds common code to query driver support and set appropriate
address/size information for each slice. It only supports rectangular
slices for now, since that is the most common use-case.