Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (110)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (4179)

  • Problem in access "libavcodec/avcodec.h" in CPP [duplicate]

    14 septembre 2021, par Sujay

    Note : Not full working code but part of the code.
Problem is when trying to compile it shows the below output.
FFMPEG have installed.
No flag in VS code but error occurred on compile time.
Thanks in Advance.

    


    #include<bits></bits>stdc&#x2B;&#x2B;.h>&#xA;#include<opencv2></opencv2>opencv.hpp>&#xA;&#xA;extern "C" {&#xA;    #include "libavcodec/avcodec.h"&#xA;    #include "libavformat/avformat.h"&#xA;    #include "libavutil/mathematics.h"&#xA;    #include "libavutil/pixfmt.h"&#xA;    #include "libswscale/swscale.h"&#xA;}&#xA;&#xA;using namespace std;&#xA;using namespace cv;&#xA;&#xA;int main(){&#xA;&#xA;&#xA;&#xA;    AVPacket avpkt; int err, frame_decoded = 0;&#xA;    AVCodec *codec = avcodec_find_decoder ( AV_CODEC_ID_H264 );&#xA;    AVCodecContext *codecCtx = avcodec_alloc_context3 ( codec );&#xA;    avcodec_open2 ( codecCtx, codec, NULL );&#xA;    // Set avpkt data and size here&#xA;    // err = avcodec_decode_video2 ( codecCtx, avframe, &amp;frame_decoded, &amp;avpkt );&#xA;    return EXIT_SUCCESS;&#xA;}&#xA;&#xA;

    &#xA;

    Output :

    &#xA;

    h264.cpp:(.text&#x2B;0x15): undefined reference to `avcodec_find_decoder&#x27;&#xA;h264.cpp:(.text&#x2B;0x25): undefined reference to `avcodec_alloc_context3&#x27;&#xA;h264.cpp:(.text&#x2B;0x41): undefined reference to `avcodec_open2&#x27;&#xA;collect2: error: ld returned 1 exit status &#xA;

    &#xA;

  • FFmpeg's common filter "v360" missing

    26 septembre 2021, par Niklas E.

    I'm trying to convert a 180° fisheye video to a normal/regular video using the v360 filter of FFmpeg.

    &#xA;

    This is the command I tried :
    &#xA;ffmpeg -i in.mp4 -vf "v360=input=fisheye:output=flat:iv_fov=180:v_fov=90" out.mp4

    &#xA;

    But the output says clearly No such filter: &#x27;v360&#x27;, although v360 is a common filter listed in docs and other filters I used before worked just fine. I tried updating/reinstalling and looking for solutions, not fixing it.

    &#xA;

    Why is the filter missing ? How can I debug this ? Should I doe the task using another program entirely ?

    &#xA;

    Command output :

    &#xA;

    ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;in.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42mp41&#xA;    creation_time   : 2021-09-11T14:18:33.000000Z&#xA;  Duration: 00:02:48.02, start: 0.000000, bitrate: 26056 kb/s&#xA;    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 2160x1080 [SAR 1:1 DAR 2:1], 25924 kb/s, 50 fps, 50 tbr, 50k tbn, 100 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-09-11T14:18:33.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      encoder         : AVC Coding&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-09-11T14:18:33.000000Z&#xA;      handler_name    : Mainconcept MP4 Sound Media Handler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[AVFilterGraph @ 0x55ee57567340] No such filter: &#x27;v360&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:0&#xA;Conversion failed!&#xA;

    &#xA;

  • ffmpeg conversion executable file output ".MOD : no files in such directory"

    11 octobre 2023, par Zezaps

    I installed ffmpeg using Homebrew in macOS 12.2. I have a folder of MOD files from an old camera that I need to convert to MOV or MP4 to edit them, I have a .bat file in my Windows machine that I can run on a folder that has MOD files to batch convert them to MP4 or MOV that I can easily tweak but I'm kinda clueless with how to do this on my new (and first) Mac, I came across this script that I managed to use once through the terminal but tried putting it in a executable file so I can easily run it and copy it in every folder that I need to for new projects. When I created the exec file I'm not sure if I did it correctly though.

    &#xA;

    for i in *.MOD;&#xA;  do name=`echo "$i" | cut -d&#x27;.&#x27; -f1`&#xA;  echo "$name"&#xA;  ffmpeg -i "$i" "${name}.MOV"&#xA;done&#xA;

    &#xA;

    This script is inside an exec file that I edited using TextEdit, it works sometimes if I go to the directory through the terminal and run it but if I run it double clicking it I get a ".MOD : Not such file or directory" even though I placed the exec on a folder that has multiple .MOD files.

    &#xA;

    Here is the full terminal output

    &#xA;

    Last login: Sat Apr 23 20:00:38 on ttys001&#xA;/Users/anwar/Movies/FILMS/ANWAR/BLUE/old/batmodmp4 ; exit;&#xA;anwar@MacBook-Pro-de-Anwar ~ % /Users/anwar/Movies/FILMS/ANWAR/BLUE/old/batmodmp4 ; exit;&#xA;*&#xA;ffmpeg version 5.0 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with Apple clang version 13.0.0 (clang-1300.0.29.30)&#xA;  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon&#xA;  libavutil      57. 17.100 / 57. 17.100&#xA;  libavcodec     59. 18.100 / 59. 18.100&#xA;  libavformat    59. 16.100 / 59. 16.100&#xA;  libavdevice    59.  4.100 / 59.  4.100&#xA;  libavfilter     8. 24.100 /  8. 24.100&#xA;  libswscale      6.  4.100 /  6.  4.100&#xA;  libswresample   4.  3.100 /  4.  3.100&#xA;  libpostproc    56.  3.100 / 56.  3.100&#xA;*.MOD: No such file or directory&#xA;&#xA;Saving session...&#xA;...copying shared history...&#xA;...saving history...truncating history files...&#xA;...completed.&#xA;

    &#xA;