Recherche avancée

Médias (91)

Autres articles (12)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3504)

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