Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (62)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (10137)

  • Using FFMPEG to automatically set a single max filesize across multiple different sized files

    14 juin 2020, par DuffCreeper

    I don't really know how to word it any better but I'm trying to convert WEBM/GIF to MP4 with no sound

    



    The problem I'm facing is retaining the quality without having to sacrifice it across multiple files by having to resize them to 420p

    



    The idea was to hopefully somehow get FFMPEG to automatically determine the bitrate required for the file to hit the filesize of 10mb. Though I have looked everywhere online and I have not found a single answer regarding it, so either it's not possible or I'm blind

    


  • FFMPEG AMF Hardware Acceleration on AMD Ryzen™ 7 7700 Server in Ubuntu 22.04 [closed]

    4 décembre 2024, par LoNormaly

    I was trying to make ffmpeg available with AMF and have access to the AMF hardware acceleration (in ffmpeg -hwaccels) but failed.

    


    At first, the kernel that the server as Ubuntu 22.04 came with was 5.15 and after contacting support I was explained that I need to upgrade the kernel to have access to /dev/dri.

    


    So I upgraded to 6.8 and then I had access to /dev/dri and was able to use ffmpeg 7.1 with vaapi working.

    


    In AMD, they have their own hardware acceleration named AMF, that allows much better speed and quality of transcoding.

    


    I installed the AMD GPU drivers like it's explained here : https://www.amd.com/en/support/download/linux-drivers.html

    


    I installed AMF as well, and compiled my own ffmpeg build with --enable-amf flag.

    


    Still in ffmpeg -hwaccels I get access to vaapi and drm only.

    


    Can you share if you know any solution to this enigma ?

    


    These are the instructions with which I installed the drivers, AMF and ffmpeg with :

    


    Install AMD GPU Pro Drivers:
wget https://repo.radeon.com/amdgpu-install…60203-1_all.deb
sudo apt install ./amdgpu-install_6.2.60203-1_all.deb

amdgpu-install --usecase=amf,multimedia -y
sudo amdgpu-install -y --usecase=amf,graphics --accept-eula --opencl=rocr,legacy --vulkan=amdvlk,pro



CompilationGuide/Ubuntu – FFmpeg
Compiling ffmpeg:

sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libmp3lame-dev \
libtool \
libvorbis-dev \
meson \
ninja-build \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev

sudo apt install libunistring-dev libaom-dev libdav1d-dev -y

mkdir -p ~/ffmpeg_sources ~/bin

// Install prerequisites
apt-get update && apt-get install -y \
build-essential \
pkg-config \
yasm \
nasm \
libtool \
automake \
cmake \
libx264-dev \
libx265-dev \
libvpx-dev \
libfdk-aac-dev \
libopus-dev \
libaom-dev \
libdrm-dev \
libva-dev \
vainfo
    
    
cd ~/ffmpeg_sources && \
wget https://ffmpeg.org/releases/ffmpeg-7.1.tar.bz2 && \
tar -xjf ffmpeg-7.1.tar.bz2 && \
mkdir ffmpeg_build && \
cd ffmpeg_build && \
mkdir include && \
cd include && \


// Install AMF
git clone https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git && \
mv ~/ffmpeg_build/include/AMF/amf ~/ffmpeg_build/include/ && \
rm -rf AMF && \

// From here: https://askubuntu.com/questions/1440…-ubuntu-20-04-5
// Correct install:
cd ~/
git clone https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git
mkdir /usr/local/include/AMF
cd /usr/local/include/AMF
ln -sf ~/AMF/amf/public/include/core
ln -sf ~/AMF/amf/public/include/components

// Install libvmaf
cd ~/ffmpeg_sources && \
wget https://github.com/Netflix/vmaf/archive/v3.0.0.tar.gz && \
tar xvf v3.0.0.tar.gz && \
mkdir -p vmaf-3.0.0/libvmaf/build && \

cd vmaf-3.0.0/libvmaf && \
meson setup build --buildtype=release --default-library=static --prefix="$HOME/ffmpeg_build" && \
ninja -C build && \
ninja -C build install

cd ~/ffmpeg_sources/ffmpeg-7.1
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--extra-libs="-lpthread -lm" \
--ld="g++" \
--bindir="$HOME/bin" \
--enable-gpl \
--enable-gnutls \
--enable-libaom \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libdav1d \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-libdrm \
--enable-vaapi \
--enable-libvmaf \
--enable-amf \
--enable-nonfree && \
PATH="$HOME/bin:$PATH" make && \
make -j$(nproc) install && \
hash -r


./ffmpeg -buildconf



Test VMAF to compare quality:
./ffmpeg -i input.mp4 -i reference.mp4 -lavfi libvmaf -f null -
// example output: [Parsed_libvmaf_0 @ 0x74a0f8004940] VMAF score: 98.930249ate=N/A speed=9.06x


    


  • Dartium build on windows with ffmpeg

    23 mars 2017, par AndrewL

    I am trying to build Dartium with proprietary codecs. I am running into a problem with "_ff_w64_guid_data". I did a google search, and the most it comes up with is that it is a bug with old versions of chromium, and it was fixed in later releases, unfortunately it doesn’t go into how to actually fix it, as I am stuck with this version of chromium for Dartium.

    I ran "set GYP_DEGINES=""proprietary_codecs=1 ffmpeg_branding=Chrome" before the standard instructions on https://github.com/dart-lang/sdk/wiki/Building-Dartium

    Here is a copy of the build info.

    C:\dart\dartium\src>.\dart\tools\dartium\build.py --mode=Release
    Running:  ninja -j4 -C out\Release content_shell chrome blink_tests
    ninja: Entering directory `out\Release'
    [16/1415] LINK_EMBED delegate_execute.exe
    uuid.lib(objidl_i.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    Generating code
    Finished generating code
    [32/1415] LINK_EMBED(DLL) chrome_child.dll
    FAILED: chrome_child.dll chrome_child.dll.lib chrome_child.dll.pdb
    C:\src\depot_tools\python276_bin\python.exe gyp-win-tool link-with-manifests environment.x86 True chrome_child.dll "C:\src\depot_tools\python276_bin\python.exe gyp-win-tool link-wrapper environment.x86 False link.exe /nologo /IMPLIB:chrome_child.dll.lib /DLL /OUT:chrome_child.dll @chrome_child.dll.rsp" 2 mt.exe rc.exe "obj\chrome\chrome_child_dll.chrome_child.dll.intermediate.manifest" obj\chrome\chrome_child_dll.chrome_child.dll.generated.manifest
    uuid.lib(cguid_i.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    ffmpeg.lib(ffmpeg.wavdec.obj) : error LNK2001: unresolved external symbol _ff_w64_guid_data
    chrome_child.dll : fatal error LNK1120: 1 unresolved externals
    Traceback (most recent call last):
     File "gyp-win-tool", line 313, in <module>
       sys.exit(main(sys.argv[1:]))
     File "gyp-win-tool", line 29, in main
       exit_code = executor.Dispatch(args)
     File "gyp-win-tool", line 71, in Dispatch
       return getattr(self, method)(*args[1:])
     File "gyp-win-tool", line 169, in ExecLinkWithManifests
       subprocess.check_call(ldcmd + add_to_ld)
     File "C:\src\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
       raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command 'C:\src\depot_tools\python276_bin\python.exe gyp-win-tool link-wrapper environment.x86 False link.exe /nologo /IMPLIB:chrome_child.dll.lib /DLL /OUT:chrome_child.dll @chrome_child.dll.rsp chrome_child.dll.manifest.res' returned non-zero exit status 1120
    [34/1415] LINK_EMBED blink_heap_unittests.exe
    uuid.lib(cguid_i.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    Generating code
    Finished generating code
    [35/1415] LINK_EMBED webkit_unit_tests.exe
    uuid.lib(cguid_i.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    Generating code
    Finished generating code
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
     File "C:\dart\dartium\src\dart\tools\dartium\build.py", line 56, in <module>
       main()
     File "C:\dart\dartium\src\dart\tools\dartium\build.py", line 53, in main
       + targets)
     File "C:\dart\dartium\src\dart\tools\dartium\utils.py", line 112, in runCommand
       raise Exception('Failed to run command. return code=%s' % p.returncode)
    Exception: Failed to run command. return code=1
    </module></module>