Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (50)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (8758)

  • Batch merge audio files by specific timestamp without reencoding

    12 août 2019, par Saccarab

    I want to batch merge mp3 audio files where every single file has a specific start time. So below is the fluent-ffmpeg spawn I use right now to merge 3 files with each starting at respectively 200, 7400 and 10600.

    ffmpeg -i firstFile.mp3 -i secondFile.mp3 -i thirdFile.mp3 -filter_complex
    [0]adelay=200[a0];[1]adelay=7400[a1];[2]adelay=10600[a2];[a0][a1]
    [a2]amix=inputs=3:dropout_transition=1000,volume=3 -f mp3 pipe:1

    This works pretty good, except for longer files re-encoding makes the process take real long. So I wanted to do the same thing using concat demuxer. Since I already know how long each audio file is, I’ve put in silent audio files between them to create a delay until next audio file so it actually starts on the time position it is supposed to.

    #concatfile.txt

    file silence.mp3
    outpoint 200
    file firstFile.mp3
    file silence.mp3
    outpoint 1500
    file secondFile.mp3
    file silence.mp3
    outpoint 2000
    file thirdFile.mp3

    ffmpeg -f concat -safe 0 -i concatfile.txt -c copy output.mp3

    This solution also works okay when merging few files but when I merge higher count of files like 30 or 40 result file will have a slowly increasing synchronization problem where audio files actually start later than the start timestamps they are supposed to have.

    Looks like an issue similar to this post

    I’m open for any suggestion on solving the issue.

  • Python get list of streams from video (audio/video)

    2 août 2019, par user972014

    I have a video file and I want to get the list of streams from it. I can see the needed result by for example executing a simple `ffprobe video.mp4 :

    ....
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661) ......
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), ......
    ....

    But I need to use python and code that will work both on Windows and Ubuntu, without executing an external process.

    My real goal is to check whether there is ANY audio stream within the video (a simple yes/no would suffice), but I think getting extra information can be helpful for my problem, so I’m asking about the entire streams

    EDIT : Clarifying that I need to avoid executing some external process, but looking for some python code/library to do it within the process.

  • error in hls play video streaming with ffmpeg real time manipulation

    4 août 2019, par Mohsen Rahnamaei

    I am using fluent ffmpeg to write something on video streaming real-time
    means that I am using this tool to write text on every ts file which server wants to serve in order to response the hls request from client :
    in server iam using this code :

    res.setHeader('Content-Type', CONTENT_TYPE.SEGMENT)
    res.statusCode = 200
    var proc = ffmpeg(req.filePath).videoFilters({
         filter: 'drawtext',
         options: {
           text: 'VERY LONG TEXT VERY VERY VERY VERY LOL!!!',
           fontsize: 36,
           fontcolor: 'white',
           x: '(main_w/2-text_w/2)',
           y: '(text_h/2)+15',
           shadowcolor: 'black',
           shadowx: 2,
           shadowy: 2
         }
       }

     )


     .videoCodec('libx264')

     .audioCodec('aac')


     .format('mpegts')

     .on('end', function (stdout, stderr) {

       console.log('Transcoding succeeded !', req.filePath);

     })

     .on('error', function (err) {
       console.log('an error happened: ' + err.message);
     }).pipe(res, {
       end: true
     })

    but in client just play first ts file and after that, I get this log in the console :

    [log] > AVC:6798 ms overlapping between fragments detected
    blob:http://demo.jwp…a8dc-56b513684988:1
    [log] > Video/PTS/DTS adjusted: 6798/6798,delta:-6798 ms
    blob:http://demo.jwp…a8dc-56b513684988:1

    and a bunch of this log :

    [warn] > Dropping 1 audio frame @ 6.805s due to 6797 ms overlap.

    what should I do ?????