Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (105)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (11294)

  • ffmpeg fails with : Unable to find a suitable output format for 'pipe :'

    28 octobre 2022, par user3542055

    I am trying to record my desktop and save it as videos but ffmpeg fails.

    



    Here is the terminal output :

    



    $ ffmpeg -f alsa -i pulse -r 30 -s 1366x768 -f x11grab -i :0.0 -vcodec libx264 - preset ultrafast -crf 0 -y screencast.mp4
...
Unable to find a suitable output format for 'pipe:'


    


  • 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;

  • '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.