Recherche avancée

Médias (91)

Autres articles (64)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6877)

  • How to count from zero to 1200.80 in ffmpeg ?

    19 avril 2020, par Josias da Paixao junior

    I am wanting to create a count from a number starting from zero until another number specified in the variable, I intend to choose at which point in the video this number appears and at what point it should disappear.

    &#xA;&#xA;

    It would be like this, I choose when the number zero appears and starts counting up to the number 1200.80, then I choose when the number disappears.

    &#xA;&#xA;

    I have no idea how to start.

    &#xA;&#xA;

    The code I have is this :

    &#xA;&#xA;

    ffmpeg -loop 1 -i bgImage.png -vf "drawtext=fontfile=&#x27;C:\\Windows\\fonts\\Arial.ttf&#x27;:&#xA;              fontcolor=yellow:fontsize=45:x=100:y=65:text=codCountnumberHere out.mp4&#xA;

    &#xA;&#xA;

    if possible I would like to choose the counting speed.

    &#xA;&#xA;

    Every help is welcome.

    &#xA;&#xA;

    HELP-ME !!!

    &#xA;

  • avfilter/af_astats : add noise floor count stat

    17 avril 2020, par Paul B Mahol
    avfilter/af_astats : add noise floor count stat
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/af_astats.c
  • How to count variable in for loop in power shell

    17 avril 2020, par ilham zacky

    I am using powershell and i have got a for loop running each time 3 variables get printed, for now, loop runs 5 times. I need to get the count like $i++

    &#xA;&#xA;

    This is a part of my code

    &#xA;&#xA;

    $file = "D:\edl\input\CPExport.xlsx"&#xA;$sheetName = "Sheet1"&#xA;$objExcel = New-Object -ComObject Excel.Application&#xA;$workbook = $objExcel.Workbooks.Open($file)&#xA;$sheet = $workbook.Worksheets.Item($sheetName)&#xA;$objExcel.Visible = $false&#xA;$rowMax = ($sheet.UsedRange.Rows).count&#xA;$nu = 0&#xA;$rowcount = 000 &#xA;&#xA;for ($i = 0; $i -le $rowMax - 1; $i&#x2B;&#x2B;) {&#xA;    $id = $sheet.Cells.Item($rowName &#x2B; $i, $colName).text&#xA;    $name = $sheet.Cells.Item($rowAge &#x2B; $i, $colAge).text&#xA;    $subtitle = $sheet.Cells.Item($rowCity &#x2B; $i, $colCity).text&#xA;    $jpgId = "$id.jpg"&#xA;    $videoId = "$id.mp4"&#xA;    $audioId = "$id.m4a"&#xA;    $duration1 = if ((ffmpeg -i $audioId 2>&amp;1 | Out-String) -match &#x27;Duration:\s&#x2B;([\d:"."]&#x2B;)&#x27;) { $matches[1] };&#xA;    $duration2 = if ((ffmpeg -i $jpgId 2>&amp;1 | Out-String) -match &#x27;Duration:\s&#x2B;([\d:"."]&#x2B;)&#x27;) { $matches[1] };&#xA;    $duration = if ((ffmpeg -i $videoId 2>&amp;1 | Out-String) -match &#x27;Duration:\s&#x2B;([\d:"."]&#x2B;)&#x27;) { $matches[1] };&#xA;&#xA;    $newduration = ("$duration").Replace(".", ":")&#xA;    $newduration1 = ("$duration1").Replace(".", ":")&#xA;    $newduration2 = ("$duration2").Replace(".", ":")&#xA;&#xA;    $out1 = ""&#xA;    $out2 = ""&#xA;    $out = ""&#xA;    $nu&#x2B;&#x2B;&#xA;    $rowcount&#x2B;&#x2B;&#xA;    if ($newduration1) {&#xA;&#xA;        if ($nu -eq 1) {&#xA;            $audioA = "00:00:00:00"&#xA;        }&#xA;&#xA;        $audioB = Add-Frame -Base $newduration1 -Offset $audioA&#xA;        $out1 = "$rowcount" &#x2B; "  " &#x2B; "AX" &#x2B; "   " &#x2B; "AA" &#x2B; "     " &#x2B; "C" &#x2B; "   " &#x2B; "00:00:00:00" &#x2B; " " &#x2B; $newduration1 &#x2B; "   " &#x2B; $audioA &#xA;    }&#xA;&#xA;    if ($newduration2) {&#xA;&#xA;        $imagecal = Add-Frame -Base $imageA -Offset "00:00:06:00"&#xA;        $imageB = $imagecal&#xA;        $out = "$rowcount" &#x2B; "  " &#x2B; "AX" &#x2B; "   " &#x2B; "V" &#x2B; "      " &#x2B; "C" &#x2B; "   " &#x2B; "02:00:05:15" &#x2B; " " &#x2B; $newduration2 &#x2B; "   " &#x2B; " " &#x2B; $imageA &#xA;    }&#xA;&#xA;&#xA;    if ($newduration) {&#xA;&#xA;        $videoA = $imageB&#xA;        $videocal = Add-Frame -Base $newduration -Offset $videoA&#xA;        $videoB = $videocal&#xA;        $out2 = "$rowcount" &#x2B; "  " &#x2B; "AX" &#x2B; "   " &#x2B; "AA/V" &#x2B; "   " &#x2B; "C" &#x2B; "   " &#x2B; "00:00:00:00" &#x2B; " " &#x2B; $hh &#x2B; "   " &#x2B; " " &#x2B; $videoA &#xA;    }&#xA;    else {&#xA;        $videoB = ""&#xA;    }&#xA;    $gg = $out1 &#x2B; "`n" &#x2B; "`n" &#x2B; $out &#x2B; "`n" &#x2B; "`n" &#x2B; $out2 &#x2B; "`n"&#xA;    echo $gg&#xA;&#xA;    $gg | Out-File -FilePath d:\edl\input\output.txt -Append&#xA;}&#xA;#close excel file&#xA;$objExcel.quit()&#xA;

    &#xA;&#xA;

    i have echo $gg&#xA;this is the output

    &#xA;&#xA;

    1 AX   AA     C   00:00:00:00 00:00:03:48   &#xA;1  AX   V      C   02:00:05:15 02:00:11:15&#xA;1  AX   AA/V   C   00:00:00:00 00:00:06:93 &#xA;2  AX   AA     C   00:00:00:00 00:00:03:46   &#xA;2  AX   V      C   02:00:05:15 02:00:11:15    &#xA;2  AX   AA     C   00:00:00:00 00:00:03:46  &#xA;3  AX   AA     C   00:00:00:00 00:00:03:52   &#xA;3  AX   V      C   02:00:05:15 02:00:11:15   &#xA;3  AX   AA/V   C   00:00:00:00 00:00:06:93    &#xA;4  AX   AA     C   00:00:00:00 00:00:03:21   &#xA;4  AX   V      C   02:00:05:15 02:00:11:15    &#xA;4  AX   AA     C   00:00:00:00 00:00:03:21   &#xA;5  AX   AA     C   00:00:00:00 00:00:03:05   &#xA;5  AX   V      C   02:00:05:15 02:00:11:15    &#xA;5  AX   AA/V   C   00:00:00:00 00:00:06:93    &#xA;

    &#xA;&#xA;

    Output prints only 1-5 &#xA;I need it to be printed 1 - 15

    &#xA;&#xA;

    any suggestions ?

    &#xA;&#xA;

    thank you for reading

    &#xA;