Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (79)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (3940)

  • aacenc : Fix target bitrate for twoloop quantiser search

    4 mai 2013, par Claudio Freire
    aacenc : Fix target bitrate for twoloop quantiser search
    

    This fixes a case where multichannel bitrate isn’t accurately
    targetted by psy model alone, never achieving the target bitrate.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/aaccoder.c
  • Create 1 RTSP stream from 3 RTSP streams on Raspberry Pi 3

    29 mai 2020, par user3260912

    So this is interesting question and was wondering if anyone may have any insights to how I could do this. I currently have 6 IP cameras and run a Java process that opens ffmpeg to rip the RTSP streams from those 6 IP cameras, save a image to RAM, and then use ImageMagick to convert those files to a collage JPG image so I have all IP cameras in one image. That file then updates as rapidly as possible using space in /dev/shm - in reality, about 6 FPS. But, it uses 45-50% CPU on 6 cores.

    &#xA;&#xA;

    I'm looking for a way to reduce some CPU load off my main computer, though. I have 2 Raspberry Pi model 3Bs and am thinking I could maybe put them to good use. Not sure how the performance would be, but willing to test this.

    &#xA;&#xA;

    What I'm wanting to do is this :

    &#xA;&#xA;

      &#xA;
    1. Use ffmpeg to pull down images from 3 of the IP camera RTSP streams on each Raspberry Pi into /dev/shm
    2. &#xA;

    3. Using ImageMagick, montage the temp images pulled, into /dev/shm
    4. &#xA;

    5. Create a RTSP stream on each Raspberry Pi of that montaged image in /dev/shm
    6. &#xA;

    7. Use my desktop to pull down the RTSP of the collaged images and collage those to the same format I do today (only using 2 RTSP stream threads, instead of 6 to do this.)
    8. &#xA;

    &#xA;&#xA;

    Is there a way to set ImageMagick to set image output format as mjpeg2 or have ffmpeg create a rtsp stream off the rapidly updating JPEG image file ?

    &#xA;

  • Keep trying a command until it returns "True" and then execute another

    6 janvier 2023, par Tyrone Hirt

    I'm trying to make a script to check the processor usage for a specific process every 10 seconds, and when the usage is less than 2% I want another 2 commands to be executed.

    &#xA;

    The purpose is to know when the program has finished processing the requests, in order to release the execution of the other commands.

    &#xA;

    I created this script to check the processor usage by this application :

    &#xA;

    SET ProcessorUsage = wmic path Win32_PerfFormattedData_PerfProc_Process get Name,PercentProcessorTime | findstr /i /c:RenderQuery&#xA;&#xA;%ProcessorUsage%&#xA;

    &#xA;

    And these are the commands I want to be executed when the processor usage of the RenderQuery application is less than 2% :

    &#xA;

    for /f "delims=" %%X in (&#x27;dir /s/b/ad Proxy&#x27;) do for /f "delims=" %%Y in (&#x27;dir /s/b/a-d "%%X"&#x27;) do move "%%Y" ".\03. Proxy"&#xA;&#xA;for /f "delims=" %%i in (&#x27;dir /s/b/ad Proxy&#x27;) do rd "%%i"&#xA;

    &#xA;

    I tried to create a script that way here :

    &#xA;

    SET ProcessorUsage = wmic path Win32_PerfFormattedData_PerfProc_Process get Name,PercentProcessorTime | findstr /i /c:RenderQuery&#xA;:Loop&#xA;IF %ProcessorUsage% LSS 2 (&#xA;(for /f "delims=" %%X in (&#x27;dir /s/b/ad Proxy&#x27;) do for /f "delims=" %%Y in (&#x27;dir /s/b/a-d "%%X"&#x27;) do move "%%Y" ".\03. Proxy") &amp;&amp; (for /f "delims=" %%i in (&#x27;dir /s/b/ad Proxy&#x27;) do rd "%%i")&#xA;) ELSE (&#xA;sleep 10 &amp;&amp; goto Loop&#xA;)&#xA;

    &#xA;

    I also tried this way here :

    &#xA;

    SET ProcessorUsage = wmic path Win32_PerfFormattedData_PerfProc_Process get Name,PercentProcessorTime | findstr /i /c:RenderQuery&#xA;&#xA;:Loop&#xA;for %ProcessorUsage% LSS 2 do (&#xA;(for /f "delims=" %%X in (&#x27;dir /s/b/ad Proxy&#x27;) do for /f "delims=" %%Y in (&#x27;dir /s/b/a-d "%%X"&#x27;) do move "%%Y" ".\03. Proxy") &amp;&amp; (for /f "delims=" %%i in (&#x27;dir /s/b/ad Proxy&#x27;) do rd "%%i") || (sleep 10 &amp;&amp; goto Loop)&#xA;)&#xA;

    &#xA;

    With these scripts I tried to create the window that only blinks and closes right away...

    &#xA;

    What's the best way to do this ?

    &#xA;

    EDIT

    &#xA;

    Explaining in more detail : I work with video production, so I constantly need to render Proxy files, which are video files with low quality to be used during my video editing and replaced at the end of editing, this makes the much smoother video editing.

    &#xA;

    Having said that, I have a folder model, inside this folder model there is a folder where I always download the video files from the camera and in that folder there is always a .bat file that opens all the video files in the software that generates proxy files of the camera's video files.

    &#xA;

    This .bat file has this exact code :

    &#xA;

    start "" "C:\Users\User\Downloads\FFmpeg_Batch_AV_Converter_Portable_2.8.4_x64\FFBatch.exe" -f "%~dp0\"&#xA;

    &#xA;

    When this software opens, it automatically renders the proxy files and their output is always in a child folder of the original files folder, and the name of the folder is Proxy.

    &#xA;

    The issue is that I don't want them to be in several separate Proxy folders, so I created another .bat file that is in the parent folder of all video files, this script contains exactly these lines :

    &#xA;

    for /f "delims=" %%X in (&#x27;dir /s/b/ad Proxy&#x27;) do for /f "delims=" %%Y in (&#x27;dir /s/b/a-d "%%X"&#x27;) do move "%%Y" ".\03. Proxy"&#xA;&#xA;for /f "delims=" %%i in (&#x27;dir /s/b/ad Proxy&#x27;) do rd "%%i"&#xA;

    &#xA;

    That is, it only searches recursively for files that are inside folders named Proxy, then it moves these files to the folder 03. Proxy that is inside the parent folder.

    &#xA;

    The second line looks for all proxy folders (which are now empty) and deletes them.

    &#xA;

    The point is : I currently run the second script manually, as soon as the render finishes, and I would like it to run automatically.

    &#xA;

    Given this, I thought of adding a line in the first script, which opens the video files in the rendering program, this line would call the second script in the background, and the second script would be analyzing the CPU usage of this application every 10 seconds, and when the usage is less than 2% (in theory there is nothing else rendering, since it has a low CPU usage) it executes the lines that move the files and remove the folders.

    &#xA;

    I think there's a good change for this to work, because this software renders 4 videos at a time, and this means that there is no time between stopping rendering a video and starting another... the CPU usage is always very high until all the videos are finished, so I think this would be the best signal to release the other commands.

    &#xA;