Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (47)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (4944)

  • ffmpeg issue on MacOS python environment

    6 octobre 2022, par olddon

    I am trying to generate some animation with matplotlib under MacOS conda enviroment, after I install all the related ffmpeg package

    


    conda install -c conda-forge ffmpeg
# enter conda environment with command: conda activate py38
pip install ffmpeg
pip install ffmpeg-python


    


    I still get error below :

    


    Traceback (most recent call last):&#xA;  File "./test2.py", line 23, in <module>&#xA;    with writer.saving(fig, "writer_test.mp4", 100):&#xA;  File "/Users/******/miniconda3/envs/py38/lib/python3.8/contextlib.py", line 113, in __enter__&#xA;    return next(self.gen)&#xA;  File "/Users/******/miniconda3/envs/py38/lib/python3.8/site-packages/matplotlib/animation.py", line 229, in saving&#xA;    self.setup(fig, outfile, dpi, *args, **kwargs)&#xA;  File "/Users/******/miniconda3/envs/py38/lib/python3.8/site-packages/matplotlib/animation.py", line 318, in setup&#xA;    self._run()&#xA;  File "/Users/******/miniconda3/envs/py38/lib/python3.8/site-packages/matplotlib/animation.py", line 328, in _run&#xA;    self._proc = subprocess.Popen(&#xA;  File "/Users/******/miniconda3/envs/py38/lib/python3.8/subprocess.py", line 858, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "/Users/******/miniconda3/envs/py38/lib/python3.8/subprocess.py", line 1704, in _execute_child&#xA;    raise child_exception_type(errno_num, err_msg, err_filename)&#xA;FileNotFoundError: [Errno 2] No such file or directory: &#x27;ffmpeg&#x27;&#xA;</module>

    &#xA;

    Could someone tell me what's the problem and how to fix this ?

    &#xA;

    Update :&#xA;I tried several methods to install ffmpeg :

    &#xA;

      &#xA;
    • pip install ffmpeg && pip install ffmpeg-python
    • &#xA;

    • conda config —add channels conda-forge && conda install ffmpeg
    • &#xA;

    • manully install apporach mentioned by @kesh
    • &#xA;

    &#xA;

    All installation succeed with no error, but when run the python script below, still get the same No such file or directory : 'ffmpeg' error

    &#xA;

    import numpy as np&#xA;import matplotlib&#xA;matplotlib.use("Agg")&#xA;import matplotlib.pyplot as plt&#xA;from matplotlib.animation import FFMpegWriter&#xA;&#xA;# Fixing random state for reproducibility&#xA;np.random.seed(19680801)&#xA;&#xA;&#xA;metadata = dict(title=&#x27;Movie Test&#x27;, artist=&#x27;Matplotlib&#x27;,&#xA;                comment=&#x27;Movie support!&#x27;)&#xA;writer = FFMpegWriter(fps=15, metadata=metadata)&#xA;&#xA;fig = plt.figure()&#xA;l, = plt.plot([], [], &#x27;k-o&#x27;)&#xA;&#xA;plt.xlim(-5, 5)&#xA;plt.ylim(-5, 5)&#xA;&#xA;x0, y0 = 0, 0&#xA;&#xA;with writer.saving(fig, "writer_test.mp4", 100):&#xA;    for i in range(100):&#xA;        x0 &#x2B;= 0.1 * np.random.randn()&#xA;        y0 &#x2B;= 0.1 * np.random.randn()&#xA;        l.set_data(x0, y0)&#xA;        writer.grab_frame()&#xA;

    &#xA;

  • C# : How to get video dimensions using FFMPEG

    22 février 2012, par GethuJohn

    My goal is to pass a Video file to FFMPEG and to get its dimension as output.How can I achieve this. Can anyone help me out with sample code ?

    Thanks.

  • How to get video dimensions using FFMPEG

    26 octobre 2012, par GethuJohn

    My goal is to pass a Video file to FFMPEG and to get its dimension as output.How can I achieve this. Can anyone help me out with sample code ?