Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (77)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7525)

  • how spotify and other music players implement cross fading between music

    11 janvier 2023, par Arihant Jain

    I was working on a media streaming project and thought of implementing a cross fade between the next and current playing song.

    


    HLS is used for streaming music and .m3u8 file is presigned by cloudfront.

    


    Any help will be appreciated.

    


  • FileNotFoundError : [Errno 2] No such file or directory : 'ffmpeg'

    9 février 2021, par stackoverflow

    I'm new in python and i'm using pydub modules to play mp3 track.

    



    Here is my simple code to play mp3 :

    



    #Let's play some mp3 files using python!

from pydub import AudioSegment
from pydub.playback import play

song = AudioSegment.from_mp3("/media/rajendra/0C86E11786E10256/05_I_Like_It_Rough.mp3")
play(song)


    



    When i run this program, it says :

    



    */usr/bin/python3.4 /home/rajendra/PycharmProjects/pythonProject5/myProgram.py&#xA;/usr/local/lib/python3.4/dist-packages/pydub/utils.py:161: RuntimeWarning: Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work&#xA;  warn("Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)&#xA;/usr/local/lib/python3.4/dist-packages/pydub/utils.py:174: RuntimeWarning: Couldn&#x27;t find ffplay or avplay - defaulting to ffplay, but may not work&#xA;  warn("Couldn&#x27;t find ffplay or avplay - defaulting to ffplay, but may not work", RuntimeWarning)&#xA;Traceback (most recent call last):&#xA;  File "/home/rajendra/PycharmProjects/pythonProject5/myProgram.py", line 11, in <module>&#xA;    song = AudioSegment.from_mp3("/media/rajendra/0C86E11786E10256/05_I_Like_It_Rough.mp3")&#xA;  File "/usr/local/lib/python3.4/dist-packages/pydub/audio_segment.py", line 355, in from_mp3&#xA;    return cls.from_file(file, &#x27;mp3&#x27;)&#xA;  File "/usr/local/lib/python3.4/dist-packages/pydub/audio_segment.py", line 339, in from_file&#xA;    retcode = subprocess.call(convertion_command, stderr=open(os.devnull))&#xA;  File "/usr/lib/python3.4/subprocess.py", line 533, in call&#xA;    with Popen(*popenargs, **kwargs) as p:&#xA;  File "/usr/lib/python3.4/subprocess.py", line 848, in __init__&#xA;    restore_signals, start_new_session)&#xA;  File "/usr/lib/python3.4/subprocess.py", line 1446, in _execute_child&#xA;    raise child_exception_type(errno_num, err_msg)&#xA;FileNotFoundError: [Errno 2] No such file or directory: &#x27;ffmpeg&#x27;&#xA;&#xA;Process finished with exit code 1*&#xA;</module>

    &#xA;&#xA;

    Please help me ! I've checked everything path but it's not working. I'm currently using Ubuntu.

    &#xA;&#xA;

    Help would be appreciated !

    &#xA;

  • FileNotFoundError : [Errno 2] No such file or directory : 'ffmpeg'

    5 avril 2015, par stackoverflow

    I’m new in python and i’m using pydub modules to play mp3 track.

    Here is my simple code to play mp3 :

    #Let's play some mp3 files using python!

    from pydub import AudioSegment
    from pydub.playback import play

    song = AudioSegment.from_mp3("/media/rajendra/0C86E11786E10256/05_I_Like_It_Rough.mp3")
    play(song)

    When i run this program, it says :

    */usr/bin/python3.4 /home/rajendra/PycharmProjects/pythonProject5/myProgram.py
    /usr/local/lib/python3.4/dist-packages/pydub/utils.py:161: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
     warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
    /usr/local/lib/python3.4/dist-packages/pydub/utils.py:174: RuntimeWarning: Couldn't find ffplay or avplay - defaulting to ffplay, but may not work
     warn("Couldn't find ffplay or avplay - defaulting to ffplay, but may not work", RuntimeWarning)
    Traceback (most recent call last):
     File "/home/rajendra/PycharmProjects/pythonProject5/myProgram.py", line 11, in <module>
       song = AudioSegment.from_mp3("/media/rajendra/0C86E11786E10256/05_I_Like_It_Rough.mp3")
     File "/usr/local/lib/python3.4/dist-packages/pydub/audio_segment.py", line 355, in from_mp3
       return cls.from_file(file, 'mp3')
     File "/usr/local/lib/python3.4/dist-packages/pydub/audio_segment.py", line 339, in from_file
       retcode = subprocess.call(convertion_command, stderr=open(os.devnull))
     File "/usr/lib/python3.4/subprocess.py", line 533, in call
       with Popen(*popenargs, **kwargs) as p:
     File "/usr/lib/python3.4/subprocess.py", line 848, in __init__
       restore_signals, start_new_session)
     File "/usr/lib/python3.4/subprocess.py", line 1446, in _execute_child
       raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

    Process finished with exit code 1*
    </module>

    Please help me ! I’ve checked everything path but it’s not working. I’m currently using Ubuntu.

    Help would be appreciated !