Recherche avancée

Médias (91)

Autres articles (36)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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

Sur d’autres sites (4947)

  • Try to execute ffmpeg in python - subtitles error

    3 septembre 2022, par user103162

    I try to exectute :
./ffmpeg.exe -i "video.mkv" -vf subtitles="video.mkv" "video.mp4"
This command works fine

    


    But not in my python code

    


    
from pathlib import Path
import subprocess
import os


ffmpeg = r"D:\Archives\ffmpeg.exe"
os.chdir(r"D:\temp\video")
videos = Path(".")

for file_mkv in videos.glob("*.mkv"):
    file_mp4 = file_mkv.with_suffix(".mp4")
    subprocess.run([ffmpeg, "-i", file_mkv, "-vf", f'subtitles="{file_mkv}"', file_mp4])



    


    Error :
[Parsed_subtitles_0 @ 0000020cb26222c0] Unable to open "video.mkv"
[AVFilterGraph @ 0000020cb715a380] Error initializing filter 'subtitles' with args '"video.mkv"'
Error reinitializing filters !
Failed to inject frame into filter network : Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed !

    


  • avformat/dashdec : Check whitelist

    15 janvier, par Michael Niedermayer
    avformat/dashdec : Check whitelist
    

    Fixes : CVE-2023-6602, V. DASH Playlist SSRF

    Found-by : Harvey Phillips of Amazon Element55 (element55)
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dashdec.c
  • How to set the destination folder of a Node.js fluent-ffmpeg screenshot to your AWS S3 bucket using getSignedUrl() ?

    10 juillet 2017, par Madhavi Mohoni

    I’m writing a program to generate .png thumbnails (with the same name, in the same folder) for a set of .mp4 videos in my Amazon S3 bucket. For this example, I’m going to create a /folder/file.png for a /folder/file.mp4 in the bucket. I’ve managed to set the source URL using the s3 object and getSignedUrl as follows :

    var srcurl = s3.getSignedUrl('getObject', {
           Bucket: 'bucket-name',
           Key: '/folder/file.mp4'
         });

    and

    new ffmpeg({ source: srcurl })
        .screenshots({
           count: 1,
           filename: '%f'.substr(0, '%f'.indexOf('.')) + '.png',
           /* To shorten the long string that's returned */
           folder: desturl,
           size: MAX_WIDTH + 'x' + MAX_HEIGHT
         });

    The destination URL has to be the same folder as the source. So I set it as follows :

    var desturl = s3.getSignedUrl('putObject', {
           Bucket: 'bucket-name',
           Key: '/folder/file' + '.png'
         });

    This combination doesn’t work - is there a way to do this correctly ?