Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (70)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (9478)

  • Why the result of FFmpeg capture process has no audio to create a webm file ?

    23 mars 2019, par RAM

    The result of my bellow FFmpeg command has no audio (is silent) :

    ffmpeg -f gdigrab -framerate 30 -i desktop -video_size 720x480 -c:v libvpx-vp9 -c:a libopus -b:v 1M -b:a 128K -auto-alt-ref 0 -crf 10 -preset ultrafast output.webm

    But this one has audio :

    ffmpeg -f gdigrab -i desktop -f dshow -i audio="Microphone (4- High Definition Audio Device)" output.mkv
    • How should I capture as webm file by using libopus or libvorbis ?
    • What is the problem in my first command ?

    My FFmpeg version :

    ffmpeg version N-93439-gb073fb9eea Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
                    --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab
                    --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
  • Converting .aif to mp3 using pydub

    22 mars 2019, par Nick Wetaski

    I want to convert a bunch of music files located on my desktop (however trying to convert just one of them is the first step) from .aif to .mp3 however I am receiving an error code 1 from ffmpeg.

    I have ffmpeg and pydub installed

    Code :

    from os import path
    from pydub import AudioSegment
    from pydub.utils import which

    AudioSegment.converter = which("ffmpeg")

    aif_audio = AudioSegment.from_file("C:/Users/Nick/Desktop/scratch/landonmusic1.aif", format="aif")

    aif_audio.export("C:/Users/Nick/Desktop/scratch/landonmusic1.mp3", format="mp3")

    I am receiving the following feedback from Python Terminal :

    S C:\Users\Nick\OneDrive\ProgrammingProjects> & C:/Users/Nick/AppData/Local/Programs/Python/Python37-32/python.exe c:/Users/Nick/OneDrive/ProgrammingProjects/Classes/MusicFileConverter.py
    Traceback (most recent call last):
     File "c:/Users/Nick/OneDrive/ProgrammingProjects/Classes/MusicFileConverter.py", line 10, in <module>
       aif_audio = AudioSegment.from_file("C:/Users/Nick/Desktop/scratch/landonmusic1.aif", format="aif")
     File "C:\Users\Nick\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pydub\audio_segment.py", line 704, in from_file
       p.returncode, p_err))
    pydub.exceptions.CouldntDecodeError: Decoding failed. ffmpeg returned error code: 1
    </module>

    Output from ffmpeg/avlib :

    b"ffmpeg version N-93431-g6dc1da416e Copyright (c) 2000-2019 the FFmpeg developers\r\n  built with gcc 8.2.1 (GCC) 20190212\r\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\r\n  libavutil      56. 26.100 / 56. 26.100\r\n  libavcodec     58. 47.105 / 58. 47.105\r\n  libavformat    58. 26.101 / 58. 26.101\r\n  libavdevice    58.  7.100 / 58.  7.100\r\n  libavfilter     7. 48.100 /  7. 48.100\r\n  libswscale      5.  4.100 /  5.  4.100\r\n  libswresample   3.  4.100 /  3.  4.100\r\n  libpostproc    55.  4.100 / 55.  4.100\r\nUnknown input format: 'aif'\r\n"
  • FFmpeg commands work for root only(centos 6.10)

    20 mars 2019, par Prashant Hanamghar

    I have dedicated server. I have installed FFmpeg on my root. All commands related to FFmpeg works if I logged in as root but no command is working if I logged in as user. I have tried adding one user to sudoers also. Also I want to use FFmpeg commands in PHP shell_exec() or exec(). Can someone tell me the solution. Thanks in advance.

    user command :

    $ ffmpeg

    output :

    -bash: ffmpeg: command not found

    root command :

    $ ffmpeg

    output

    ffmpeg version N-93394-g14eea7c Copyright (c) 2000-2019 the FFmpeg
    developers
    built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-23)
    configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --
    extra-cflags=-I/root/ffmpeg_build/include -
    -extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-
    libs=-lm --bindir=/root/bin --enable-gpl --enab
    le-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --
    enable-libvpx --enable-libx264 --enable-libx
    265 --enable-nonfree
    libavutil      56. 26.100 / 56. 26.100
    libavcodec     58. 47.103 / 58. 47.103
    libavformat    58. 26.101 / 58. 26.101
    libavdevice    58.  6.101 / 58.  6.101
    libavfilter     7. 48.100 /  7. 48.100
    libswscale      5.  4.100 /  5.  4.100
    libswresample   3.  4.100 /  3.  4.100
    libpostproc    55.  4.100 / 55.  4.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
    outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'