Recherche avancée

Médias (91)

Autres articles (91)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10839)

  • Laravel FFMpeg - FFMpeg cannot edit existing files in-place

    28 septembre 2020, par wlaskovic

    After I wanted to upload a video in the queue was returned a failed job.

    


     [2020-09-25 13:24:25][125] Processing: App\Jobs\ConvertVideoForStreaming <br /> [2020-09-25 13:24:26][125] Failed:     App\Jobs\ConvertVideoForStreaming&#xA;

    &#xA;

    So I've took from the DB failed_jobs table the response and run the following :

    &#xA;

      C:\ffmpeg\bin\ffmpeg.exe -y -i "C:\wamp64\www\laravel-stream\storage\app/public\WF3UL8fJTSE7BMxa.mp4" -threads 12 -vcodec libx264 -acodec libmp3lame -b:v 500k -refs 6 -coder 1 -sc_threshold 40 -flags &#x2B;loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -trellis 1 -b:a 128k -vf "[in]scale=720:360 [out]" -pass 1 -passlogfile "C:\Users\wlask\AppData\Local\Temp\ffmpeg-passes5f6dd36a4519fd1fev/pass-5f6dd36a452c9" "C:\wamp64\www\laravel-stream\storage\app/public\WF3UL8fJTSE7BMxa.mp4"&#xA;

    &#xA;

    Which returned the following :

    &#xA;

    ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 10.2.1 (GCC) 20200726&#xA;  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-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;C:\wamp64\www\laravel-stream\storage\app/public\WF3UL8fJTSE7BMxa.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42mp41isomavc1&#xA;    creation_time   : 2015-08-07T09:13:02.000000Z&#xA;  Duration: 00:00:30.53, start: 0.000000, bitrate: 411 kb/s&#xA;    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 301 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2015-08-07T09:13:02.000000Z&#xA;      handler_name    : L-SMASH Video Handler&#xA;      encoder         : AVC Coding&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 112 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2015-08-07T09:13:02.000000Z&#xA;      handler_name    : L-SMASH Audio Handler&#xA;

    &#xA;

    &#xA;

    Output C :\wamp64\www\laravel-stream\storage\app/public\WF3UL8fJTSE7BMxa.mp4 same as Input #0 - exiting

    &#xA;

    FFmpeg cannot edit existing files in-place.

    &#xA;

    &#xA;

    This was returned after i've run the command from DB failed jobs table return.

    &#xA;

    How should I solve this ?

    &#xA;

  • How do I access / stream an IP Camera (RTSP, ONVIF) from iOS using Swift

    24 avril 2015, par European

    I am a beginning Swift programmer with no Objective-C experience. I would like to create a UIView subclass which displays a video stream from an IP camera (RTSP, ONVIF).

    It looks like I will need to use the ffmpeg library http://sourceforge.net/projects/ffmpeg-ios/

    I did find one ffmpeg tutorial in Japanese ;-) http://qiita.com/tottokotkd/items/d9d376d5993961627aec

    Does anyone know of a tutorial on streaming an IP camera using Swift ?

  • How do I include FFMpeg for development in a windows program ?

    4 août 2024, par Lama Mao

    I'm trying to follow a tutorial about using the FFMpeg libraries to extract frames from videos in C++ (by Bartholomew).

    &#xA;

    In order to include the libraries, according to the tutorial, it is advised to use pkg-config to find the libraries and put them together so that CMake can include them. In the video he uses homebrew to install ffmpeg and somehow pkg-config is able to find the header files for ffmpeg (libavcodec, libavformat, libavdevice ...)

    &#xA;

    The problem is I don't know how to get the ffmpeg libraries installed so that pkg-config can find them.

    &#xA;

    On windows, I've tried installing the compiled windows binaries, and I've tried installing ffmpeg-full package using chocolatey. However, I fail to see where these header files are installed to.

    &#xA;

    There's a ffmpeg folder in C:/ffmpeg/ but when I look in that there's no header files or libraries, just the binaries. Perhaps I need to clone the entire source project, but then how is pkg-config supposed to find them ? When I try and compile I get this output :

    &#xA;

     Found PkgConfig: C:/Strawberry/perl/bin/pkg-config.bat (found version "0.26") &#xA; Checking for module &#x27;libavcodec&#x27;&#xA; Can&#x27;t find libavcodec.pc in any of C:/Strawberry/c/lib/pkgconfig&#xA; use the PKG_CONFIG_PATH environment variable, or&#xA; specify extra search paths via &#x27;search_paths&#x27;&#xA; CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPkgConfig.cmake:607 (message):&#xA; A required package was not found&#xA; Call Stack (most recent call first):&#xA; C:/Program Files/CMake/share/cmake-3.24/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)&#xA; lib/FFMpeg/CMakeLists.txt:5 (pkg_check_modules)&#xA; Checking for module &#x27;libavcodec&#x27;        &lt;----- here&#xA; Can&#x27;t find libavcodec.pc in any of C:/Strawberry/c/lib/pkgconfig&#xA; use the PKG_CONFIG_PATH environment variable, or&#xA; specify extra search paths via &#x27;search_paths&#x27;&#xA; CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPkgConfig.cmake:607 (message):&#xA; A required package was not found&#xA; Call Stack (most recent call first):&#xA; C:/Program Files/CMake/share/cmake-3.24/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)&#xA; lib/FFMpeg/CMakeLists.txt:5 (pkg_check_modules)&#xA;

    &#xA;

    The contents of C:/Strawberry/c/lib/pkgconfig seem to be a whole load of libraries none of which are from ffmpeg.

    &#xA;

    In case the problem is in my CMakeLists file, here are the contents of the subdirectory file :

    &#xA;

    cmake_minimum_required(VERSION 3.9)&#xA;project(FFMpeg)&#xA;&#xA;find_package(PkgConfig REQUIRED)&#xA;pkg_check_modules(AVCODEC    REQUIRED    IMPORTED_TARGET libavcodec)&#xA;pkg_check_modules(AVFILTER   REQUIRED    IMPORTED_TARGET libavformat)&#xA;pkg_check_modules(AVDEVICE   REQUIRED    IMPORTED_TARGET libavdevice)&#xA;pkg_check_modules(AVUTIL     REQUIRED    IMPORTED_TARGET libavutil)&#xA;pkg_check_modules(SWRESAMPLE REQUIRED    IMPORTED_TARGET libswresample)&#xA;pkg_check_modules(SWSCALE    REQUIRED    IMPORTED_TARGET libswscale)&#xA;&#xA;add_library(FFMpeg INTERFACE IMPORTED GLOBAL)&#xA;&#xA;target_include_directories(&#xA;    FFmpeg INTERFACE&#xA;    ${AVCODEC_INCLUDE_DIRS}&#xA;    ${AVFILTER_INCLUDE_DIRS}&#xA;    ${AVDEVICE_INCLUDE_DIRS}&#xA;    ${AVUTIL_INCLUDE_DIRS}&#xA;    ${SWRESAMPLE_INCLUDE_DIRS}&#xA;    ${SWSCALE_INCLUDE_DIRS}&#xA;)&#xA;&#xA;target_link_options(&#xA;    FFmpeg INTERFACE&#xA;    ${AVCODEC_LDFLAGS}&#xA;    ${AVFILTER_LDFLAGS}&#xA;    ${AVDEVICE_LDFLAGS}&#xA;    ${AVUTIL_LDFLAGS}&#xA;    ${SWRESAMPLE_LDFLAGS}&#xA;    ${SWSCALE_LDFLAGS}&#xA;)&#xA;

    &#xA;

    What have I done wrong/am not understanding ?

    &#xA;