Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (27)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (7062)

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

  • regarding h264_qsv encoding speed in ffmpeg

    31 janvier 2021, par TONY

    As we know, now ffmpeg supports intel hardware encoding(h264 qsv).&#xA;But it doesn't support "ultra fast", is there any settings to improve the encoding speed ?

    &#xA;

    m_encoder = avcodec_find_encoder_by_name("h264_qsv");&#xA;if(m_encoder == nullptr){&#xA;    LOG(ERROR)&lt;&lt;"Find H264 Encoder failed";&#xA;    return false;&#xA;}&#xA;m_ctx = avcodec_alloc_context3(m_encoder);&#xA;m_ctx->bit_rate = bitrate_kbps*1024;&#xA;m_ctx->width = m_width;&#xA;m_ctx->height = m_height;&#xA;m_ctx->time_base = { 1, (int)fps };&#xA;m_ctx->qmin = 10;&#xA;m_ctx->qmax = 35;&#xA;m_ctx->gop_size = fps;&#xA;m_ctx->max_b_frames = 0;&#xA;m_ctx->has_b_frames = false;&#xA;&#xA;m_ctx->codec_id = m_encoder->id;&#xA;m_ctx->codec_type = AVMEDIA_TYPE_VIDEO;&#xA;m_ctx->pix_fmt = m_h264InputFormat;&#xA;&#xA;AVDictionary *param = nullptr;&#xA;av_dict_set(&amp;param, "look_ahead", "0", 0);&#xA;av_dict_set(&amp;param, "look_ahead_depth", "8", 0);&#xA;av_dict_set(&amp;param, "preset", "veryfast", 0);&#xA;av_dict_set(&amp;param, "tune", "zerolatency", 0);&#xA;&#xA;int ret = avcodec_open2(m_ctx, m_encoder, &amp;param);&#xA;

    &#xA;

  • avformat/matroskaenc : Remove unnecessary avio_tell(), avio_seek()

    22 janvier 2020, par Andreas Rheinhardt
    avformat/matroskaenc : Remove unnecessary avio_tell(), avio_seek()
    

    avio_close_dyn_buf() has a bug : When the write pointer does not point to
    the end of the written data when calling it (i.e. when one has performed
    a seek back to update already written data), it would not add padding to
    the end of the buffer, but to the current position, overwriting other
    data ; furthermore the reported size would be wrong (off by the amount of
    data it has overwritten with padding).

    In order not to run into this when updating already written elements or
    elements for which size has only been reserved, the Matroska muxer would
    first record the current position of the dynamic buffer, then seek to
    the desired position, perform the update and seek back to the earlier
    position.

    But now that end_ebml_master_crc32() does not make use of
    avio_close_dyn_buf() any more, this is no longer necessary.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c