Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (112)

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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (8532)

  • subprocess.Popen crashes when run in background

    17 mars 2016, par user2810298

    In a program I’m working with right now, I try to check for the version of FFMPEG that is installed on the users machine. This works perfectly fine by using subprocess.Popen when run in the foreground OR when run in a detached screen.

    However, when you run it in the background without screen (e.g. COMMAND &> /dev/null &) this process crashes the program. (see below) I’ve seen some people having similar issues on the web, but I still can’t seem to fix this...

    I’ve Any ideas ?

    version_ffmpeg = subprocess.Popen(["ffmpeg","-version"],stdout=subprocess.PIPE,stderr=None)

    f_out = version_ffmpeg.communicate()
    (then...)
    if f_out --> 3rd word contains --> etc.
  • ffmpeg I want to combine the three command in one command

    12 janvier 2019, par Abdulwahed AbuAbed

    hello I’m new here I want to marge many command in one, like add subtitle file , image (watermark) and write word in top right in video .
    without effecting video Quality and size , and if it possible make it fast like a single command .

    ffmpeg -i input.mkv -vf subtitles=subtitle.srt -sn out.mkv  
    ffmpeg -i input.mkv -vf "movie=image.png [watermark]; [in][watermark] overlay=10:10 [out]" out.mkv  
    ffmpeg -i input.mkv -vf drawtext=text='Hallo':x=10:y=H-th-10:fontfile=/path/to/font.ttf:fontsize=12:fontcolor=white:shadowcolor=black:shadowx=5:shadowy=5" out.mkv
  • Should libavcodec handle non-packed/non-byte-aligned mp3 packets ?

    27 août 2015, par Rhythmic Fistman

    I’m transcoding shoutcast streams using libavcodec and I noticed that during the day I get a few 10s’ of packets that it cannot decode without some help :

    1. Leading zero bytes before a packet sync word, e.g. 0x0000fffa

    2. non-byte aligned syncword, e.g 0x82a0fffa

    In the first case I have to toss out the zero bytes and in the second I have to shift the data up by an odd number of nibbles.

    I don’t have a watertight knowledge of the mp3 spec (is there one ?), but my impression was that the packet format was a bit oriented, not byte, so both types of packets look right to me.

    So who is in the wrong here ?

    Is it libavcodec for not parsing valid packets ?

    Or the stream encoder for producing non-standard packets ?