Recherche avancée

Médias (91)

Autres articles (11)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (515)

  • Accord.VIdeo.FFMPEG the type or namspace name 'FFMPEG' does not exist

    26 mars 2022, par Tobias Schober

    I am trying to make a simple C# console app (later in WinForms) in Visual Studio which converts images into a video.
I tried it with AForge.Video.FFMpeg but it always said 'Could not load file or assembly...wrong format' even though i had just .jpg.
My problem now is that i cant work with this libaray because i cant use it. I installed it over NuGet and have already tried .NET Core 3.1 and .NET 5.0 and diffrent versions of Accord.Video.FFMPEG.
I also tried changing to x64 and x86.
What am i doing wrong or am missing ? Or is there any other solution ?

    


  • Windows FFMPEG concat from list and log each file inputted into to ffmpeg [closed]

    4 janvier 2021, par hammer head down

    Ok i have a working batch filr, where I grab from a text file a list of videos to concat as such

    


    ffconcat version 1.0
file 'dan_Ep_01HardWater.ts'
file 'dan_Ep_02GoldieTheGoldfish.ts'
file 'list2.txt


    


    I then feed that to ffmpeg and display on ffplay at the same time using this code :

    


    bin\ffmpeg -hide_banner -loglevel quiet -report -stats -re -f concat -safe 0 -stream_loop -1 -i %list% -flags +global_header -auto_convert 1 -c:v libx264 -bsf:v h264_mp4toannexb -c:a aac -b:a 128k -ac 2 -ar 44100 -bsf:a aac_adtstoasc -preset veryfast -b:v 1984k -maxrate 1984k -bufsize 3968k -tune zerolatency -vf "pp=hb/vb/dr/fq|8,crop=in_w-20:in_h-40,scale=960:540:flags=lanczos,setsar=1,format=yuv420p,eq=gamma=0.95" -g 50 -fflags +genpts -map 0:v -map 0:a -f tee "[select=v,a:movflags=+faststart]%stream%|[f=flv]%video%|[f=nut]pipe:" | bin\ffplay -hide_banner -loglevel 0 pipe:  -window_title "Stream Monitor 1.0 - (powered by FFPlay)  --   NOTE: closing me stops your streaming!" -x 640 -y 480  -sync audio -autoexit -exitonmousedown -autorotate


    


    I know some variables are not showing from batch file but I think you get the point if not i can add a link to maybe pastebin with full batch file

    


    So this works great but i want o be able to log which file that ffmpeg has just worked on or is working on to a log file.

    


    because i am piping to ffplay which i do NOT want to change took me too long to get it working lol plus its valuable

    


    the reason for doing this is when i am creating my next list.txt to feed to FFmpeg i do not want to do the same file twice.

    


    im guessing cause i am using windows it will be some extra work in pure Batch but the first step is to get the file info to a text file

    


    I cant use > out.txt 2> err.txt is it possible to create another pipe ?

    


    I thought of using ffprobe and pipeing to ffmpeg but couldn't find any info on how to do that either, abt

    


    I'm just lost and I can NOT find any info on the web, I hope I asked correctly here. if not please explain what I did wrong b4 downvoting or other wise. thanks

    


  • Python, FFMPEG : Redirecting output of FFMPEG subprocess call to a string

    31 décembre 2019, par user1452030

    I’ve managed to run an FFMPEG command using the subprocess module as shown below :

    output = subprocess.check_output(command, shell=True)

    This works fine, but it prints the verbose FFMPEG output to console. The program I’m writing is supposed to run for hundreds/thousands of files in a batch and I don’t want detailed outputs for every file processed, unless the user chooses to do so. Can I redirect the console outputs and errors to strings, so that I can decide when I should and shouldn’t print them ?

    This might be lame, but I tried the following snippet :

    outputBuffer = BytesIO()
    output = subprocess.check_output(command, shell=True, stdout=outputBuffer)

    But it gave me the following error :

    ValueError: stdout argument not allowed, it will be overridden.

    I saw other examples where the POpen interface was used, but given that I’m not communicating with the external command as it is running, and that I need to run this for a large number of items, I’d prefer something simpler, if possible.

    Thanks in advance !

    Note : I’ve found lots of questions in this broad topic, but I couldn’t find anything perfectly relevant to my situation.