Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (39)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (6262)

  • How do I ffmpeg to iterate through 10,000+ datetime stamped files

    18 décembre 2018, par Rich

    I have a large number of jpgs captured from a cctv camera which I mistakenly used a dashed date time stamp in my curl command. The file names are

    Underwater-Cam-2017-10-20_17-58-22.jpg

    If I do a wildcard I get

    bash: /Applications/ffmpeg: Argument list too long

    I understand from other posts that I don’t want avoid the pattern being expanded using a glob, but I’m not sure how to iterate through these files with multiple sequential numbers. I tried this consecutive integer counting sequence which is in retrospect obviously not going to work, but I lack enough knowledge to resolve this through searching.

    /Applications/ffmpeg -y -i '/path/to/src/2017-10-20/Underwater-Cam-2017-10-20_%02d-%02d-%02d.jpg' -r 24 -vf "scale=hd720" -metadata:s:v rotate=0 -vcodec libx265 -preset veryfast -crf 24 -an -movflags +faststart /path/to/dest/uwcam-2017-10-20.mp4

    I’m doing this on a mac using bash 4.

  • 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
  • Replace Special Characters In Batch-File Variable Feeding ffmpeg program

    14 janvier 2019, par whereswaller

    I am attempting to write a batch-file that leverages ffmpeg.exe to convert all files in a folder structure to mp3 format (specifically 128 KBps).

    My batch-file is presently unable to process filenames (constructed by concatenating the %_SOURCE% and %%~F variables) containing certain special characters generating the following errors :

    No such file or directory

    • ellipsis sign
    • en dash
    • em dash
    • minus sign

    Invalid argument

    • and  curved single quotation marks
    • and  curved double quotation marks

    Invalid argument (yet sometimes passes depending on where symbol is in the filename, for example, seems to work if placed between the n and t of Dont in C:\Users\Test\Documents\Input\Peter Bjorn And John - I Know You Dont Love Me.mp3)

    • - hyphen
    • ! exclamation mark
    • ~ tilde
    • ' non-curved single quotation mark
    • = equals sign
    • + plus sign
    • % percentage sign
    • ( open bracket

    How can I modify my batch-file 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