Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (91)

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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (2384)

  • ffmpeg minimal linux build with only one filter [closed]

    31 juillet 2024, par at8993

    I am aiming to compile a minimal build of ffmpeg for Ubuntu 22.04. The application requires only the concat filter for .mp4s using H.264 video encoder.

    &#xA;

    I have followed this guide and used the following commands to include libx264 only :

    &#xA;

    sudo apt-get update -qq &amp;&amp; sudo apt-get -y install \&#xA;  autoconf \&#xA;  automake \&#xA;  build-essential \&#xA;  cmake \&#xA;  git-core \&#xA;  libass-dev \&#xA;  libfreetype6-dev \&#xA;  libgnutls28-dev \&#xA;  libmp3lame-dev \&#xA;  libsdl2-dev \&#xA;  libtool \&#xA;  libva-dev \&#xA;  libvdpau-dev \&#xA;  libvorbis-dev \&#xA;  libxcb1-dev \&#xA;  libxcb-shm0-dev \&#xA;  libxcb-xfixes0-dev \&#xA;  meson \&#xA;  ninja-build \&#xA;  pkg-config \&#xA;  texinfo \&#xA;  wget \&#xA;  yasm \&#xA;  zlib1g-dev&#xA;&#xA;mkdir -p ~/ffmpeg_sources ~/bin&#xA;&#xA;sudo apt-get install libx264-dev&#xA;

    &#xA;

    and for the configure command I have used the following options with a view to only enable what's necessary for concat.

    &#xA;

    cd ~/ffmpeg_sources &amp;&amp; \&#xA;wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 &amp;&amp; \&#xA;tar xjvf ffmpeg-snapshot.tar.bz2 &amp;&amp; \&#xA;cd ffmpeg &amp;&amp; \&#xA;&#xA;PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \&#xA;  --prefix="$HOME/ffmpeg_build" \&#xA;  --pkg-config-flags="--static" \&#xA;  --extra-cflags="-I$HOME/ffmpeg_build/include" \&#xA;  --extra-ldflags="-L$HOME/ffmpeg_build/lib" \&#xA;  --extra-libs="-lpthread -lm" \&#xA;  --ld="g&#x2B;&#x2B;" \&#xA;  --bindir="$HOME/bin" \&#xA;  --disable-everything \&#xA;  --enable-filter=concat \&#xA;  --enable-avformat \&#xA;  --enable-avdevice \&#xA;  --enable-avcodec \&#xA;  --enable-decoder=h264 &#xA;  --enable-libx264 &#xA;  --enable-muxer=mp4 &#xA;  --enable-gpl&#xA;&#xA;PATH="$HOME/bin:$PATH" make &amp;&amp; \&#xA;make install &amp;&amp; \&#xA;hash -r&#xA;

    &#xA;

    However running

    &#xA;

    ffmpeg -f concat -i files_to_merge.txt -c copy output.mp4&#xA;

    &#xA;

    returns error

    &#xA;

    ffmpeg -f concat -i files_to_merge.txt -c copy output.mp4&#xA;ffmpeg version N-116445-gb1d410716b Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)&#xA;  configuration: --prefix=/home/user/ffmpeg_build &#xA;--extra-cflags=-I/home/user/ffmpeg_build/include --extra-ldflags=-L/home/user/ffmpeg_build/lib &#xA;--extra-libs=&#x27;-lpthread -lm&#x27; &#xA;--ld=g&#x2B;&#x2B; --bindir=/home/user/bin --disable-everything &#xA;--enable-filter=concat --enable-avformat &#xA;--enable-avdevice --enable-avcodec --enable-decoder=h264&#xA; --enable-libx264 --enable-muxer=mp4 &#xA;--enable-gpl&#xA;  libavutil      59. 30.100 / 59. 30.100&#xA;  libavcodec     61. 10.100 / 61. 10.100&#xA;  libavformat    61.  5.101 / 61.  5.101&#xA;  libavdevice    61.  2.100 / 61.  2.100&#xA;  libavfilter    10.  2.102 / 10.  2.102&#xA;  libswscale      8.  2.100 /  8.  2.100&#xA;  libswresample   5.  2.100 /  5.  2.100&#xA;  libpostproc    58.  2.100 / 58.  2.100&#xA;[in#0 @ 0x555605fab640] Unknown input format: &#x27;concat&#x27;&#xA;

    &#xA;

    I assume this is due to the omission of an enable option in the configure command.

    &#xA;

    Thanks !

    &#xA;

  • How can i list all the audio devices on my pc using ffmpeg ? [closed]

    12 octobre 2024, par Daniel Lip

    I'm using ffmpeg version : 2024-07-10

    &#xA;

    I tried this cmd command after running the cmd as admin.

    &#xA;

    ffmpeg -list_devices true -f dshow -i dummy&#xA;

    &#xA;

    but the result is :

    &#xA;

    D:\>ffmpeg -list_devices true -f dshow -i dummy&#xA;ffmpeg version 2024-07-10-git-1a86a7a48d-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 13.2.0 (Rev5, 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-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#xA;  libavutil      59. 28.100 / 59. 28.100&#xA;  libavcodec     61. 10.100 / 61. 10.100&#xA;  libavformat    61.  5.101 / 61.  5.101&#xA;  libavdevice    61.  2.100 / 61.  2.100&#xA;  libavfilter    10.  2.102 / 10.  2.102&#xA;  libswscale      8.  2.100 /  8.  2.100&#xA;  libswresample   5.  2.100 /  5.  2.100&#xA;  libpostproc    58.  2.100 / 58.  2.100&#xA;[dshow @ 000001c1e700f200] Could not enumerate video devices (or none found).&#xA;[dshow @ 000001c1e700f200] Could not enumerate audio only devices (or none found).&#xA;[in#0 @ 000001c1e700ee00] Error opening input: Immediate exit requested&#xA;Error opening input file dummy.&#xA;

    &#xA;

  • Nginx RTMP "Server Error : No Such Stream"

    7 août 2024, par Tony Ruth

    I am trying to capture and stream video within my network 10.100.64.1/24 using libnginx-mod-rtmp. I followed a tutorial. I used the same URL for publishing and playing : rtmp ://10.100.64.4/lab/test But the player does not find the stream.

    &#xA;

    My nginx settings :

    &#xA;

    rtmp {&#xA;&#xA;    server {&#xA;&#xA;        listen 1935;&#xA;        chunk_size 4096;&#xA;        allow publish 127.0.0.1;&#xA;        allow publish 10.100.64.4/24;&#xA;        deny publish all;&#xA;        allow play 127.0.0.1;&#xA;        allow play 10.100.64.4/24;&#xA;        deny play all;&#xA;&#xA;        application lab {&#xA;&#xA;            live on;&#xA;            idle_streams off;&#xA;            record all;&#xA;            record_path /media/HLEV/GoPro/Raw;&#xA;            record_unique on;&#xA;        } &#xA;    }&#xA;} &#xA;

    &#xA;

    The server lives on 10.100.64.4, so I published a video using ffmpeg :

    &#xA;

    ffmpeg -stream_loop -1 -re -i MyVideo.flv -c:v copy -c:a aac -ar 44100 -ac 1 -f flv -flvflags no_duration_filesize rtmp://10.100.64.4/lab/test&#xA;

    &#xA;

    The publishing looks good. Last line of the above command :

    &#xA;

    frame=54030 fps= 60 q=-1.0 size=  119584kB time=00:15:01.00 bitrate=1087.3kbits/s speed=   1x &#xA;

    &#xA;

    And I can see that the video is being saved locally from the record block of the nginx settings.

    &#xA;

    Then I try to play the stream using ffplay :

    &#xA;

    ffplay -i rtmp://10.100.64.4/lab/test&#xA;ffplay version 5.1.5-0&#x2B;deb12u1 Copyright (c) 2003-2024 the FFmpeg developers&#xA;  built with gcc 12 (Debian 12.2.0-14)&#xA;  configuration: --prefix=/usr --extra-version=0&#x2B;deb12u1 --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-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --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 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;[rtmp @ 0x7fe7940015c0] Server error: No such stream=    0B f=0/0   &#xA;rtmp://127.0.0.1/lab/test: Operation not permitted&#xA;    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0 &#xA;

    &#xA;

    ffplay does not find the stream.

    &#xA;

    I can observe both the publish and play commands by examine the access log of nginx :

    &#xA;

    sudo tail -2 /var/log/nginx/access.log &#xA;10.100.64.4 [07/Aug/2024:12:24:56 -0500] PUBLISH "lab" "test" "" - 45365243 529 "" "FMLE/3.0 (compatible; Lavf59.27" (5m 36s)&#xA;10.100.64.4 [07/Aug/2024:12:25:03 -0500] PLAY "lab" "test" "" - 368 412 "" "LNX 9,0,124,2" (0s)&#xA;

    &#xA;

    I have tried using different video streams (directly from a webcam instead of from ffmpeg). I have also tried using different players (VLC instead of ffplay).

    &#xA;

    How do I connect to the stream ?&#xA;Do you need different URLs for publishing versus playing ? The way I understood it, publishing is on port 1395 and playing is on port 80, so there is no conflict with using the same URL.&#xA;Is there a way to list the currently active streams on my server ?

    &#xA;