
Recherche avancée
Autres articles (11)
-
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
List of compatible distributions
26 avril 2011, parThe 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 (...)
Sur d’autres sites (4981)
-
How to record audio with ffmpeg on ubuntu 22.04 with python ?
22 juillet 2024, par Dinh ChuI 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 :


Record error :



-
How to record audio with ffmpeg on ubuntu with python ?
18 juillet 2024, par Dinh ChuI 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 :


Record error :



-
Compile ffmpeg on Ubuntu 13.10 with libfdk_aac
26 février 2014, par nitsujI tried this guide, but I have an error that permission is denied when I try to run a script from PHP using exec(). I think that this is because ffmpeg is in /root.
How can I install this where my PHP script can access it ?