Recherche avancée

Médias (91)

Autres articles (49)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6719)

  • How to get full name of default microphone ?

    9 août 2019, par Jiapeng Li

    Been trying to get full name of microphone as a variable on Python for usage of ffmpeg. I have already tried

    p = pyaudio.PyAudio()
    default_device = p.get_default_input_device_info()
    print(default_device['name'])

    and here was the output :

    Microphone (Conexant SmartAudio         #it was truncated to 31 characters length

    Obviously,that was truncated and not what i wanted.
    Tried sounddevice too :

    import sounddevice as sd
    s = sd.query_devices()
    print(s)

    Output :

      0 Microsoft Sound Mapper - Input, MME (2 in, 0 out)
    >  1 Microphone (Conexant SmartAudio, MME (2 in, 0 out)           #still truncated
      2 Microsoft Sound Mapper - Output, MME (0 in, 2 out)
    <  3 Speakers (Conexant SmartAudio H, MME (0 in, 2 out)
      4 Primary Sound Capture Driver, Windows DirectSound (2 in, 0 out)
      5 Microphone (Conexant SmartAudio HD), Windows DirectSound (2 in, 0 out)    #now got normal,but why?
      6 Primary Sound Driver, Windows DirectSound (0 in, 2 out)
      7 Speakers (Conexant SmartAudio HD), Windows DirectSound (0 in, 2 out)
      8 Speakers (Conexant SmartAudio HD), Windows WASAPI (0 in, 2 out)
      9 Microphone (Conexant SmartAudio HD), Windows WASAPI (2 in, 0 out)
     10 Stereo Mix (Conexant HD Stereo Mix), Windows WDM-KS (2 in, 0 out)
     11 Microphone (Conexant HD Audio capture), Windows WDM-KS (2 in, 0 out)
     12 Speakers (Conexant HD Audio output), Windows WDM-KS (0 in, 2 out)

    It can be seen that device number 1 was my default one and if that was full name it would be perfect but unfortunately that was not.

    Then the only thing i could have thought of was to capture full name from list that ffmpeg provided :

    'ffmpeg -list_devices true -f dshow -i dummy':
    [dshow @ 000001cc4f298d00] DirectShow video devices (some may be both video and audio devices)
    [dshow @ 000001cc4f298d00]  "USB2.0 VGA UVC WebCam"
    [dshow @ 000001cc4f298d00]     Alternative name "@device_pnp_\\?\usb#vid_13d3&pid_5a07&mi_00#6&2f27e633&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
    [dshow @ 000001cc4f298d00]  "screen-capture-recorder"
    [dshow @ 000001cc4f298d00]     Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{4EA69364-2C8A-4AE6-A561-56E4B5044439}"
    [dshow @ 000001cc4f298d00] DirectShow audio devices
    [dshow @ 000001cc4f298d00]  "Microphone (Conexant SmartAudio HD)"
    [dshow @ 000001cc4f298d00]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{AFE404CD-A721-49BE-8AC5-669DA725185F}"
    [dshow @ 000001cc4f298d00]  "virtual-audio-capturer"
    [dshow @ 000001cc4f298d00]     Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{8E146464-DB61-4309-AFA1-3578E927E935}"

    I used

    popen = subprocess.Popen('ffmpeg -list_devices true -f dshow -i dummy', stdout=subprocess.PIPE)
    popen.wait()

    lines = popen.stdout.readlines()
    print(lines)

    After that i got totally confused because the output was an empty list. Now i am lost in desert and know nowhere to go. Really appreciate it if you could help.

  • how to use x264 dll in another project

    7 février 2024, par Hadi Rasekh

    I want to use x264 in my project. There is some line in the code said :

    


    `/* Application developers planning to link against a shared library version of

    


      

    • libx264 from a Microsoft Visual Studio or similar development environment
    • 


    • will need to define X264_API_IMPORTS before including this header.
    • 


    • This clause does not apply to MinGW, similar development environments, or non
    • 


    • Windows platforms. */`
    • 


    


    But I don't get this line :
define X264_API_IMPORTS before including this header

    


    We can create x264 dll by its configuration and make

    


        ./configure --enable-shared
    make


    


    but I can not use the dll in my Qt Project.

    


    I can make my own dll (in another code) and use it in the project.
But when I start to use x264 dll in my project I get the following error :

    


        C:\DataHiding\SourceCode2\GUI\DataHiding\mainwindow.cpp:10: error:
    'pulldown_frame_duration' was not declared in this scope
    qDebug() << pulldown_frame_duration[1];
             ^


    


  • how to use x264 dll in another project

    7 février 2024, par Hadi Rasekh

    I want to use x264 in my project. There is some line in the code said :

    


    `/* Application developers planning to link against a shared library version of

    


      

    • libx264 from a Microsoft Visual Studio or similar development environment
    • 


    • will need to define X264_API_IMPORTS before including this header.
    • 


    • This clause does not apply to MinGW, similar development environments, or non
    • 


    • Windows platforms. */`
    • 


    


    But I don't get this line :
define X264_API_IMPORTS before including this header

    


    We can create x264 dll by its configuration and make

    


        ./configure --enable-shared
    make


    


    but I can not use the dll in my Qt Project.

    


    I can make my own dll (in another code) and use it in the project.
But when I start to use x264 dll in my project I get the following error :

    


        C:\DataHiding\SourceCode2\GUI\DataHiding\mainwindow.cpp:10: error:
    'pulldown_frame_duration' was not declared in this scope
    qDebug() << pulldown_frame_duration[1];
             ^