Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (9432)

  • jpeg "frames" to MP4 conversion, quick fix [duplicate]

    15 avril 2020, par ראלף מהנובר

    How do I convert a series of jpeg images ("Test 03_0000.jpeg" to "Test 03_3000.jpeg") into an MP4 (30fps) ?

    



    I have tried Lightworks and Animotica. It did not work.

    



    I have downloaded ffmpeg now, but tutorial tl/dr.

    



    Help !

    


  • Combining zoompan slideshow with watermark overlay in FFMPEG

    2 avril 2020, par ricky_bobby43

    I've created a slideshow from a series of images with this

    



    ffmpeg -i img%d.jpg -vf zoompan=d=(7+1)/1:s=6144x3072:fps=1,framerate=25:interp_start=0:interp_end=255:scene=100 -c:v mpeg4 -q:v 2 out.mp4


    



    I have a semi-transparent watermark (inx.png) that I am applying for the first 3 seconds, but currenly using a separate command in FFMPEG :

    



    ffmpeg -i 6144out.mp4 -loop 1 -i inx.png -filter_complex "[1:v]format=argb,geq=r='r(X,Y)':a='0.5*alpha(X,Y)'[foo]; [foo]fade=out:st=3:d=1:alpha=1[bar], [0:v][bar]overlay" -vcodec libx264 output2.mp4


    



    Is there a way to combine the two ?

    


  • FFMpeg compress with wrong frame rate while sending raw pixel data from java application

    11 janvier 2014, par Marco

    I am trying to create a compressed h264 video file from a series of raw rgb24 pixel data.
    Pixel data is streamed from java application to ffmpeg.exe which is its subprocess.

    For testing purposes I've created a byte array with rgb24 pixel data and then sent it to ffmpeg's input stream.

    Everything works fine except one issue.

    It looks like the frame rate of the encoded file is wrong.
    FFMpeg should compress the video file with 30fps rate (-r 30).

    I am sending 30*20 frames. So I supposed to get a video file with length of 20 seconds.
    But instead of that the video file's length is 24 seconds.
    When I check the compressed file properties, it shows 30fps as expected.

    It looks like the ratio between expected and actual frame rate is 5 to 6 (20 —> 24,30 —> 36).
    I have also tried to stream rgb32 pixel data but I had the same results.

    code :

       ByteArrayOutputStream byteArray = new ByteArrayOutputStream();
       //building the frame
       for (int i=0; i<1024*800; i++)
       {
           byteArray.write(i&0xFF);    //r
           byteArray.write(i&0xFF);    //g
           byteArray.write(i&0xFF);    //b
       }

       byte pixelData[] = byteArray.toByteArray();

       File ffmpeg_output_msg = new File("ffmpeg_output_msg.txt");

       ProcessBuilder pb = new ProcessBuilder("ffmpeg.exe","-vcodec","rawvideo","-f","rawvideo","-pix_fmt","rgb24","-s","1024x800","-i","pipe:0","-r","30","-y","-c:v","libx264","out.mkv");

       pb.redirectErrorStream(true);
       pb.redirectOutput(ffmpeg_output_msg);

       Process p = pb.start();
       OutputStream ffmpegInput = p.getOutputStream();

       //30fps, 20secs
       for(int i=0;i<30*20;i++)
       {
           ffmpegInput.write(pixelData);
       }
       ffmpegInput.flush();
       ffmpegInput.close();

    Any ideas what could be the origin of that problem ?
    Thanks in advance

    UPDATE
    I have changed the frame rate to other values and it looks like the ffmpeg completely ignores that parameter. It always uses 25fps.
    using "-r 30" effects only on the data that's written in file's properties
    (Video : MPEG4 Video (H264) 1024x800 30fps [Video])

    Is it possible that there are two different framerates in the encoded file ?