Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (20)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6213)

  • Convert .mp3/.wav file into g729/amr/g711 codec file and vice versa using PJSIP

    19 septembre 2017, par NandhaKumar

    PJSIP is used for SIP Registering, audio/video Calling and supporting some other VoIP Call features. If you want to create an VoIP Application, you will create an application using their libraries.

    In this library, there are available lot of codecs and some of codecs are available as third party codecs and you can integrate into PJSIP library. Then you can able to support those codecs while calling another SIP user/client.

    Generally In mobile phones, the voice is record as audio file through
    mic and it has passed to PJSIP library. Then those codec/pjmedia library take care
    of other operations like converting into anyother codec format which
    they want to send.

    Instead of that, can we able to pass .mp3/.wav file into PJSIP library and convert it into codec files like .g729/.amr/.g711-u and vice versa

    I don’t about how codec conversion/codec engine internally works around.
    If you know about the codec conversion from .mp3 format is possible using PJSIP library, please suggest me how to solve this problem.

    Thanks in Advance !

  • How to determine which offsets changed in MP4 file after cutting a part of the MP4 file

    16 février 2021, par Muath

    This image displays each offset and the role of that offset in mp4 file.

    


    enter image description here

    


    And this is MP4 file viewed in Hex-Editor :

    


    enter image description here

    


    When cutting (as an example) first 60 seconds of that video or doing any cutting process, How can I know which offsets has been changed ?

    


  • No such file error using pydub on OSX with pycharm

    15 juillet 2020, par Michael Harrison

    My ultimate aim is to run the code snippet below on Lambda but as I was having difficulties, I tried running it on my mac. I get the same error running with python2.7 on OSX as I do when I run it on AWS lambda.

    


    The code is :

    


    from pydub import AudioSegment
import os

def test():
    print("Starting")

    files = [f for f in os.listdir('.') if os.path.isfile(f)]
    for f in files:
        print (f)

    sound = AudioSegment.from_mp3("test.mp3")

test()


    


    The output of the code from pycharm is :

    


    Starting&#xA;ffmpeg&#xA;.DS_Store&#xA;requirements.txt&#xA;concat.py&#xA;test.mp3&#xA;ffprobe&#xA;Traceback (most recent call last):&#xA;  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py", line 1438, in _exec&#xA;    pydev_imports.execfile(file, globals, locals)  # execute the script&#xA;  File "/Users/mh/Desktop/sC/concat/concat.py", line 13, in <module>&#xA;    test()&#xA;  File "/Users/mh/Desktop/sC/concat/concat.py", line 11, in test&#xA;    sound = AudioSegment.from_mp3("test.mp3")&#xA;  File "/Users/mh/Desktop/sC/concat/venv2.7/lib/python2.7/site-packages/pydub/audio_segment.py", line 738, in from_mp3&#xA;    return cls.from_file(file, &#x27;mp3&#x27;, parameters=parameters)&#xA;  File "/Users/mh/Desktop/sC/concat/venv2.7/lib/python2.7/site-packages/pydub/audio_segment.py", line 685, in from_file&#xA;    info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)&#xA;  File "/Users/mh/Desktop/sC/concat/venv2.7/lib/python2.7/site-packages/pydub/utils.py", line 274, in mediainfo_json&#xA;    res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)&#xA;  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__&#xA;    errread, errwrite)&#xA;  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child&#xA;    raise child_exception&#xA;OSError: [Errno 2] No such file or directory&#xA;</module>

    &#xA;

    Is this actually a problem with pydub/ffmpeg/ffprobe, rather than the location of my mp3 file ? As I'm trying to package this project for Lambda, I've put executable versions of ffmpeg and ffprobe in the root of the project, rather than installed them to my OS. Before I did this, pydub complained that it couldn't find ffmpeg. It's now not complaining but, could I have chosen the wrong binary ?

    &#xA;

    Any ideas ?

    &#xA;