Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (96)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (6910)

  • 'ffmpy' cannot find 'ffmpeg' when running in PyCharm on Mac using conda env

    5 janvier 2020, par user12448123

    When I ran the following piece of code in PyCharm on MacOS Catalina within conda environment :

    import ffmpy

    ff = ffmpy.FFmpeg(
        inputs={'download/v_5c80f6ac3e28a_7BumyNgu/video.m3u8': ['-protocol_whitelist', 'crypto,file,http,https,tcp,tls']},
        outputs={'download/ffmpy_test.mp4': None}
    )
    print(ff.cmd)
    ff.run()

    I got this error :

    Traceback (most recent call last):
     File "/Users/myname/.conda/envs/xiaoetong/lib/python3.7/site-packages/ffmpy.py", line 95, in run
       stderr=stderr
     File "/Users/myname/.conda/envs/xiaoetong/lib/python3.7/subprocess.py", line 800, in __init__
       restore_signals, start_new_session)
     File "/Users/myname/.conda/envs/xiaoetong/lib/python3.7/subprocess.py", line 1551, in _execute_child
       raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg': 'ffmpeg'


    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "/Users/myname/Documents/Projects/xiaoetong/ffmpy_test.py", line 8, in <module>
       ff.run()
     File "/Users/myname/.conda/envs/xiaoetong/lib/python3.7/site-packages/ffmpy.py", line 99, in run
       raise FFExecutableNotFoundError("Executable '{0}' not found".format(self.executable))
    ffmpy.FFExecutableNotFoundError: Executable 'ffmpeg' not found

    Process finished with exit code 1
    </module>

    The traceback info above literally implies that either ffmpeg is not installed or command is not added to path. However, I did install it, and I could call ffmpeg command successfully in terminal. I could even run that python script without error in zsh terminal within exactly the same conda environment (and using exactly the same python interpreter).

    (Some information that might be useful :

    1. The same code could also be run without error within the same conda environment in PyCharm on Windows 10.

    2. python==3.7.5, ffmpeg==4.2, ffmpy==0.2.2 )

    This error is just so weird that I have no clue. Someone please help, I would appreciate.

  • Play the last minute of an mp3 file in Linux [closed]

    29 mai 2021, par Jörg

    I have got a number of audiobooks with play times beyond 30h. I noticed that a handful are corrupted towards the end. I have been trying to find ways to play only the last couple of minutes. ffplay -ss <seconds></seconds> doesn't seem to be able to do it since the files are too big.

    &#xA;

    I'm able to jump ahead to position 50000 but any higher value, such as 98000, and that ffplay gets stuck.

    &#xA;

    ffplay -ss 50000  bigfoo.mp3

    &#xA;

    Does anyone know a fix or an terminal based alternative ? I also had a look into Python but didn't find any relevant packages that can start playing in the middle of an audio file.

    &#xA;

  • Combining audio (.mp4) file and video (.webm) file to a new (.mp4) file using python [closed]

    3 mai 2020, par D. Damyanov

    How can I merge .webm video file and a .mp4 audio file to a new .mp4 audio/video file using python ? I tried to use the ffmpeg package for PyCharm but I am having troubles with finding the right documentation. On the official site https://ffmpeg.org/ I`ve found only instructions for usage in the terminal or cmd.

    &#xA;