Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (93)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5591)

  • Standardizing many mp4 files into same resolution

    22 novembre 2018, par Cowfod

    I have a huge collection of Instagram videos in different resolutions and with different audio codecs.

    Some videos are 640x640, others are 640x800. You get the picture.

    When I try to concat the videos, the video and audio go out of sync in the final output and the in some places the audio is slowed down(?).

    This is my ffmpeg concat command :

    ffmpeg -i "$(cat /home/list.txt)" -c:v copy -c:a copy /home/output.mp4

    list.txt contains over 800 clips and is formatted correctly :

    file 'clip1.mp4'
    file 'clip2.mp4'
    file 'clip3.mp4'
    etc...

    I believe the issue is due to all the different resolutions and different codecs used, so how can I standardize my collection of clips in order to concat them into a working video file ?

  • How to convert a video to greyscale with a particular tint in ffmpeg with colorchannelmixer ?

    19 août 2023, par Mich_Lloid

    In the manual of ffmpeg https://ffmpeg.org/ffmpeg-filters.html#colorchannelmixer
with colorchannelmixer there are examples for greyscale
    
ffmpeg -i input.mp4 -vf colorchannelmixer=.3:.4:.3:0:.3:.4:.3:0:.3:.4:.3 -pix_fmt yuv420p output.mp4
    
and sepia
    ffmpeg -i input.mp4 -vf colorchannelmixer=.393:.769:.189:0:.349:.686:.168:0:.272:.534:.131 -pix_fmt yuv420p output.mp4
    
How do I convert a video to greyscale with another particular tint for example purplish color violet rgb(238,130,238), blueish color indigo rgb(75,0,130) or yellowish khaki rgb(240,230,140) ?
    
There's a detailed explanation about how colorchannelmixer works at
https://superuser.com/questions/1330300/need-a-detail-explanation-for-ffmpeg-colorchannelmixer.
    This is specifically about a colorchannelmixer formula on how to input the 9 important parameters rr:rg:rb gr:gg:gb br:bg:bb to get the desired colors/tints using math, not the colorize filter solution at ffmpeg : how to put only color overlay video or apply different type of color filter like instagram in video using ffmpeg.

    


  • Error : ffmpeg exited with code 1 on AWS Lambda

    16 juin 2022, par Hassnain Alvi

    I am using fluent-ffmpeg nodejs package to run ffmpeg for audio conversion on AWS Lambda. I am using this FFmpeg layer for lambda.
Here is my code

    


      const bitrate64 = ffmpeg("file.mp3").audioBitrate('64k');
    bitrate64.outputOptions([
        '-preset slow',
    '-g 48',
    "-map", "0:0",
        '-hls_time 6',
        '-master_pl_name master.m3u8',
        '-hls_segment_filename 64k/fileSequence%d.ts'
    ])
    .output('./64k/prog_index.m3u8')
    .on('progress', function(progress) {
        console.log('Processing 64k bitrate: ' + progress.percent + '% done')
    })  
    .on('end', function(err, stdout, stderr) {
        console.log('Finished processing 64k bitrate!')
    })
    .run() 


    


    after running it via AWS lambda I get following error message

    


    ERROR   Uncaught Exception  &#xA;{&#xA;    "errorType": "Error",&#xA;    "errorMessage": "ffmpeg exited with code 1: Conversion failed!\n",&#xA;    "stack": [&#xA;        "Error: ffmpeg exited with code 1: Conversion failed!",&#xA;        "",&#xA;        "    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/processor.js:182:22)",&#xA;        "    at ChildProcess.emit (events.js:198:13)",&#xA;        "    at ChildProcess.EventEmitter.emit (domain.js:448:20)",&#xA;        "    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)"&#xA;    ]&#xA;}&#xA;</anonymous>

    &#xA;

    I don't get any more info so I am not sure what's going on. Can anyone tell me what's wrong here and how can I enable more detailed logs ?

    &#xA;