Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (22)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (3445)

  • Missing piece between libjpeg-turbo & h264 ffmpeg C/C++

    15 octobre 2022, par Nelstaar

    On the left side I have a buffer with decoded pixels that I can get in two formats :

    


    RGB interleaved/packed where bytes in buffer are R0G0B0R1G1B1....

    


    or

    


    YUV444 interleaved/packed where bytes in buffer are Y0U0V0Y1U1V1...

    


    (JCS_RGB or JCS_YCbCr in jpeglib.h)

    


    (Please note that I use libjpeg-turbo because I need to decompress a cropped region of the image. (jpeg_crop_scanline()))

    


    On the right side I have x264 codec via ffmpeg that support only planar pixel formats :

    


    yuv420p, yuvj420p, yuv422p, yuvj422p, yuv444p, yuvj444p, nv12, nv16, nv21, yuv420p10le, yuv422p10le, yuv444p10le, nv20le

    


    yuv444p where bytes in buffer are Y0Y1Y2...U0U1...V0V1...

    


    according to ffmpeg -h encoder=libx264

    


    I have some ideas already :

    


      

    • Decompress Jpeg to RBG888 in buffer 1 then libswscale to yuv420p in buffer 2 and encoding. (copy)
    • 


    • Decompress Jpeg to YUV444 interleaved in buffer 1 then SSSE3 magic in buffer 1 to yuv444p and encoding. (no copy)
    • 


    • or else.
    • 


    


    What would be the most effective fastest way ?

    


    I which to avoid buffer copy.

    


    Movie have the same width & height than Jpegs.

    


  • Upload ffmpeg file output to AWS s3 using NodeJS

    29 janvier 2020, par Durrani

    The ffmpeg.output("path/file.mp4") need a string path as an argument to write the output file to it. But s3 bucket.upload(parms, ...) need a Binary File as a value to the Body: in parms JSON

    Problem : Unable to provide file data using the file path to s3 bucket in NodeJS Environment

    FFmpeg()
     .input("source.mp4") //video
     .setStartTime(startTime)
     .setDuration(duration)
     .output(output)    //output file path: string
     .on("end", function() {
       console.log("Processing finished successfully");
       var params = {
         Bucket: process.env.S3_BUCKET,
         Key: "videos/filename.mp4",
         Body: output    //binary file data to be provided not file path
       };
       const bucket = new S3({
         accessKeyId: process.env.S3_ACCESS_KEY_ID,
         secretAccessKey: process.env.S3_SECRET_ACCESS_KEY,
         region: process.env.S3_REGION
       });
       bucket.upload(params, function(err, data) {
         console.log(err, data);
       });
     })
     .run();
  • ffmpeg hardcode subtitles, no subtitles but no output error

    8 février 2024, par Rafael Castelo

    I'm trying to hardcode subtitles for a project I'm working on : https://scriptme.io an mp4 files using an external SRT subtitles file.
Despite getting a succesful result as output :

    


    video:3923kB audio:975kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.344595%
[libx264 @ 0x63b08c0] frame I:9     Avg QP:15.65  size: 31298
[libx264 @ 0x63b08c0] frame P:609   Avg QP:20.37  size:  4283
[libx264 @ 0x63b08c0] frame B:1242  Avg QP:23.74  size:   907
[libx264 @ 0x63b08c0] consecutive B-frames:  3.3% 15.4% 23.1% 58.3%
[libx264 @ 0x63b08c0] mb I  I16..4: 21.5% 54.0% 24.5%
[libx264 @ 0x63b08c0] mb P  I16..4:  1.2%  2.7%  0.3%  P16..4: 18.7%  4.2%  1.6%  0.0%  0.0%    skip:71.4%
[libx264 @ 0x63b08c0] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 13.9%  0.6%  0.0%  direct: 0.1%  skip:85.2%  L0:41.5% L1:56.8% BI: 1.7%
[libx264 @ 0x63b08c0] 8x8 transform intra:62.4% inter:86.2%
[libx264 @ 0x63b08c0] coded y,uvDC,uvAC intra: 36.7% 53.0% 15.0% inter: 2.2% 3.1% 0.1%
[libx264 @ 0x63b08c0] i16 v,h,dc,p: 42% 20% 13% 25%
[libx264 @ 0x63b08c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 15% 28%  3%  4%  6%  4%  5%  3%
[libx264 @ 0x63b08c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 23% 14%  4%  6%  7%  5%  4%  2%
[libx264 @ 0x63b08c0] i8c dc,h,v,p: 51% 17% 26%  6%
[libx264 @ 0x63b08c0] Weighted P-Frames: Y:0.2% UV:0.2%
[libx264 @ 0x63b08c0] ref P L0: 69.1%  9.6% 15.1%  6.1%
[libx264 @ 0x63b08c0] ref B L0: 87.2% 10.7%  2.1%
[libx264 @ 0x63b08c0] ref B L1: 97.9%  2.1%
[libx264 @ 0x63b08c0] kb/s:517.69
[aac @ 0x63b3600] Qavg: 257.742


    


    However once I play the video with any player, the subtitles aren't there.

    


    This is the command I'm using for the task

    


    ffmpeg -i https://some-bucket.s3.region.amazonaws.com/my-video.mp4 -f mp4 -vf subtitles=sub.srt subtitled-video.mp4