Recherche avancée

Médias (1)

Mot : - Tags -/publishing

Autres articles (100)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

Sur d’autres sites (11364)

  • Map the second stream when the first stream ends in FFMPEG

    20 août 2021, par Cencode

    I have three ffmpeg commands. First one is used to stream a video.

    


    ffmpeg -re -i /home/Channel/1.mp4 -f mpegts "udp://236.2.2.4:2000"


    


    Second stream will send a looping image.

    


    ffmpeg -loop 1 -i /home/Channel/black.png -c:v libx264 -tune stillimage -shortest -f mpegts "udp://236.2.2.4:2001"


    


    I have a third ffmpeg command to map the above two streams and select a one for the output.

    


    ffmpeg -i "udp://236.2.2.4:2000" -i "udp://236.2.2.4:2001" -map 0 -map 1 -f mpegts "udp://236.1.1.4:2000"


    


    From this ffmpeg command first stream will be played.
Will it be possible to chose the second stream automatically once the first stream is finished ?

    


  • ffmpeg normalized mp3 audio and album art went missing

    29 août 2022, par SomeoneInNeedOfHelp

    I used below ffmpeg command to normalized audio of my songs and the album art is missing after running below command

    


    ffmpeg -i "Original.mp3" -af loudnorm=I=-18:LRA=4:TP=-1 -ar 44100 -map 0:v -b:a 192k "Normalized.mp3"


    


    ffprobe Original.mp3

    


    Input #0, mp3, from 'Original.mp3':
  Metadata:
    encoded_by      : Switch Free Home Version © NCH Software
    comment         :
    disc            : 1
    track           : 0
    album_artist    : Artist
    genre           : Pop
    artist          : Artist
    title           : Song Title
    album           : Song album
    date            : 2001
  Duration: 00:04:15.91, start: 0.000000, bitrate: 200 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
  Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1279x1280 [SAR 96:96 DAR 1279:1280], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      title           : thumbnail
      comment         : Cover (front)


    


    ffprobe Normalized.mp3

    


    Input #0, mp3, from 'Original.mp3':
  Metadata:
    encoded_by      : Switch Free Home Version © NCH Software
    comment         :
    disc            : 1
    track           : 0
    album_artist    : Artist
    genre           : Pop
    artist          : Artist
    title           : Song Title
    album           : Song album
    date            : 2001
    encoder         : Lavf58.67.100
Duration: 00:04:15.92, start: 0.025056, bitrate: 265 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc58.12
  Stream #0:1: Video: png, rgb24(pc), 1279x1280 [SAR 1:1 DAR 1279:1280], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      title           : thumbnail
      comment         : Cover (front)


    


    How can I keep the album art from the source file ?

    


  • How to create a video from images with timestamps, sizes and positions with ffmpeg

    23 octobre 2022, par Maxou

    I want to convert a subtitle file (.sup) to a video file with transparency. To do that I convert my .sup file into a multitude of png files listed in a xml file.

    


    XML File

    


    &lt;?xml version="1.0" encoding="UTF-8"?>&#xA;<bdn version="0.93">&#xA;  <description>&#xA;    <format videoformat="1080p" framerate="25" dropframe="False"></format>&#xA;    <events type="Graphic" firsteventintc="00:00:00:01" lasteventouttc="00:23:59:05" numberofevents="708"></events>&#xA;  </description>&#xA;  <events>&#xA;    <event intc="00:00:00:01" outtc="00:00:03:09" forced="False">&#xA;      <graphic width="1146" height="65" x="387" y="985">seq_0001.png</graphic>&#xA;    </event>&#xA;    <event intc="00:00:04:19" outtc="00:00:07:14" forced="False">&#xA;      <graphic width="1112" height="65" x="404" y="985">seq_0002.png</graphic>&#xA;    </event>&#xA;    <event intc="00:00:08:06" outtc="00:00:10:23" forced="False">&#xA;      <graphic width="681" height="65" x="619" y="985">seq_0003.png</graphic>&#xA;    </event>&#xA;  </events>&#xA;</bdn>&#xA;

    &#xA;

    I tried to generate a video using this command

    &#xA;

    ffmpeg -t 20 -s 1920x1080 \&#xA;-f rawvideo -pix_fmt yuva420p -i /dev/zero \&#xA;-i seq-1.png \&#xA;-filter_complex "[0:v][1:v] overlay=25:25:enable=&#x27;between(t,0,20)&#x27;" \&#xA;empty.webm&#xA;

    &#xA;

    It works but it takes a long time and I only manage to do it with one image.

    &#xA;

    It is possible to generate a video with all the images (with size, position and timestamp) include in the xml file ?

    &#xA;