Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (20)

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

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (3431)

  • Android mp4 remove rotation and rotate the video stream

    6 novembre 2018, par Mathijs Segers

    I’m having some issues trying to remove the rotation value of Android video’s.
    For some reason convertion tools in the cloud cannot seem to handle android’s rotation value correctly. f/e I have a portrait video recorded in 1080x1920 (so the file’s headers tell me it’s actually 1920x1080 with rotation : 90).

    So now I’m trying to convert these video’s to an actual 1080x1920 format when they have this rotation value but i’m kind of stuck, probably using the wrong search terms on SO and Google.

    In the hope of making things clear I’ve actually added some ffmpeg libs to android following these steps, of course with some changes to parameters. I’m building this on a Mac and this all works fine now.
    http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/

    Now the following, I have no real clue how these libs work and how to use them or which I actually need or if I even need them at all.

    Is there anyone who can point me in the right direction of solving my issue ? Basicly the video’s are on my android filesystem and I can access them fully, before uploading I want to check the values and remove and rotate the video’s if needed.

  • Create hls stream in Google Cloud Functions (ffmpeg)

    3 novembre 2018, par Markus

    I tried for several hours with no good outcome.

    I want to create an hls stream (from a mp4 video) with the help of google cloud functions.

    This is what i have come up with so far :

     const remoteReadStream = myBucket.file(vidPath).createReadStream();
     const remoteWriteStream = myBucket.file(vidPath.replace('.mp4', '.m3u8')).createWriteStream();


     var proc = ffmpeg()
       .input(remoteReadStream)
     // Base url
     // include all the segments in the list
     .addOption('-hls_time',4)
     .addOption('-c:a aac')
     .addOption('-ar 48000')
     .addOption('-c:v h264')
     .addOption('-profile:v main')
     .addOption('-crf 20')
     .addOption('-sc_threshold 0')
     .addOption('-g 48')
     .addOption('-keyint_min 48')
     .addOption('-hls_playlist_type vod')
     .addOption('-b:v 800k')
     .addOption('-maxrate 856k')
     .addOption('-bufsize 1200k')  
     .addOption('-b:a 96k')
     .addOption('-hls_segment_filename', 'this_is_not_working_%03d.ts')
                 *tried gs://.../videos/$03d.ts' as well as other paths...
     .outputOptions('-f hls')
     .on('progress', function(progress) {

       var processing_str = 'Processing:' + progress.percent + '% done';
       console.log(processing_str);
     })
     .on('end', function() {
       console.log('file has been ffmpeg succesfully');
     })
     .on('error', (err, stdout, stderr) => {
         console.error('An error occured during encoding', err.message);
         console.error('stdout:', stdout);
         console.error('stderr:', stderr);
       })
     .pipe(remoteWriteStream, { end: true });

    This will give me the m3u8 file but the header files (ts files) will not be created, cause of the failure of saving them. The m3u8 file is saved, because it is a stream.

    Opening ’xxx.ts’ for writing Could not write header for output file #0 (incorrect codec parameters ?)

    I want to save them in the same folder, but I cannot access it by the bucket.
    Does anyone know, how to ’create’ multiple files (give the excact path of my bucket) in the ffmpeg configuration ?

    Maybe saving them as a stream would be the answer, but i have no clue how to pass that stream (.createWriteStream() ;) as an argument.

    Thanks in advance

  • batch convert videos with ffmpeg while copying other files in folder hierarchy

    9 novembre 2022, par jan

    I have a large video archive in a hierarchical folder structure that includes audio and other files alongside the videos. I would like to replicate the entire structure onto a different disk while converting the videos with ffmpeg to .mp4 format (original is .mov). I figured out the settings for converting to .mp4 :

    



    for f in /path/to/archive/*/*/*.mov; do ffmpeg -i "$f" –c:v libx264 –preset superfast –crf 18 –pix_fmt yuv420p –coder vlc –refs 1 –qmin 4 –c:a libvo_aacenc –b:a 256k –ar 48000 "${f%.mov}.mp4"; done


    



    But now I have no clue how to
    
(a) place the converted .mp4 file into a parallel folder structure onto a different disk,
    
(b) also copy other files in the structure over.

    



    The structure looks like this :

    



    Archive
    2013-05-01
        2013-05-01_08.51.10
            2013-05-01_08.51.10.mov
            2013-05-01_08.51.10.wav
            2013-05-01_08.51.10.txt
        2013-05-01_09.23.47
            2013-05-01_09.23.47.mov
            2013-05-01_09.23.47.wav
            2013-05-01_09.23.47.txt
            2013-05-01_09.23.47.jpg
            (sometimes there are other files and subdirectories too)
        2013-05-01_09.25.23
            ... 
    2013-05-02
        2013-05-02_08.51.10
            2013-05-02_08.51.10.mov
            2013-05-02_08.51.10.wav
            2013-05-02_08.51.10.txt
    ...


    



    Each folder has one video, one wav, one txt, and possibly some other files or subfolders. I would like to replicate the entire structure while replacing the .mov files with converted .mp4 versions.
    
Help is greatly appreciated !