Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (112)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (22837)

  • 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()


    


  • 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 make RedirectStandardOutput sends output while the process is running (realtime)

    19 février 2017, par Wayne

    I have this simple GUI for ffmpeg video convertion I made using VS2015 (visual basic)

    So far everything works except for the status text box where I want the current status to show while the conversion process is at work.

    Here is the code where I tried to capture the status

    'LET'S GET READY TO CONVERT
    ConvertProcessInfo.FileName = theApp
    ConvertProcessInfo.Arguments = theOptions

    'LET'S TRY TO CAPTURE STATUS
    ConvertProcessInfo.RedirectStandardError = True
    ConvertProcessInfo.RedirectStandardOutput = True
    ConvertProcessInfo.UseShellExecute = False
    ConvertProcessInfo.CreateNoWindow = True

    procFFMPEG.StartInfo = ConvertProcessInfo

    'LET'S CONVERT
    procFFMPEG.Start()

    Dim theStat As StreamReader = procFFMPEG.StandardError
    Dim theStatOut As String = theStat.ReadToEnd()
    txtProcessInfo.Text = theStatOut

    'LET'S WAIT FOR PROCESS TO EXIT
    procFFMPEG.WaitForExit()

    The problem, my status textbox only gets the status after the conversion is done, not during conversion. Only last/final status is returned.