Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (100)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (11508)

  • How to record audio with ffmpeg on ubuntu with python ?

    18 juillet 2024, par Dinh Chu

    I encountered the problem of recording output audio on Ubuntu with Python.
I want to record the output sound from the browser.
I used USB Headphone as the output device, then record sounded with FFMPEG.

    


    pactl list short sources

    


    0. alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo.monitor  module-alsa-card.c      s16le 2ch 48000Hz       SUSPENDED
1. alsa_input.usb-0c76_USB_PnP_Audio_Device-00.mono-fallback  module-alsa-card.c      s16le 1ch 48000Hz       SUSPENDED 
2. alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor     module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED


    


    When I run command on Ubuntu, It recorded audio successfully.

    


    ffmpeg -f pulse -i alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo.monitor -t 10 output.wav


    


    However, when I executed the command in the project Python, the error reported :

    


    alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo.monitor: Operation not permitted


    


    or if using orther ouput :

    


    alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor: Operation not permitted


    


    Details can see more attached photos :
enter image description here
Record error :
enter image description here

    


  • Play same audio file to two different sound cards simultaneously using android media player [on hold]

    15 décembre 2016, par Hardik

    I have one custom board( media player) running android4.2 OS on it and I need to add a feature that will play same audio to two different sound cards simultaneously.

    I have two output devices HDMI and TLV320aic3100 Codec.
    And Want to play Video and audio through HDMI and same audio should play through TLV codec. Audio through TLV codec should be in sync with HDMI video/audio.

    Right now I’m able to play audio through TLV codec by hard-coding sound card number in tinyalsa PCM code "pcm.c" which is used by HAL code of Android Media Player (by default this code will give audio to HDMI),
    but not able to provide audio to both sound cards simultaneously.

    I tried with creating thread in pcm code and writing incoming audio data to both sound card, By doing this HDMI going into under-run problem.

    Is there any way to provide same audio to both sound cards simultaneously using Android Media Player or any other options to try ?

  • FFMPEG RTX 8000 out of memory

    23 juin 2020, par Mahdi Adnan

    I have an RTX 8000 and I'm using FFMPEG to transcode multiple streams concurrently.
Each stream consume around 575MiB, and when the memory usage reaches around 28000MiB, FFMPEG throw the following message when starting a new transcode session :

    



    [h264_nvenc @ 0x55cd1d574800] dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device) failed -> CUDA_ERROR_OUT_OF_MEMORY : out of memory
[h264_nvenc @ 0x55cd1d574800] No NVENC capable devices found
Error initializing output stream 2:0 — Error while opening encoder for output stream #2:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    



    The machine is running Ubuntu 20.04
FFMPEG is a snap package from Ubuntu repo "version 4.2.2-1ubuntu1"
nVidia driver nvidia-driver-435 installed from Ubuntu repo

    



    command used for the transcode :
ffmpeg -i SRC -c:v h264_cuvid -vcodec h264_nvenc -preset:v medium -profile:v main -vf "scale=1920 :-2" -hls_flags delete_segments -hls_init_time 4 -hls_time 4 -maxrate 6000k -g 100 -bufsize 12000k -b:v 3000k -start_number 1 -async 1 -c:a aac -b:a 128k 1080.m3u8

    



    Is the RTX 8000 have any limitation on the Memory usage ? are the parameters I'm using causing this issue ?

    



    Thanks