Recherche avancée

Médias (91)

Autres articles (42)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7584)

  • build : Explicitly set 32-bit/64-bit object formats for nasm/yasm

    1er mars 2017, par Diego Biurrun
    build : Explicitly set 32-bit/64-bit object formats for nasm/yasm
    

    Consistently use object format names with "32" suffix and set object format
    to "win64" on Windows x86_64, which fixes assembling with nasm.

    (Cherry-picked from libav commit 808ef43597b1e3d6e69a5b9abe2237c8ddb97b44)

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

    • [DH] configure
  • Revision 41eb20d1e9 : Add encoder control for setting color space This commit adds encoder side contr

    13 janvier 2015, par Yaowu Xu

    Changed Paths :
     Modify /vp9/common/vp9_enums.h


     Modify /vp9/common/vp9_onyxc_int.h


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_encoder.c


     Modify /vp9/encoder/vp9_encoder.h


     Modify /vp9/vp9_cx_iface.c


     Modify /vpx/vp8cx.h


     Modify /vpxenc.c



    Add encoder control for setting color space

    This commit adds encoder side control for vp9 to set color space info
    in the output compressed bitstream.

    It also amends the "vp9_encoder_params_get_to_decoder" test to verify
    the correct color space information is passed from the encoder end to
    decoder end.

    Change-Id : Ibf5fba2edcb2a8dc37557f6fae5c7816efa52650
    (cherry picked from commit e94b415c3479129944a69fafbeacf550fb9237b7)

  • 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