
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (60)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (9080)
-
fftools/ffmpeg_mux_init : move the check for filtering+streamcopy
24 septembre 2024, par Anton Khirnovfftools/ffmpeg_mux_init : move the check for filtering+streamcopy
To streamcopy_init().
This will allow to simplify the control flow in ost_add() by moving the
ost_get_filters() call (which previously had to handle both encoding and
streamcopy streams) to ost_bind_filter() (which is only called for
audio/video encoding).Also, return EINVAL rather than ENOSYS, as trying to combine filtering
with streamcopy is a parameter error. -
FFMpeg 6.1 h265 decoding with grey artifacts
5 septembre 2024, par EdimarI'm using FFmpeg 6.1 with Delphi 10.3, and when decoding an H.265 MP4 file, I occasionally get gray artifacts. It seems to occur when there is some processing stress.


I’ve extracted the key points of the code being used below :


fCodec := avcodec_find_decoder(AV_CODEC_ID_HEVC);

fCodecCtx := avcodec_alloc_context3(fCodec);

avcodec_open2(fCodecCtx, fCodec, nil)

try
 // Decode video frame
 pPDecInfo.ErrorCode := avcodec_send_packet(fCodecCtx, vPacket);

 while pPDecInfo.ErrorCode >= 0 do
 begin
 pPDecInfo.ErrorCode := avcodec_receive_frame(fCodecCtx, fFrame);

 if (pPDecInfo.ErrorCode = AVERROR_EAGAIN) or (pPDecInfo.ErrorCode = AVERROR_EOF)then
 Break
 else if pPDecInfo.ErrorCode < 0 then
 Exit(False);

 if pPDecInfo.ErrorCode = 0 then
 Break;
 end;

 // Returns: On error a negative value is returned, otherwise the number of bytes used or zero if no frame could be decompressed.
 // frameFinished Zero if no frame could be decompressed, otherwise it is non-zero.

 if (pPDecInfo.ErrorCode = 0) then
 vFrameFinished := 1;
 except
 vFrameFinished := 0; // Encoded video data is not valid
 end;





I've enabled the ffmpeg debug information and there are no error message.


I need to play the video stream using H.265 ; switching to H.264 is not an option.


-
FFMpeg 6.1 h265 decoding with grey frames
5 septembre 2024, par EdimarI'm using FFmpeg 6.1 with Delphi 10.3, and when decoding an H.265 MP4 file, I occasionally get gray frames. It seems to occur when there is some processing stress.


I’ve extracted the key points of the code being used below :


fCodec := avcodec_find_decoder(AV_CODEC_ID_HEVC);

fCodecCtx := avcodec_alloc_context3(fCodec);

avcodec_open2(fCodecCtx, fCodec, nil)

try
 // Decode video frame
 pPDecInfo.ErrorCode := avcodec_send_packet(fCodecCtx, vPacket);

 while pPDecInfo.ErrorCode >= 0 do
 begin
 pPDecInfo.ErrorCode := avcodec_receive_frame(fCodecCtx, fFrame);

 if (pPDecInfo.ErrorCode = AVERROR_EAGAIN) or (pPDecInfo.ErrorCode = AVERROR_EOF)then
 Break
 else if pPDecInfo.ErrorCode < 0 then
 Exit(False);

 if pPDecInfo.ErrorCode = 0 then
 Break;
 end;

 // Returns: On error a negative value is returned, otherwise the number of bytes used or zero if no frame could be decompressed.
 // frameFinished Zero if no frame could be decompressed, otherwise it is non-zero.

 if (pPDecInfo.ErrorCode = 0) then
 vFrameFinished := 1;
 except
 vFrameFinished := 0; // Encoded video data is not valid
 end;





I've enabled the ffmpeg debug information and there are no error message.


I need to play the video stream using H.265 ; switching to H.264 is not an option.