Recherche avancée

Médias (91)

Autres articles (83)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (5154)

  • Building ffmpeg for Windows with MSYS and MinGW

    27 février 2014, par Tech Jerk

    I am trying to build ffmpeg for windows (Xp - SP2) as given here.

    ./configure -–extra-cflags=”-mno-cygwin -mms-bitfields” -–extra-ldflags=”-Wl, -add-stdcall-alias” -–enable-memalign-hack -–enable-shared -–disable-static -–target-os=mingw32

    The above command is placed in a myconfig file as instructed and when i run ./myconfig, the following error is displayed :

    Broken Shell detected. Trying alternatives.
    Trying Shell bash
    Unknown option "-–extra-cflags=-mno-cygwin".

    As suggested in the link i tried various options but still i was not able to succeed.

    My environment is Win XP with :

    • MinGW-5.1.6,
    • bash-2.05b-MSYS,
    • MSYS-1.0.10,
    • ffmpeg-0.5

    EDIT :

    After certain changes in the above command by referring howto i was able to successfully run the make command and i found the following DLL's in their respective directory

    • ffmpeg\libavcodec\avcodec-51.dll
    • ffmpeg\libavformat\avformat-51.dll
    • ffmpeg\libavutil\avutil-49.dll

    But i didn't see any ffmpeg\ffmpeg.exe file :(

    What could have gone wrong ?

  • How do I cut the last 10 seconds from mpeg using ffmpeg (and applescript etc) [closed]

    10 décembre 2015, par EvGeniy Ilyin

    I have many different mpeg files. In every mpeg file are credits at the end of the video. I need to cut it. How I can do it for bath(list) ?
    for example :

    ffmpeg -i my.mp4 -vcodec copy -acodec copy -ss 00:10:10 my_cute.mp4

    but every mpeg file has different duration...
    Is there a way to specify the indent from the end ?

    my answer
    using applescript organizing logic
    main parameters : the length of the titles and file folder

    1. to draw up a list of specified path mp4 files
    2. cycles through each file
      1. using ffprobe obtain data in xml with a total length video
      2. parse xml, we obtain the duration of the
      3. using ffmpeg, knowing the total duration of the video and the length of the credits at the end - set the new duration

    -- settings
    set titresDuration to 54.0
    set folderPath to "/Users/-/Downloads/-.XviD.SATRip.Thunder"

    set filesList to my filesInFolder(folderPath, true, ".mp4")
    repeat with fileName in filesList
       set videoDuration to my videoDurationOfFile(fileName)
       set fileCutName to do shell script "echo '" & fileName & "' | sed 's/\\.mp4/c\\.mp4/g'"
       if videoDuration > titresDuration then
           set videoDurationWithoutTitres to videoDuration - titresDuration
           set videoDurationWithoutTitres to my numberToString(videoDurationWithoutTitres)
           set ffmpegScript to "/usr/local/bin/ffmpeg -y -i " & quoted form of fileName & " -t " & videoDurationWithoutTitres & " -c copy " & quoted form of fileCutName
           set info to do shell script ffmpegScript
       end if
    end repeat
    log "the end"



    -- helpers methods
    on videoDurationOfFile(fileName)
       set probeScript to "/usr/local/bin/ffprobe -v quiet -print_format xml -show_format " & quoted form of fileName
       set videoTags to do shell script probeScript --"/usr/local/bin/ffprobe -v quiet -print_format xml -show_format " & fileName
       set videoDuration to 0.0
       tell application "System Events"
           set xmlData to make new XML data with properties {name:"xmldata", text:videoTags}
           set xmlFFprobe to XML element "ffprobe" of xmlData
           set xmlFormat to XML element "format" of xmlFFprobe
           set attrs to value of XML attribute "duration" of xmlFormat
           set attrs to do shell script "echo '" & attrs & "' | sed 's/[0]*$//g'"
           set attrs to do shell script "echo '" & attrs & "' | sed 's/\\./,/g'"
           set videoDuration to attrs as real
       end tell
       return videoDuration
    end videoDurationOfFile

    on numberToString(this_number)
       set this_number to this_number as string
       set this_number to do shell script "echo '" & this_number & "' | sed 's/,/\\./g'"
       if this_number contains "E+" then
           set x to the offset of "." in this_number
           set y to the offset of "+" in this_number
           set z to the offset of "E" in this_number
           set the decimal_adjust to characters (y - (length of this_number)) thru ¬
               -1 of this_number as string as number
           if x is not 0 then
               set the first_part to characters 1 thru (x - 1) of this_number as string
           else
               set the first_part to ""
           end if
           set the second_part to characters (x + 1) thru (z - 1) of this_number as string
           set the converted_number to the first_part
           repeat with i from 1 to the decimal_adjust
               try
                   set the converted_number to ¬
                       the converted_number & character i of the second_part
               on error
                   set the converted_number to the converted_number & "0"
               end try
           end repeat
           return the converted_number
       else
           return this_number
       end if
    end numberToString

    on filesInFolder(folderPath, lookInSubfolders, filter)
       set filesList to {}
       tell application "System Events" to set filesList to POSIX path of (files of folder folderPath whose name contains filter)
       if lookInSubfolders then
           tell application "System Events" to set subfoldersList to POSIX path of (folders of folder folderPath)
           repeat with subfolderPath in subfoldersList
               set subfilesList to my filesInFolder(subfolderPath, true, filter)
               repeat with subfile in subfilesList
                   set end of filesList to subfile
               end repeat
           end repeat
       end if
       return filesList
    end filesInFolder
  • how to use ffmpeg batch convert mp4 to m3u8 ? [on hold]

    29 mars 2017, par user6006103

    a script Can be use shell or perl or python by ffmpeg batch cut mp4 to m3u8 ts file?