Recherche avancée

Médias (91)

Autres articles (71)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans 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 (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (11486)

  • H264 decompression/decomposition into JPG - quality issues

    5 juin 2013, par Respectech

    I'm trying to decode a 1920x1080 30fps h264 stream. Individual frames look outstanding in VLC media player (pausing the playback), but when I decode using avconv (ffmpeg has been deprecated and replaced by avconv), the frame quality is really poor by comparison (my primary complaint is blockiness).

    Here's how I am calling avconv :

    avconv -i video.h264 -s 1920x1080 -f image2 temp/images/video-%03d.jpg

    Is there a jpg output setting for avconv ? I read what I suspected were the salient parts of the avconv documentation (namely, http://libav.org/avconv.html#image2-1), and couldn't find any way to specify the output jpg quality.

    In addition, it appears avconv reads the entire stream before it starts decoding it, so if the stream is in progress, it only decodes to where the stream was when avconv started the decoding process. Is there any way around this ? In other words, if a 10-second-long stream is started at t seconds and avconv is started at t+1 seconds, avconv will only decode 1 second of the stream.

  • Split a movie so that each GIF is under a certain file size

    9 novembre 2014, par Terence Eden

    Problem

    I want to convert a long movie into a series on animated GIFs.

    Each GIF needs to be <5MB.

    Is there any way to determine how large a GIF will be while it is being encoded ?

    Progress So Far

    I can split the movie into individual frames :

    ffmpeg -i movie.ogv -r 25 frameTemp.%05d.gif

    I can then use convert from ImageMagick to create GIFs. However, I can’t find a way to determine the likely file size before running the command.

    Alternatively, I can split the movie into chunks :

    ffmpeg -i movie.ogv -vcodec copy -ss 00:00:00 -t 00:20:00 output1.ogv

    But I’ve no way of knowing if, when I convert the file to a GIF it will be under 5MB.

    A 10 second scene with a lot of action may be over 5MB (bad !) and a static scene could be under 5MB (not a problem, but not very efficient).

    Ideas

    I think that what I want to do is convert the entire movie into a GIF, then find a way to split it by file size.

    Looking at ImageMagick, I can split a GIF into frames, but I don’t see a way to split it into animated GIFs of a certain size / length.

    So, is this possible ?

  • avcodec/cuviddec : correctly set key_frame with interlaced content

    11 juin 2021, par stuhlo
    avcodec/cuviddec : correctly set key_frame with interlaced content
    

    Fixes #9283

    This fixes setting of 'key_frame' flag in AVFrame when input h264 packets represents individual fields of interlaced video.
    In this case, pairs of two consecutive fields represents a single decoded picture and have identical 'CurrPicIdx', however, only
    the first field is entirely intra-coded and has the flag 'intra_pic_flag' set and the second field was resetting the flag before
    it was even read in the function 'cuvid_output_frame'.

    Signed-off-by : Timo Rothenpieler <timo@rothenpieler.org>

    • [DH] libavcodec/cuviddec.c