Recherche avancée

Médias (91)

Autres articles (16)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5520)

  • How can i convert and compress in real time batch of images to mp4 video file ?

    29 juin 2015, par Brubaker Haim

    In my directory on the hard disk i have many images : screenshot000001.bmp , screenshot000002.bmp....screenshot001200.bmp

    I want to do two things :

    1. For testing using the cmd(Command Prompt) and to compress and convert the images to mp4 video file.

    2. In my program in real time while my program take the screenshots and save them to the hard disk to compress them and build the mp4 video file in real time.

    For the first part i tried to type in cmd :

    ffmpeg -f image2 -i screenshot%d.bmp -vcodec libx264 -b 800k video.avi

    But what i got is two errors :

    [image2 @ 0000000004766380] Could find no file with path ’screenshot%d.bmp’ and
    index in the range 0-4
    screenshot%d.bmp : No such file or directory

    I copied the ffmpeg.exe to the directory where the images are in.
    E :\screenshots

    For the second part this how i’m taking the screenshots in real time :

    A button click event that start a timer :

    private void button1_Click(object sender, EventArgs e)
           {
               timer1.Start();
           }

    Then in the tick event :

       ScreenShot shot = new ScreenShot();
       public static int counter = 0;
       private void timer1_Tick(object sender, EventArgs e)
       {
           counter++;
           shot.GetScreenShot(@"e:\screenshots\", "screenshot");
           if (counter == 1200)
           {
               timer1.Stop();
           }
       }

    This line shot.GetScreenShot(@"e :\screenshots\", "screenshot") ; save the screenshots to the hard disk.
    Here after each screenshot save i want to compress and build the mp4 video file in real time.

    I tried this and got errors :

    ffmpeg -f image2 -i screenshot%06d.bmp -vcodec libx264 -b 800k video.avi

    Error message :

    ffmpeg version N-73165-gf1e1730 Copyright (
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-vers
    isynth --enable-bzlib --enable-fontconfig -
    le-iconv --enable-libass --enable-libbluray
    enable-libdcadec --enable-libfreetype --ena
    ibilbc --enable-libmodplug --enable-libmp3l
    le-libopencore-amrwb --enable-libopenjpeg -
    able-libschroedinger --enable-libsoxr --ena
    ble-libtwolame --enable-libvidstab --enable
    --enable-libvorbis --enable-libvpx --enabl
    e-libx264 --enable-libx265 --enable-libxavs
    ble-decklink --enable-zlib
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 45.100 / 56. 45.100
     libavformat    56. 38.102 / 56. 38.102
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 18.100 /  5. 18.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    [bmp @ 0000000002f77ce0] bad magic number
       Last message repeated 3 times
    [image2 @ 0000000002f76380] decoding for st
    [image2 @ 0000000002f76380] Could not find
    bmp, none): unspecified size
    Consider increasing the value for the 'anal
    screenshot%06d.bmp: could not find codec pa
    Input #0, image2, from 'screenshot%06d.bmp'
     Duration: 00:00:02.88, start: 0.000000, b
       Stream #0:0: Video: bmp, none, 25 fps,
    Please use -b:a or -b:v, -b is ambiguous
    Codec AVOption b (set bitrate (in bits/s))
    vi) has not been used for any stream. The m
    e (e.g. a video option with no video stream
    some encoder which was not actually used fo
    Output #0, avi, to 'video.avi':
    Output file #0 does not contain any stream
  • uwp app throw error when install from package but works fine in any mode when run directly launching from visual studio

    30 septembre 2020, par Abhishek Sharma

    I have created an app wrapping FFmpeg in uwp now for the requirement
I have all the major dll of FFmpeg and then set to content and copy always in property
now when I launch the app installed from the visual studio in any mode weather release, debug, x86,x64 it works fine but as I created a package and then install the app and run it, it throws an error where it says that dll not found not directly but says file not found which is because of dll because I face that problem in debug mode before and it's because of dll not available to uwp
you can look at the project here : https://github.com/AbhiSharma9350/Winfftool

    


  • FFmpeg raw audio and H264 in RTSP

    21 août 2017, par Max Ridman

    Trying to grab correctly video and audio data from an IP camera Hikvision.

    Everything works like a charm when doing so for H264 + MP2 for example.

    When trying to grab RAW audio in PCM s16le - smile goes off of my face.

    Here is how I grab my camera :

    ffmpeg -re -acodec pcm_s16le -ac 1 -rtsp_transport tcp -i rtsp ://ipcameraaddress:554 -vcodec copy -acodec libfdk_aac -vbr 5 test.ts

    The command works and packs RTSP stream to a TS file.

    However the duration of audio and video is different. For an example, I am recording 21 sec, from that I have 21 sec of Audio and 15 of Video.

    The audio is being stretched and pitch is lowered. Have spent several days reading FFmpeg documentation and applied various options like async, changing sample rate and so on - no luck.

    I hope Mulvya or other FFmpeg experts will advice me a FIX to get things done correctly.