Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (100)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Using ffmpeg ffprobe with Visual C++

    11 juillet 2015, par astracat111

    I have the following command line that gives me the duration of a video file :

    ffprobe.exe -i Video.mp4 show_entries format=duration -v quiet -of csv="p=0"

    When I run this, I get back the duration of my video successfully, running it from a command prompt. Now, I’m kind of a beginner with C++, so I’m not sure how I could get that duration to be put into a float inside of my program. I’ve looked through a lot of articles and question and answer forums online and I’ve found possible answers with...using stdout/stdin to grab the information...? I’m not sure.

    My strategy right now is to use CreateProcess() to run the process, then WaitForSingleObject(), then somehow use some command to grab the output data from the ffprobe process. Perhaps the data I’m looking for can be retrieved through the CreateProcess() function ? I feel like I’m very close, but I’m in serious need of help with this...

    As a side note, since I’m using Visual C++ Express 2010, I do not have access to MFC.

    If anyone could lead me in the right direction to this information it would be greatly appreciated.

  • A third-party library (FFMpeg) is spamming output

    14 janvier 2015, par Maciej Stachowski

    I’m using otherwise brilliant AForge library in my console project to encode video. When I run the project from under Visual Studio (both in Debug and Release modes), it works fine. However, running it as a stand-alone application produces the following :

    errors

    (the prompt being in the third line is an artifact of me using Console.SetCursorPosition extensively).

    As far as I can tell, there’s no way to configure ffmpeg from under AForge to avoid this error, and the resulting video files are fine anyway, so I’d like to simply shut it up.

    It seems, however, that even setting

    Console.SetError(StreamWriter.Null);
    Console.SetOut(StreamWriter.Null);

    does nothing - my app is trying to write something in the first two lines (another oddity), but gets spammed out by ffmpeg output.

    Can I do anything about it ?

  • Run FFMPEG within python [on hold]

    10 juillet 2019, par Awais

    I’m making a program which allows you to download videos with m3u8 links, I can’t do it manually as I don’t possess the skills. So I thought maybe I could use FFMPEG to carry out the task for me.
    How would I be able to run FFMPEG by using a module, such as subprocess, if they are in the same directory as the main.py file ?

    I’ve already looked up how to do it but none of the answers provide an explanation of the code or don’t explain where the output will be received.

    import subprocess

    answer = input "enter m3u8 link"
    output = input "enter the name for the video"

    Commands = ['ffmpeg', '-i', url, '-c', 'copy', answer, output + '.mp4']

    subprocess.call(Commands, shell=True)

    Is this how I should come around it ?

    I’ve also wondered if you could run command prompt as an admin directly from python and carry out functions as if you were on there. This would help carrying out the tasks.

    Any help/suggestion is appreciated