Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (6)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • converting complex ffmpeg command to python3

    14 janvier 2020, par Martin

    I have a complicated ffmpeg command that takes audio and image as input, and exports a music video.

    ffmpeg -loop 1 -framerate 2 -i "front.png" -i "testWAVfile.wav" \
       -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1,format=yuv420p" \
       -c:v libx264 -preset medium -tune stillimage \
       -crf 18 -c:a aac -shortest -vf scale=1920:1080  "outputVideo.mp4"

    I’m trying to write a python3 program cmdMusicVideo.py which will run this command in pure Python. I know that to run this command you need the ffmpeg program, I’m trying to write it in pure python3, where I’m not just spawning a separate process to run the bash command where the user needs to have ffmpeg installed.

    I’ve looked at the various solutions to running ffmpeg in python3, and they’re either :

    • A : Just running the ffmpeg command as a subprocess, where the user needs to have ffmpeg installed
    • or B : An ffmpeg pip program like ffmpeg-python

    The pip libraries I’ve checkout out all use incredibly different formatting, and I haven’t found a way to replicate my ffmpeg command. I’ve searched the loop command in their python package documentation and it doesn’t appear anywhere.

    Is there a way to convert my ffmpeg command into a python3 program where the user doesn’t need to already have ffmpeg installed on their computer ?

    The plan is to eventually turn this into its own pip package, and my concern is that if I use the A method, there would be a case where somebody tries to run my pip command but doesn’t have ffmpeg installed on their terminal (maybe using a python3 specific terminal ?)

  • How to link the ffmpeg transcoding process information into a vb6 GUI app ?

    19 décembre 2019, par melaos

    i’m playing with a vb6 gui frontend for ffmpeg and as of now all i can do is to call the ffmpeg via cmd.exe which will shows the command prompt while the whole process is still running. And i thought this was the norm seeing how WinFF, another pascal based frontend gui for ffmpeg works.

    But i was blown away when i saw this other GVC gui which has a progress bar and everything.

    So basically, i’m looking into a way how i could cleanly hide the whole command prompt and link the transcoding progress to a progress bar into my gui.

    So here’s my plan, I’m thinking of finding a win32 api function which i can call the cmd line and yet hide it, and from another discussion here, i think i would have to read the log file to get the ffmpeg progress information.

    So which function should i call for the win32 api ?
    And does anyone knows of a better/easier way to get this done ?
    thanks

    Updates :

    In case anybody is interested, i find a nice class module on how to grab the cmd output into my vb6 app, and it’s by none other than the great joacim :)

  • Serving live video streams with Spring Boot ?

    29 octobre 2019, par ank

    Not sure if my question is correct/clear but basically I need help getting started building http video stream from different ffmpeg output with Spring Boot. I’m trying to build an NVR application. I plan to use ffmpeg to read ip camera streams (over LAN), produce an output and allow users to view these streams (live) through the web application (possible over the internet) or through http built using Spring Boot. I would also want to give users the ability to add more ip camera streams (within the web application) and have the application automatically run ffmpeg to read and write the output then make the live stream available for viewing within the application or through http.

    For the ffmpeg commands, I plan to use the ffmpeg-cli-wrapper library. For the live streaming from the application itself or through http, are there any libraries that I can use for this ?