Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

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

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • De près ou de loin...

    29 avril 2011, par

    Ils ne le savent pas forcément mais sont indispensables
    MediaSPIP est un logiciel open-source, il se base sur d’autres logiciels, et d’autres logiciels lui sont également nécessaires pour fonctionner ... Les personnes ici listées ne savent pas forcément qu’elles ont un rôle important dans le développement, elles ont apporté leur connaissances dans le cadre de la création d’une partie de ces éléments nécessaires ou ont écrit des articles permettant de comprendre certaines choses... il semble indispensable (...)

Sur d’autres sites (4859)

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

  • FFmpeg : real-time buffer[ ] [input] too full or near too full (101% of size : 3041280 [rtbufsize parameter]) frame dropped

    16 décembre 2020, par lostin2010

    I use the library of ffmpeg to decode stream from [TTQ HD Camera] and encode it to a rtmp stream.
but I receive a lot of warnings like the picture below.
i try to set qmin and qmax , it seems a little better. but still not totally resolve the problem.

    



    encoder_context->qmin = 10;
encoder_context->qmax = 51;


    



    who knows this is why ?

    



    [dshow @ 04bfc640] real-time buffer [TTQ HD Camera] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!


    



    enter image description here

    


  • ffmpeg returns "method SETUP failed : 404 Not Found"

    1er juillet 2019, par Alex

    We’re using ffmpeg (build ffmpeg-20190628-098ab93-win32-static) to take a snapshot from camera RTSP streams on a Win 10 system. On some cameras, we’re getting this error :

    [rtsp @ 06813ac0] method SETUP failed: 404 Not Found
    rtsp://username:password@example.com: Server returned 404 Not Found

    Here’s an example command we use :

    ffmpeg -y -i rtsp://username:password@example.com -vframes 1 -pix_fmt yuvj420p
     -vf select='eq(pict_type\,I)' -q:v 1 _test.jpg

    However, VLC can load the same stream (we can’t use VLC, though) from the same machine. Additionally, we’ve opened the firewall to ffmpeg (it popped up the two firewall dialogs and we allowed it through).

    We’ve found posts on the DESCRIBE error but nothing on SETUP. Any help is appreciated. Thank you.

    Update : In VLC, that RTSP stream asks for credentials twice for some reason. Wondering if that’s the cause.