Recherche avancée

Médias (91)

Autres articles (90)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

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

Sur d’autres sites (4956)

  • sending FFMPEG the start_number of image sequence in a batch script

    31 janvier 2023, par getho

    I'm creating a batch script to daily convert screen captures to video
Its all working except I cant get the screen caps to start at 0001 each day,so my current script fails.

    


    Is there a way within FFMPEG to just read all the files in a folder (e.g. if I have one folder with 500 files starting with 01234.jpg and another folder with files starting at 87654.jpg) ?

    


    If not, can I use the batch script to find the start and finish points and send that to ffmpeg ?

    


    my script

    


    @echo off
setlocal enabledelayedexpansion

rem Check if a new folder has been added to the watched folder
for /f "tokens=*" %%a in ('dir "Y:\fastone_timelapse" /B /AD') do (
   set "new_folder=%%a"

   rem Check if jpeg files are present in the new folder
   if exist "Y:\ft\!new_folder!\*.jpg" (
         
ffmpeg.exe -f image2 -framerate 25 -pattern_type sequence -start_number 00001 -i "Y:\ft\!new_folder!\%%05d.jpg" -c:v libx265 -b:v 5000k -g 100 "Y:\ft\!new_folder!.mp4"


   )
)
endlocal


    


  • dcaenc : cleanup on init failure and add a threadsafe init codec cap

    13 janvier 2018, par Rostislav Pehlivanov
    dcaenc : cleanup on init failure and add a threadsafe init codec cap
    

    The encoder didn't clean up if a malloc failed during init.
    It also doesn't need any external tables to be initialized on init.
    Finally, it didn't need to check for whether avctx->priv_data exists during
    uninit.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/dcaenc.c
  • How to use ffmpeg to record audio from a video for first 10 seconds in Python

    13 novembre 2022, par S Andrew

    I have RTSP stream coming from a camera which also has audio. My goal is to save the audio. To do this, I have below code :

    &#xA;

    import ffmpeg&#xA;ffmpeg.input("rtsp://john:<pwd>@192.168.10.111:5545/Streaming/Channels/291/").output("test.wav", map="0:a:0").run&#xA;</pwd>

    &#xA;

    When I terminate the Python script, it saves the test.wav file which has just the audio from the rtsp stream. Now I am trying to save the first 10 sec from the stream into 1 file and then the next 10sec in another file and then it keeps on going until terminated.

    &#xA;

    To do this, I have thought of putting the ffmpeg stream in a separate thread and to schedule that thread to run every 10 sec. This way a new stream will create which will save the audio for 10sec and will exit, and then this keeps on going. But to achieve this, I need to know how can we just save the initial 10 sec from the stream.

    &#xA;