Recherche avancée

Médias (91)

Autres articles (89)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

Sur d’autres sites (11160)

  • 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 ?