Recherche avancée

Médias (91)

Autres articles (68)

  • 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

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10522)

  • FFMPEG - changing pixel format from 24-bit RGB to 8-bit Grayscale only changes color, but not file size

    27 septembre 2018, par Minjun Seong

    I am using the avlib* libraries and currently using the sws_getContext function to change pixel format from RGB (AV_PIX_FMT_RGB24) to grayscale (AV_PIX_FMT_GRAY8). The expected behavior should have been that the output file size should have decreased by 3 times as we are going from 24 bit rgb to 8 bit grayscale, but it stayed the same. Furthermore, when I checked on Media-Coder to see the format, the video format was still RGB. Any ideas on why the file size didn’t change and why the file format is still RGB ?

    Note : the video DID change to black and white as expected.

  • FFMPEG - changing pixel format from 24-bit RGB to 8-bit Grayscale does not change file size

    26 septembre 2018, par Minjun Seong

    I am using the avlib* libraries and currently using the sws_getContext function to change pixel format from RGB (AV_PIX_FMT_RGB24) to grayscale (AV_PIX_FMT_GRAY8). The expected behavior should have been that the output file size should have decreased by 3 times, but it stayed the same. Furthermore, when I checked on Media-Coder to see the format, the video format was still RGB. Any ideas on why the file size didn’t change and why the file format is still RGB ?

    Note : the video DID change to black and white as expected.

  • How to specify text-only subtitles in ffmpeg

    20 juin 2019, par Daniel Engel

    I’m trying to script some basic DVD-to-home media server processing. One of the things I’m trying to do, which seems like it should be pretty basic, is extract the text (srt) subtitles from the .mp4 file from the initial rip.

    I can see the stream, and if I select the stream explicitly (by stream number), I can extract it. However, I want to script the ffmpeg command. If I try to just specify the subtitle stream with a -map option, it maps the first subtitle stream, which is often a bitmap stream instead of text stream.

    So, after ripping some of my DVD’s, I’d like to process everything in a batch script, something like :

    for video in *.mp4; do
     ...
     (special code to get $subtitle filename with .srt instead of .mp4)
     ffmpeg -i "$video" -map 0:s "$subtitle"
     ...
    done

    I’d like the "-map" option to cause ffmpeg to select only text-based subtitles (like mov_text), and not, for example, dvd_subtitle, irrespective of which is first in the list of streams.

    Does anybody know of a way to do this ?