Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (62)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (7978)

  • FFMPEG - [WinError 2] The system cannot find the file specified

    7 avril 2021, par Jules Dany

    I'm having an issue using the FFmpeg package.

    


    Here's my code :

    


    import ffmpeg_streaming

from ffmpeg_streaming import Formats, Bitrate, Representation, Size

_360p  = Representation(Size(640, 360), Bitrate(276 * 1024, 128 * 1024))
_480p  = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
_720p  = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024))

hls = video.hls(Formats.h264())
hls.representations(_360p, _480p, _720p)
hls.output('C:/Users/juled/Videos/testStreaming')


    


    Quite simple as you can see, found it on the web.

    


    And here's the error message I have :

    


    Traceback (most recent call last):&#xA;  File "C:\Users\juled\OneDrive\Bureau\PACT\streamingMultimedia\streaming.py", line 50, in <module>&#xA;    hls.output(&#x27;C:/Users/juled/Videos/testStreaming&#x27;)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 93, in output&#xA;    self.run(ffmpeg_bin, monitor, **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 121, in run&#xA;    asyncio.run(self.async_run(ffmpeg_bin, monitor, **options))&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\asyncio\runners.py", line 43, in run&#xA;    return loop.run_until_complete(main)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\asyncio\base_events.py", line 583, in run_until_complete&#xA;    return future.result()&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 112, in async_run&#xA;    self._run(ffmpeg_bin, monitor, **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 105, in _run&#xA;    with Process(self, command_builder(ffmpeg_bin, self), monitor, **options) as process:&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_process.py", line 58, in __init__&#xA;    self.process = _p_open(commands, **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_process.py", line 29, in _p_open&#xA;    return subprocess.Popen(shlex.split(commands), **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\subprocess.py", line 800, in __init__&#xA;    restore_signals, start_new_session)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\subprocess.py", line 1207, in _execute_child&#xA;    startupinfo)&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;

    I've been checking every file quoted in the error message, but only one of them is "my" code, the others are FFmpeg and Python libraries codes.

    &#xA;

    I'm using IDLEX for Python 3.7.6 on Windows by the way.

    &#xA;

    I've tried to change some of the FFmpeg library code, especially where subprocess.Popen appears, by putting a shell=True in the parameters. New Error Message, different this time.

    &#xA;

    I've added FFmpeg to the PATH, no change.

    &#xA;

    I've reinstalled FFmpeg to be sure, but no change. I'm using this version : python-ffmpeg-video-streaming-0.1.14.

    &#xA;

    Do any of you have a solution I could try ?

    &#xA;

    Oh and a friend has the same issue on MAC.

    &#xA;

  • doc : remove file name from @file directive in Doxygen usage example

    14 juillet 2011, par Diego Biurrun

    doc : remove file name from @file directive in Doxygen usage example

  • Finding file extension for media file using ffprobe

    12 septembre 2013, par luddet

    I'm writing a media handling tool, using ffmpeg and ffprobe.

    Part of the workflow consists of the application retreiving media files with nondescript extensionless file names.
    Now I could get the extension from the media source but that would not fit as neatly into the program code flow, so I'm using ffprobe to extract the format information.

    The problem i have encountered is the format "QuickTime / MOV" where ffprobe gives me

    format_name="mov,mp4,m4a,3gp,3g2,mj2"

    Is there a way to know which of the extensions is most appropriate ?

    I guess the simplest solution is to pick the first,mov, since that should work for all of them. But I would prefer to be more specific.

    Any way to accomplish this ?