Recherche avancée

Médias (91)

Autres articles (32)

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

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4693)

  • Converting mp4 AAC to AVC using Python

    12 janvier 2020, par zion.b.

    i am using ffmpeg to convert video format. I have a video in mp4 aac and want to convert it to mp4 avc. I successfully(!!!) used ffmpeg to covert image to avi/mkv/even copy of the mp4 but nothing gives me what i desire.

    The idea is to have a video file format that will run on mostly all mobile devices such as mp4 avc.

    My python code :

    import subprocess #need to install ffmpegin terminal/cmd

    def convert_video(video_input, video_output):
       cmds = ['ffmpeg', '-i', video_input, video_output]
       subprocess.Popen(cmds)


    convert_video("videoName.mp4", "videoNameCopy.mp4")
  • FFMPEG command works in shell, but not in node.js

    10 février 2017, par moeiscool

    When my ffmpeg command is built by my node.js application it does not run. it says

    Output file #0 does not contain any stream

    but if i copy and paste that line into terminal it works fine. Any ideas ?

    ffmpeg -loglevel warning -i rtsp://50.73.56.89/axis-media/media.3gp -stimeout 2000 -r 5 -movflags frag_keyframe+empty_moov -s 640x480 -use_wallclock_as_timestamps 1 -q:v 1 -f segment -segment_time 3600000 -segment_format webm -c:v libvpx -strftime 1 '/home/nodejs/cloudcam/videos/2Df5hBE/bunny/%Y-%m-%dT%H-%M-%S.webm'

    note the single quotes wrapping the filename. I tried using double quotes but it did the same thing. I need the quotes for the particular app i am building. Some names are not space friendly.

  • mp3 audio merging with -itsoffset using ffmpeg : no effect

    30 mai 2019, par Itzhak

    I use ffmpeg to merge mp3’s in my node server. It works but the offset doesn’t have any effect..
    I can’t see what is wrong then i’d like to get your help :)

    var command = "ffmpeg -i "+ input1+ " -itsoffset 40 -i " + input2 +" -filter_complex amerge -c:a libmp3lame -q:a 4 "+ output;

           exec(command, function (error, stdout, stderr) {
               if (stdout) console.log(stdout);
               if (stderr) console.log(stderr);

               if (error) {
                   console.log('exec error: ' + error);
                   response.statusCode = 404;
                   response.end();

               } else {
                   // Do something
               }

           });

    I tried it also on my computer just in the terminal and it also works with the same problem..

    Thanks,
    Itzhak