Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (61)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (9257)

  • Merge commit '37f573543c4fd7f44339e04d8d15b95118493ddd'

    28 octobre 2017, par James Almer
    Merge commit '37f573543c4fd7f44339e04d8d15b95118493ddd'
    

    * commit '37f573543c4fd7f44339e04d8d15b95118493ddd' :
    swscale : Convert the check check_image_pointers helper to a macro

    [14:52:50] <jamrial> michaelni, ubitux : 37f573543c yay or nay ? we don't have the warnings mentioned there because we cast the argument
    [14:54:10] <@ubitux> i don't really see the improvement, no opinion
    [15:04:14] <michaelni> jamrial, functions are better/cleaner than macros
    [15:04:20] <michaelni> IMHO that is

    This commit is a noop.

    Merged-by : James Almer <jamrial@gmail.com>

  • 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
  • Casting a mp2t stream to Chromecast

    31 juillet 2017, par Tiago Ferreira

    I’m developing a project where I receive data from an external mp2t stream in a node.js app and I’m trying to cast it to a chromecast device using the castv2-client package setting the contentType attribute to "video/mp2t" but it’s not working.

    If I convert the stream to an mp4 file using ffmpeg I can cast the video, but it stutters a lot given the fact that on each chunk of video received, it has to convert it.

    Is there any way I can cast the mp2t video directly as I receive it ?