Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (61)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8867)

  • avformat/utils : Always leave parse_pkt in blank state, avoid resetting

    18 mars 2021, par Andreas Rheinhardt
    avformat/utils : Always leave parse_pkt in blank state, avoid resetting
    

    Always leaving said packet in a blank state after having used it
    allows to avoid having to reset it before one uses it ; and it also
    allows to use it in more places than just in parse_packet() here.

    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/utils.c
  • Overlaying one video on another one, and making black pixels transparent

    25 janvier 2023, par Michael A

    I'm trying to use FFMPEG to create a video with one video overlayed on top another.

    &#xA;&#xA;

    I have 2 MP4s. I need to make all BLACK pixels in the overlay video transparent so that I can see the main video underneath it.

    &#xA;&#xA;

    I found two ways to overlay one video on another :

    &#xA;&#xA;

    First, the following positions the overlay in the center, and therefore, hides that portion of the main video beneath it :

    &#xA;&#xA;

        ffmpeg -i 1.mp4 -vf "movie=2.mp4 [a]; [in][a] overlay=352:0 [b]" combined.mp4 -y&#xA;

    &#xA;&#xA;

    And, this one, places the overlay video on the left, but it's opacity is set to 50% so at least other one beneath it is visible :

    &#xA;&#xA;

    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]setpts=PTS-STARTPTS[top]; [1:v]setpts=PTS-STARTPTS, format=yuva420p,colorchannelmixer=aa=0.5[bottom]; [top][bottom]overlay=shortest=0" -acodec libvo_aacenc -vcodec libx264 out.mp4 -y&#xA;

    &#xA;&#xA;

    My goal is simply to make all black pixels in the overlay (2.mp4) completely transparent. How can this be done.

    &#xA;

  • lavc/avpacket : fill padding area on side data split.

    1er juin 2013, par Clément Bœsch
    lavc/avpacket : fill padding area on side data split.
    

    The padding data is assumed to be 0 in several places, notably in
    subtitles. This problem was not detected with fate-sub-srt test because
    the first element of the side data (x1) is 0 in the test, so the
    trailing side data present in the packet wasn’t read by the decoder. The
    issue can be observed with a large enough x1.

    It is also noted in FF_INPUT_BUFFER_PADDING_SIZE doxy that MPEG
    bitstreams require that padding with 0, so it might fix other issues.

    • [DH] libavcodec/avpacket.c