Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (74)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (10296)

  • Image scaling boundaries in FFMEG

    6 mars 2018, par Pedro Pereira

    I am implementing my own version of the bilinear and bicubic scaling algorithms to understand how ffmpeg does the scaling. So, I compare the results I get with the results of the ffmpeg. A couple days agora I had trouble implementing the bilinear version because my bilinear scaled images were different from the ffmpeg ones. With the help of people in the IRC chat I understood that the ffmpeg duplicates the nearest original pixel when the index of the neighboring pixels to interpolate is out of the original image bounds.

    In the same perspective, what does the bicubic version in ffmpeg does to out of the original bounds pixels ? I tried duplicating the nearest original pixel (like in bilinear) and my scaled image is not the same as the ffmpeg one.

    Do I have to something like this ? Fill the boundaries of a matrix using Bicubic interpolation

  • ffmpeg - Adding and Removing Subtitles without Changing the Video

    28 septembre 2018, par MeCe

    I’m trying to embed subtitles into video and removing the subtitles back again without changing the video, meaning I want the output video to be the same with the original video.

    I’m using the following command to embed the subtitles

    ffmpeg -i original.mp4 -i original.srt \
    -c:v copy -c:a copy -c:s mov_text \
    -map_metadata 0:g -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a \
    -movflags +faststart -threads 8 \
    output.mp4

    To remove the subtitles,

    ffmpeg -i output.mp4 \
    -c:v copy -c:a copy \
    -map_metadata 0:g -map_metadata:s:v 0:s:v -map_metadata:s:a 0:s:a \
    -movflags +faststart -threads 8 \
    -sn \
    removed.mp4

    The output is almost the same but I couldn’t figure out what would cause the difference. When I compare the binaries, almost all of the differences are

    original: 0xF3
    removed: 0xF4

    The bytes are incremented by 1, I think only in the header.

    Can you help ? Thank you in advance.

  • How to bulk insert an audio clip into a batch of videos using ffmpeg

    6 décembre 2018, par Date Captain

    I have a batch of videos, all in MP4 with different lenghts. I would like to insert a specific audio file exactly at the 30 second mark on ALL of the videos.

    For example. if the video file were 1 min & the audio file that i wanted to insert was about 3 seconds long.

    It would go like

    0.0-0.30- Original video with it’s audio
    0.30-0.33- Original video with the Custom audio cue
    0.33-1.00- Original Video with its audio

    ffmpeg -i a.mp4 -itsoffset 00:00:10 -i b.mp3 -map 0:0 -map 1:0 -preset ultrafast o.mp4
    • This does something close to the end result. But
      1. It the entirely mutes the videos audio
      2. Will only work for a single video. Need to batch convert everything in the folder.