Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (3)

  • Les images

    15 mai 2013
  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (1816)

  • ffmpeg error when try co concat videos with filter_complex

    29 août 2023, par Matteo Pasini

    I'm trying to concatenate two videos with different resolutions. Reading around I saw that before being able to concatenate them I should scale them to the same resolution, but the command I'm using (the same one they propose on stackoverflow) doesn't seem to work. Does anyone have any ideas ?

    &#xA;

    Command :

    &#xA;

    ffmpeg -i file1.mp4 -i file2.mp4 -filter_complex "[0:v]scale=1024:576:force_original_aspect_ratio=1[v0]; [1:v]scale=1024:576:force_original_aspect_ratio=1[v1]; [v0][0:a][v1][1:a]concat=n=2:v=1:a=1[v][a]" -map [v] -map [a] output.mp4&#xA;

    &#xA;

    Output :

    &#xA;

    ffmpeg version 2023-08-28-git-b5273c619d-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      58. 17.100 / 58. 17.100&#xA;  libavcodec     60. 23.100 / 60. 23.100&#xA;  libavformat    60. 10.101 / 60. 10.101&#xA;  libavdevice    60.  2.101 / 60.  2.101&#xA;  libavfilter     9. 11.100 /  9. 11.100&#xA;  libswscale      7.  3.100 /  7.  3.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;  libpostproc    57.  2.100 / 57.  2.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;file1.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    creation_time   : 2021-10-08T12:31:56.000000Z&#xA;  Duration: 00:03:15.51, start: 0.000000, bitrate: 464 kb/s&#xA;  Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m, progressive), 1444x876 [SAR 1:1 DAR 361:219], 335 kb/s, 30 fps, 30 tbr, 30k tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-10-08T12:31:56.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : AVC Coding&#xA;  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-10-08T12:31:56.000000Z&#xA;      handler_name    : Mainconcept MP4 Sound Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;file2.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    creation_time   : 2021-10-11T11:12:30.000000Z&#xA;  Duration: 00:02:42.01, start: 0.000000, bitrate: 380 kb/s&#xA;  Stream #1:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m, progressive), 1450x870 [SAR 1:1 DAR 5:3], 251 kb/s, 30 fps, 30 tbr, 30k tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-10-11T11:12:30.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : AVC Coding&#xA;  Stream #1:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-10-11T11:12:30.000000Z&#xA;      handler_name    : Mainconcept MP4 Sound Media Handler&#xA;      vendor_id       : [0][0][0][0]&#xA;File &#x27;output.mp4&#x27; already exists. Overwrite? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> scale:default&#xA;  Stream #0:1 (aac) -> concat&#xA;  Stream #1:0 (h264) -> scale:default&#xA;  Stream #1:1 (aac) -> concat&#xA;  concat -> Stream #0:0 (libx264)&#xA;  concat -> Stream #0:1 (aac)&#xA;Press [q] to stop, [?] for help&#xA;[Parsed_concat_2 @ 00000228da583200] Input link in0:v0 parameters (size 960x576, SAR 1:1) do not match the corresponding output link in0:v0 parameters (949x576, SAR 69312:69277)&#xA;[Parsed_concat_2 @ 00000228da583200] Failed to configure output pad on Parsed_concat_2&#xA;[fc#0 @ 00000228d8cb7480] Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while filtering: Invalid argument&#xA;[Parsed_concat_2 @ 00000228da582c00] Input link in0:v0 parameters (size 960x576, SAR 1:1) do not match the corresponding output link in0:v0 parameters (949x576, SAR 69312:69277)&#xA;[Parsed_concat_2 @ 00000228da582c00] Failed to configure output pad on Parsed_concat_2&#xA;[fc#0 @ 00000228d8cb7480] Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;[Parsed_concat_2 @ 00000228da581900] Input link in0:v0 parameters (size 960x576, SAR 1:1) do not match the corresponding output link in0:v0 parameters (949x576, SAR 69312:69277)&#xA;[Parsed_concat_2 @ 00000228da581900] Failed to configure output pad on Parsed_concat_2&#xA;[fc#0 @ 00000228d8cb7480] Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;[out#0/mp4 @ 00000228d9baab40] Nothing was written into output file, because at least one of its streams received no packets.&#xA;frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A&#xA;Conversion failed!&#xA;

    &#xA;

  • AddictedCS SoundFingerprinting FFmpeg.AutoGen System.NullReferenceException

    16 novembre 2023, par J D

    How can I troubleshoot below issue ? Seems to be a class override of FFmpeg.

    &#xA;

    I am attempting to use AddictedCS SoundFingerprinting (https://github.com/AddictedCS/soundfingerprinting).&#xA;https://github.com/Ruslan-B/FFmpeg.AutoGen

    &#xA;

    After downloading the packages with nuget, I downloaded & compiled from source to debug :

    &#xA;

    For some reason FFmpeg.AutoGen.Abstractions keep crashing.&#xA;Visual Studio 2022, project set to X64

    &#xA;

    The exception :

    &#xA;

    FFmpeg.AutoGen.Abstractions&#xA;Code line 2906 :

    &#xA;

    public static AVFormatContext avformat_alloc_context() => vectors.avformat_alloc_context() ;*

    &#xA;

    System.NullReferenceException&#xA;  HResult=0x80004003&#xA;  Message=Object reference not set to an instance of an object&#xA;  Source=FFmpeg.AutoGen.Abstractions&#xA;  StackTrace:&#xA;   at FFmpeg.AutoGen.Abstractions.ffmpeg.avformat_alloc_context() in C:\FFmpeg.AutoGen-master\FFmpeg.AutoGen.Abstractions\generated\ffmpeg.functions.facade.g.cs:line 2906&#xA;

    &#xA;

    ffmpeg.exe as recommended on the correct location

    &#xA;

    C:\fingerPrint\ConsoleApp1\ConsoleApp1\bin\x64\Debug\FFmpeg\bin\x64>ffmpeg.exe ffmpeg version 4.4.1-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11.2.0 (Rev1, Built by MSYS2 project)

    &#xA;

    Sourcecode

    &#xA;

    &#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Linq;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using SoundFingerprinting;&#xA;using SoundFingerprinting.Builder;&#xA;using SoundFingerprinting.Emy;&#xA;using FFmpeg.AutoGen.Bindings.DynamicallyLoaded;&#xA;using System.IO;&#xA;&#xA;namespace ConsoleApp1&#xA;{&#xA;    internal class Program&#xA;    {&#xA;        private readonly IFingerprintCommandBuilder fingerprintCommandBuilder = new FingerprintCommandBuilder();&#xA;        static async Task Main(string[] args)&#xA;        {&#xA;            var current = Environment.CurrentDirectory;&#xA;            var probe = Path.Combine("FFmpeg", "bin", Environment.Is64BitProcess ? "x64" : "x86");&#xA;            var ffmpegBinaryPath = Path.Combine(current, probe);&#xA;            Console.WriteLine(Environment.CurrentDirectory);&#xA;            Console.WriteLine($"FFmpeg binaries found in: {ffmpegBinaryPath}");&#xA;            DynamicallyLoadedBindings.LibrariesPath = ffmpegBinaryPath;&#xA;  &#xA;            var audioService = new FFmpegAudioService();&#xA;            var hashedFingerprints = await FingerprintCommandBuilder.Instance&#xA;                                             .BuildFingerprintCommand()&#xA;                                             .From("c:\\temp\\chopin_short2.wav")&#xA;                                             .UsingServices(audioService)&#xA;                                             .Hash();&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;

    &#xA;

    Where do I need to look next ? Doesn't this work with a console C# project ?

    &#xA;

  • Stackposts ffmpeg error (Instagram videos)

    30 décembre 2023, par starneybinson

    I am trying to post Instagram Reels via Stackposts (Ubuntu/nginx) but I am facing this error message :

    &#xA;

    For sharing videos on Instagram, you have to install the FFmpeg library on your server and configure executables path.

    &#xA;

    error message

    &#xA;

    I have ffmpeg installed but it still won't work :

    &#xA;

    ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers&#xA;built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)&#xA;configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;libavutil      56. 70.100 / 56. 70.100&#xA;libavcodec     58.134.100 / 58.134.100&#xA;libavformat    58. 76.100 / 58. 76.100&#xA;libavdevice    58. 13.100 / 58. 13.100&#xA;libavfilter     7.110.100 /  7.110.100&#xA;libswscale      5.  9.100 /  5.  9.100&#xA;libswresample   3.  9.100 /  3.  9.100&#xA;libpostproc    55.  9.100 / 55.  9.100&#xA;

    &#xA;

    Does anyone have an idea on how to fix this ?

    &#xA;

    I have tried to modify the file permissions of the library located in /bin/ffmpeg for the nginx user (www) and I have tried to move the binary to the location of the Stackposts installation.

    &#xA;