Recherche avancée

Médias (91)

Autres articles (3)

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (3034)

  • Is there a way of making ffmpeg start with the largest folders first ? [closed]

    5 décembre 2024, par tuqueque

    I have the following script (snippet), where I search for all the folders and then pass the result to xargs, where I run ffmpeg in parallel for as many threads as my CPU has (32) to convert the image sequences inside each folder :

    


    find . -type d -print0 | xargs -0 -P32 -I{} ffmpeg...


    


    The thing is that there are folders with just 10 images inside and other folders with 150 images... I'd love if ffmpeg started with the largest folders first and then continue in a descending order... not one at a time, but keeping the parallel nature of the script.

    


    Is that even possible without radically altering the one-line script I have ?

    


  • Replace Special Characters In Batch-File Variable Feeding FFMPEG Programme

    6 janvier 2019, par whereswaller

    I am attempting to write a batch-file that leverages the FFMPEG programme to convert all files in a folder structure to mp3 format (specifically 128kbps).

    My batch-file is presently unable to process filenames (constructed by concatenating the %_SOURCE% and %% F variables) containing certain special characters, for example :


     
    "
    ö

    How can I modify my script so that the %% F variable escapes these characters correctly ?

    Example current filename input : "C :\Users\Test\Documents\Input\Peter Bjorn And John - I Know You Don’t Love Me.mp3"

    Example desired filename input : "C :\Users\Test\Documents\Input\Peter Bjorn And John - I Know You Don"^’"t Love Me.mp3"

    Script (see line beginning "C :\ffmpeg\bin\ffmpeg.exe") :

    @echo off
    setlocal EnableExtensions DisableDelayedExpansion

    rem // Define constants here:
    set "_SOURCE=C:\Users\Test\Documents\Input" & rem // (absolute source path)
    set "_TARGET=C:\Users\Test\Documents\Output"  & rem // (absolute target path)
    set "_PATTERN=*.*" & rem // (pure file pattern for input files)
    set "_FILEEXT=.mp3"   & rem // (pure file extension of output files)

    pushd "%_TARGET%" || exit /B 1
    for /F "delims=" %%F in ('
       cd /D "%_SOURCE%" ^&^& ^(rem/ list but do not copy: ^
           ^& xcopy /L /S /Y /I ".\%_PATTERN%" "%_TARGET%" ^
           ^| find ".\" ^& rem/ remove summary line;
       ^)
    ') do (
       2> nul mkdir "%%~dpF.

       rem // Set up the correct `ffmpeg` command line here:
       set "FFREPORT=file=C\:\\Users\\Test\\Documents\\Output\\ffreport-%%~F.log:level=32"
       "C:\ffmpeg\bin\ffmpeg.exe" -report -n -i "%_SOURCE%\%%~F" -vn -c:a libmp3lame -b:a 128k "%%~dpnF%_FILEEXT%"
       if not errorlevel 1  if exist "%%~dpnF%_FILEEXT%" del /f /q "%_SOURCE%\%%~F"

    )
    popd

    endlocal
    pause
  • Web page with script

    28 avril 2017, par Peter

    please be patient with me, I have never been very much into the coding (only at the university just a little) but here is one thing I would love to have. I havent done any research before asking before I dont even know what to search for :) but here is what I would like to do :

    I have synology device with multicast TV stream connected to it. I have installed ffmpeg and everytime I want to record a TV show I have to do it from CLI so I was thinking it would be nice to run this ffmpeg from the web page. I mean I would click the TV channel from the drop down menu, set the name of a file, set the time and click RUN and then the command (ffmpeg -i http://MULTICAST_STREAM-variable -acodec copy -vcodec copy /var/services/homes/xxx/NAME_OF_TV_SHOW.mpg) will execute on my synology...Is something like this possible ? (I hope it is)...What exactly should I search for ?

    Thank you very much