Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (10)

  • Supporting all media types

    13 avril 2011, par

    Unlike 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, par

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (4471)

  • png_parser : Fix parsing on big endian

    18 décembre 2013, par Martin Storsjö
    png_parser : Fix parsing on big endian
    

    Since pc.state is populated by shifting in from the end of the
    32 bit word, the content within pc.state is already in native endian
    and should not be read with the AV_RL,B functions.

    This was already done correctly for state64 above.

    This fixes the fate-corepng test on big endian.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/png_parser.c
  • How to save ffmpeg segmets to disk immediately with sub-second intervals ?

    20 octobre 2023, par amfast

    I'm trying to record video on a raspberry and have it save as much as possible (sub-second resolution) in case of a power cutoff.

    &#xA;

    I use -f segment to save the encoded stream in 100ms segments with the hope that all but the interrupted (by power cutoff) segment will be saved in memory. Unfortunately, when cutting off power, all the destination files (output_0001.mp4, output_0002.mp4, ...) are created, but empty.

    &#xA;

    To save the files to disk immediately, I added the -strftime 1 option that allows formatting the output filename as time. It seems weird that this is the (only ?) way to trigger immediate saving of files, but it works - untill I try to have segments smaller than 1 second. The problem seems to be that the format string %d, that previously added a sequence number in my output filenames, now represents "day" (i.e. date) and the smallest resolution time format string is %S for second. I saw %f suggested somewhere for smaller resolutions, but it only prints "%f".

    &#xA;

    The result is that the segmentation part of ffmpeg does create 100ms segments and save them to disk immediately, but the strftime feature gives the output files names that only change every second, so all the interim files are overwritten.

    &#xA;

    Example of the failing command below. Without the -strftime option this creates nice segments, but does not save them to disk immediately.

    &#xA;

    libcamera-vid --flush \&#xA;    --framerate ${FRAMERATE} \&#xA;    --width ${WIDTH} \&#xA;    --height ${HEIGHT} \&#xA;    -n \&#xA;    -t ${TIMEOUT} \&#xA;    --codec yuv420 \&#xA;    -o - | &#xA;ffmpeg \&#xA;    -fflags nobuffer \&#xA;    -strict experimental \&#xA;    -loglevel debug \&#xA;    -flags low_delay \&#xA;    -f rawvideo \&#xA;    -pix_fmt yuv420p \&#xA;    -s:v ${WIDTH}x${HEIGHT} \&#xA;    -r ${FRAMERATE} \&#xA;    -i - \&#xA;    -c:v h264_v4l2m2m \&#xA;    -f segment \&#xA;    -segment_time 0.1 \&#xA;    -segment_format mp4 \&#xA;    -reset_timestamps 1 \&#xA;    -strftime 1 \&#xA;    -b:v ${ENCODING_BITRATE} \&#xA;    -g 1 \&#xA;    "output_%04d.mp4"&#xA;

    &#xA;

    Question :
    &#xA;Is there another way besides -strftime to trigger immediate saving ? Or is there a mechanism to feed finer resolution format strings to the output filename ?

    &#xA;

  • ffmpeg install on my machine but not display in phpinfo()

    17 février 2017, par Pratik Bachchhe

    ffmpeg extension not loaded in phpinfo() when I follow the steps below :

    Install FFMPEG on XAMPP

    • Download ffmpeg from here : https://ffmpeg.org/download.html
    • Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext
    • Copy files from common to the windows/system32 folder
    • Add extension=php_ffmpeg.dll to php.ini file (\apache...php.ini)
    • Restart all services (Apache, PHP...)
    • Enable extension=php_ffmpeg.dll directive in your php.ini.