Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (3988)

  • ffmpeg not creating video from images

    16 décembre 2014, par Knight Rider

    I have read this Create Video using ffmpeg

    Stack Question for the Same

    Wiki Page for the same

    Still I am not able to get it.
    I have written this shell command in PHP

    echo $make_movie = "$ffmpeg -framerate 1/5 -i $folder_name/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p $folder_name/output.mp4";

    This gives output

    ffmpeg\bin\ffmpeg.exe -framerate 1/5 -i ankit/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p ankit/output.mp4

    if(shell_exec($make_movie)){
       echo "<br />Movie Created..<br />";
    }
    else{
       echo "<br />Movie Creation Error..<br />";
    }

    The Output is Movie Creation Error that means the Shell Command is not executing ?

    Questions :

    1. What is wrong ?
    2. For future use, any debugging methods for this ?

    I ran the same command on cmd and it made the video..!!!

  • 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?

  • 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 '" &amp; fileName &amp; "' | 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 " &amp; quoted form of fileName &amp; " -t " &amp; videoDurationWithoutTitres &amp; " -c copy " &amp; 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 " &amp; quoted form of fileName
       set videoTags to do shell script probeScript --"/usr/local/bin/ffprobe -v quiet -print_format xml -show_format " &amp; 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 '" &amp; attrs &amp; "' | sed 's/[0]*$//g'"
           set attrs to do shell script "echo '" &amp; attrs &amp; "' | 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 '" &amp; this_number &amp; "' | 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 &amp; character i of the second_part
               on error
                   set the converted_number to the converted_number &amp; "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