Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (38)

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

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6598)

  • How can record music playing on headphone ?

    27 avril 2022, par showkey

    List all the cards in my pc :

    


    pacmd list-cards &#xA;2 card(s) available.&#xA;    index: 1&#xA;    name: &#xA;    driver: &#xA;    owner module: 7&#xA;    properties:&#xA;        alsa.card = "0"&#xA;        alsa.card_name = "HD-Audio Generic"&#xA;        alsa.long_card_name = "HD-Audio Generic at 0xfccc8000 irq 59"&#xA;        alsa.driver_name = "snd_hda_intel"&#xA;        device.bus_path = "pci-0000:09:00.1"&#xA;        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.1/sound/card0"&#xA;        device.bus = "pci"&#xA;        device.vendor.id = "1002"&#xA;        device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"&#xA;        device.product.id = "15de"&#xA;        device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"&#xA;        device.string = "0"&#xA;        device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"&#xA;        module-udev-detect.discovered = "1"&#xA;        device.icon_name = "audio-card-pci"&#xA;    profiles:&#xA;        output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)&#xA;        output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)&#xA;        output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)&#xA;        output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)&#xA;        output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)&#xA;        output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)&#xA;        output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)&#xA;        output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)&#xA;        output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)&#xA;        off: Off (priority 0, available: unknown)&#xA;    active profile: <off>&#xA;    ports:&#xA;        hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)&#xA;            properties:&#xA;                device.icon_name = "video-display"&#xA;        hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)&#xA;            properties:&#xA;                device.icon_name = "video-display"&#xA;        hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)&#xA;            properties:&#xA;                device.icon_name = "video-display"&#xA;    index: 2&#xA;    name: &#xA;    driver: &#xA;    owner module: 8&#xA;    properties:&#xA;        alsa.card = "2"&#xA;        alsa.card_name = "HD-Audio Generic"&#xA;        alsa.long_card_name = "HD-Audio Generic at 0xfccc0000 irq 60"&#xA;        alsa.driver_name = "snd_hda_intel"&#xA;        device.bus_path = "pci-0000:09:00.6"&#xA;        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.6/sound/card2"&#xA;        device.bus = "pci"&#xA;        device.vendor.id = "1022"&#xA;        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"&#xA;        device.product.id = "15e3"&#xA;        device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"&#xA;        device.string = "2"&#xA;        device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"&#xA;        module-udev-detect.discovered = "1"&#xA;        device.icon_name = "audio-card-pci"&#xA;    profiles:&#xA;        input:analog-stereo: Analog Stereo Input (priority 65, available: no)&#xA;        output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)&#xA;        output:analog-stereo&#x2B;input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)&#xA;        output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: unknown)&#xA;        output:analog-surround-40&#x2B;input:analog-stereo: Analog Surround 4.0 Output &#x2B; Analog Stereo Input (priority 1265, available: no)&#xA;        output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: unknown)&#xA;        output:analog-surround-51&#x2B;input:analog-stereo: Analog Surround 5.1 Output &#x2B; Analog Stereo Input (priority 1365, available: no)&#xA;        output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)&#xA;        output:iec958-stereo&#x2B;input:analog-stereo: Digital Stereo (IEC958) Output &#x2B; Analog Stereo Input (priority 5565, available: no)&#xA;        output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)&#xA;        output:iec958-ac3-surround-51&#x2B;input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output &#x2B; Analog Stereo Input (priority 365, available: no)&#xA;        off: Off (priority 0, available: unknown)&#xA;    active profile: &#xA;    sinks:&#xA;        alsa_output.pci-0000_09_00.6.analog-stereo/#0: Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo&#xA;    sources:&#xA;        alsa_output.pci-0000_09_00.6.analog-stereo.monitor/#1: Monitor of Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo&#xA;    ports:&#xA;        analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)&#xA;            properties:&#xA;                device.icon_name = "audio-input-microphone"&#xA;        analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)&#xA;            properties:&#xA;                device.icon_name = "audio-input-microphone"&#xA;        analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)&#xA;            properties:&#xA;                &#xA;        analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)&#xA;            properties:&#xA;                &#xA;        analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)&#xA;            properties:&#xA;                device.icon_name = "audio-headphones"&#xA;        iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)&#xA;            properties:&#xA;</off>

    &#xA;

    Playing a music on speaker,record it with ffmpeg and save as music.mp3 in current directory.

    &#xA;

    device_speaker="alsa_output.pci-0000_09_00.6.analog-stereo.monitor"&#xA;ffmpeg -f pulse -i $device_speaker   music.mp3&#xA;

    &#xA;

    I turn off the speaker and play the music on my headphone,how can record it with ffmpeg ?

    &#xA;

  • [ffmpeg C++ API] : How to copy a music file's cover image into another music file ?

    22 avril 2022, par Ananta

    I am having difficulties in copying a source music file's cover image into a destination music file. These two music files are in different formats (i.e, either mp3, flac, wav, or wma, different sampling rate). How should I implement the code for this ? I created a minimal code for this task below :

    &#xA;

    const char* src_path = "source.mp3";&#xA;const char* dest_path = "destination.flac";&#xA;AVPacket src_pic; &#xA;&#xA;// open the source path&#xA;AVFormatContext *src_ctx = avformat_alloc_context();&#xA;avformat_open_input(&amp;src_ctx, src_path, NULL, NULL);&#xA;&#xA;// find the first attached picture, if available&#xA;for (i = 0; i &lt; src_ctx->nb_streams; i&#x2B;&#x2B;)&#xA;   if (src_ctx->streams[i]->disposition &amp; AV_DISPOSITION_ATTACHED_PIC) {&#xA;      src_pic = src_ctx->streams[i]->attached_pic;&#xA;&#xA;// open the destination path&#xA;AVFormatContext *dest_ctx = avformat_alloc_context();&#xA;avformat_open_input(&amp;dest_ctx, dest_path, NULL, NULL);&#xA;&#xA;// Then, how to embed the &#x27;src_pic&#x27; into &#x27;dest_ctx&#x27;?&#xA;&#xA;  &#xA;

    &#xA;

  • About Soundcloud scraping for uploading music to telegram group

    16 juin 2021, par so sa

    I am trying to automatically download the new uploaded file from the below soundcloud link and upload it to a telegram group :

    &#xA;

    https://soundcloud.com/radio-hamrah-1

    &#xA;

    so I have googled the :

    &#xA;

    &#xA;

    python script to download from soundcloud and import to telegram&#xA;group

    &#xA;

    &#xA;

    and tried the scdl python module by its instruction, but when I have tried its on this colab page I get this error :

    &#xA;

    !pip3 install git&#x2B;https://github.com/flyingrub/scdl&#xA;!scdl -l https://soundcloud.com/pandadub/sets/the-lost-ship --download-archive archive.txt -c&#xA;&#xA;Collecting git&#x2B;https://github.com/flyingrub/scdl&#xA;  Cloning https://github.com/flyingrub/scdl to /tmp/pip-req-build-0g64ql2f&#xA;  Running command git clone -q https://github.com/flyingrub/scdl /tmp/pip-req-build-0g64ql2f&#xA;Requirement already satisfied (use --upgrade to upgrade): scdl==1.6.12 from git&#x2B;https://github.com/flyingrub/scdl in /usr/local/lib/python3.7/dist-packages&#xA;Requirement already satisfied: docopt in /usr/local/lib/python3.7/dist-packages (from scdl==1.6.12) (0.6.2)&#xA;Requirement already satisfied: mutagen in /usr/local/lib/python3.7/dist-packages (from scdl==1.6.12) (1.45.1)&#xA;Requirement already satisfied: termcolor in /usr/local/lib/python3.7/dist-packages (from scdl==1.6.12) (1.1.0)&#xA;Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from scdl==1.6.12) (2.23.0)&#xA;Requirement already satisfied: clint in /usr/local/lib/python3.7/dist-packages (from scdl==1.6.12) (0.5.1)&#xA;Requirement already satisfied: chardet&lt;4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->scdl==1.6.12) (3.0.4)&#xA;Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,&lt;1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->scdl==1.6.12) (1.24.3)&#xA;Requirement already satisfied: idna&lt;3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->scdl==1.6.12) (2.10)&#xA;Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->scdl==1.6.12) (2021.5.30)&#xA;Requirement already satisfied: args in /usr/local/lib/python3.7/dist-packages (from clint->scdl==1.6.12) (0.1.0)&#xA;Building wheels for collected packages: scdl&#xA;  Building wheel for scdl (setup.py) ... done&#xA;  Created wheel for scdl: filename=scdl-1.6.12-cp37-none-any.whl size=19143 sha256=27ca560a7f3947830289d0df167db84137d1554fe1ab740c2afab3db0abedd74&#xA;  Stored in directory: /tmp/pip-ephem-wheel-cache-agspvyq5/wheels/49/44/6e/a5f6f709e7b231f3639ea9f9fc48a4699b958850715556e7f6&#xA;Successfully built scdl&#xA;Soundcloud Downloader&#xA;Failed to get item...&#xA;

    &#xA;

    enter image description here

    &#xA;

    and when I try by the Docker VPS by this commands :

    &#xA;

    pip3 install git&#x2B;https://github.com/flyingrub/scdl&#xA;pip3 install ffmpeg&#xA;scdl -l https://soundcloud.com/pandadub/sets/the-lost-ship --download-archive archive.txt -c&#xA;

    &#xA;

    pip3 install git+https://github.com/flyingrub/scdl pip3 install ffmpeg&#xA;scdl -l https://soundcloud.com/pandadub/sets/the-lost-ship —download-archive archive.txt -c

    &#xA;

    I get this error :

    &#xA;

    FileNotFoundError: [Errno 2] No such file or directory: &#x27;ffmpeg&#x27;&#xA;

    &#xA;

    enter image description here

    &#xA;

    So I asked abut how could i do it by scdl and soundcloude python module.

    &#xA;

    Update :

    &#xA;

    Based of my two comment on this question I get different result by using the scdl python module via the above colab page, sometimes it is working and sometimes not, which i guess it is because of soudncloud server setting for preventing huge scraping and needs some delay during the music scraping form the soundcloud.

    &#xA;

    Thanks.

    &#xA;