Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (111)

  • 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 ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (17948)

  • Youtube-dl : Download video with maximum FPS and change FPS using OpenCV

    8 mai 2021, par MmBaguette

    I'm trying to download a YouTube video using YouTube-dl and specifying a maximum FPS. I don't want the lowest FPS, but I also don't want an FPS higher than 30. The code below does not work, but it was my best attempt.

    


    ydl_opts = {
    'format': '(bestvideo[fps<30]/bestvideo)+bestaudio/best', # CHANGE FOR VIDEO
    'outtmpl': "youtube_video.%(ext)s",
}
print("Downloading YouTube video.")
                
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
     ydl.download([text])


    


    If not, can I change the FPS of a video using OpenCV ? I tried using cap.set(cv2.CAP_PROP_FPS) but this doesn't work either.

    


    cap = cv2.VideoCapture(file)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # prints 60.0
cap.set(cv2.CAP_PROP_FPS)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # 60.0 again


    


  • Youtube encoder live streaming by using OpenCV and ffmpeg [closed]

    17 mai 2022, par David Logers

    Does anyone know the best way to do YouTube livestream using ffmpeg and python's opencv ?
I would be very grateful if you could let me know.
Thank you.

    


  • Can i insert music in this application ?

    22 juin 2017, par Rem

    i’m having the text code to adjust video like this :

    // no crop:

    ffmpeg -y -i "input.flv" -i "Monitor.png" -filter_complex "[0:v]scale=870:536 [v1]; movie=MonitorBG.avi:loop=999,setpts=N/(FRAME_RATE*TB) [v2]; [v2][v1]overlay=shortest=1:x=422:y=9 [v3]; [v3][1:v]overlay=0:0,setdar=16/9;    [0:a]volume=3" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1000k -minrate 1000k -maxrate 1000k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset fast "output.avi"
    cmd


    //crop:

    ffmpeg -y -i "input.flv" -i "Monitor.png" -filter_complex "[0:v]scale=-1:720,crop=1025:510:135:113,scale=870:536 [v1]; movie=MonitorBG.avi:loop=999,setpts=N/(FRAME_RATE*TB) [v2]; [v2][v1]overlay=shortest=1:x=422:y=9 [v3]; [v3][1:v]overlay=0:0,setdar=16/9;    [0:a]volume=3" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1000k -minrate 1000k -maxrate 1000k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset fast "output.avi"
    cmd


    // the added Code in MyRenderTools v1004:

    ffmpeg -y -i "{input}.*" -i "Monitor.png" -filter_complex "[0:v]scale=870:536 [v1]; movie=MonitorBG.avi:loop=999,setpts=N/(FRAME_RATE*TB) [v2]; [v2][v1]overlay=shortest=1:x=422:y=9 [v3]; [v3][1:v]overlay=0:0,setdar=16/9;    [0:a]volume=3" -vcodec libx264 -pix_fmt yuv420p -r 30 -g 60 -b:v 1000k -minrate 1000k -maxrate 1000k -profile:v main -level 3.1 -acodec libmp3lame -b:a 128k -ar 44100 -preset fast "{output}.avi"
    cmd

    is there anyway can i insert the music through the video that i adjusted ??Can anyone help me.Thank you