Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (108)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8527)

  • What does -inf LUFS mean in the output of ffmpeg ?

    17 novembre 2020, par Bailey Brightman

    I've looked through the documentation but havent been able to figure out exactly what this means. Could it be an issue with the command I'm running ?

    


    Heres the command :
-i ${filePath} -af loudnorm=I=-16:dual_mono=true:TP=-1.5:LRA=11:print_format=summary -f null - 2>&1
And heres part of the output I'm getting :

    


    Output Integrated:    -inf LUFS
Output True Peak:    -17.2 dBTP
Output LRA:            0.0 LU
Output Threshold:    -70.0 LUFS


    


    I'm trying to use this information to ensure that audio is lower than a set LUFS Value

    


  • How to convert multiple video files in a specific path outputvideo with the same video name

    31 janvier, par Oussama Gamer

    The following code to converts a one video from mp4 to avi using ffmpeg

    


    ffmpeg.exe  -i "kingman.mp4"  -c copy "kingman.avi"

    


    I need to convert multiple videos in a specific path. "outputvideo" with the same video name

    


    This is the my code that needs to be modified.

    


    from pathlib import Path
import subprocess
from glob import glob

all_files = glob('./video/*.mp4')

for filename in all_files:
     videofile = Path(filename)
     outputfile = Path(r"./outputvideo/")
     codec = "copy"
     ffmpeg_path = (r"ffmpeg.exe")

outputfile = outputfile / f"{videofile.stem}"

outputfile.mkdir(parents=True, exist_ok=True)

command = [
    f"{ffmpeg_path}",
    "-i", f"{videofile}",
    "-c", f"{codec}",
    "{outputfile}",]

process = subprocess.Popen(
    command,
    stdout=subprocess.PIPE,
    stderr=subprocess.PIPE,
    text=True,
    bufsize=1,
    universal_newlines=True)
process.communicate()


    


  • FFMPEG ldash 1 low latency option but dash.js not low latency and buggy with lag and start always at 0 cannot control

    7 avril 2021, par Jintor

    I can't figure out how to fix this. playing a supposed low latency mpeg-dash manifest but it's with lots of lag, and play-stop-wait-play-stop-wait....

    


    I have latest ubuntu with latest ffmpeg

    


    here the command

    


    ffmpeg -re -i file.webm -c:v libx264 -preset ultrafast -tune zerolatency -c:a aac -ac 2 -strict -2 -crf 18 -profile:v baseline -maxrate 1000k -pix_fmt yuv420p -bufsize 969k -ldash 1 -streaming 1 -use_template 0 -use_timeline 1 -seg_duration 1 -remove_at_exit 0 -f dash index.mpd


    


    and player side

    


    <code class="echappe-js">&lt;script src='http://stackoverflow.com/templates/account_js/dashjs/dash.3.1.0.min.js'&gt;&lt;/script&gt;&#xA;    

    &#xA; &lt;script&gt;&amp;#xA;    (function(){&amp;#xA;        var url = &quot;index.mpd&quot;;&amp;#xA;        var player = dashjs.MediaPlayer().create();&amp;#xA;        player.initialize(document.querySelector(&quot;#videoPlayer&quot;), url, true);&amp;#xA;        player.updateSettings({&amp;#xA;            streaming: {&amp;#xA;                 lowLatencyEnabled: true, &amp;#xA;                 liveDelay: 3,&amp;#xA;                 liveCatchup: {&amp;#xA;                    enabled: true,&amp;#xA;                    minDrift: 0.05,&amp;#xA;                    maxDrift: 0,&amp;#xA;                    playbackRate: 0.5,&amp;#xA;                    latencyThreshold: 30    &amp;#xA;                  }&amp;#xA;            }&amp;#xA;        });&amp;#xA;    })();     &amp;#xA;    video = document.getElementById(&quot;videoPlayer&quot;);&amp;#xA;    video.addEventListener(&quot;loadedmetadata&quot;, function(){ video.muted = true; video.play(); }, false);&amp;#xA;    &lt;/script&gt;&#xA;

    &#xA;

    but it's NOT low latency, It forces to start at 0 and cannot control the video

    &#xA;

    is there a better config setup and what need to be fixed : ffmpeg options or dash.js config

    &#xA;