Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (80)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

Sur d’autres sites (4290)

  • ffmpeg -i desktop Output file does not contain any stream [closed]

    29 novembre 2024, par Antonio

    I'm trying to screen record a remote Windows VM machine which I'm accessing through ssh. I'm executing this command ffmpeg -f gdigrab -framerate 30 -i desktop -t 00:00:10 output.mp4 which is returning the following error :

    &#xA;

    ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 14.2.0 (Rev1, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --en&#xA;able-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libss&#xA;h --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lib&#xA;aom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enabl&#xA;e-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2&#xA;--enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme&#xA;--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --en&#xA;able-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#xA;  libavutil      59. 39.100 / 59. 39.100&#xA;  libavcodec     61. 19.100 / 61. 19.100&#xA;  libavformat    61.  7.100 / 61.  7.100&#xA;  libavdevice    61.  3.100 / 61.  3.100&#xA;  libavfilter    10.  4.100 / 10.  4.100&#xA;  libswscale      8.  3.100 /  8.  3.100&#xA;  libswresample   5.  3.100 /  5.  3.100&#xA;  libpostproc    58.  3.100 / 58.  3.100&#xA;[gdigrab @ 000001a87f3af600] Capturing whole desktop as 1024x768x32 at (0,0)&#xA;[gdigrab @ 000001a87f3af600] Failed to capture image (error 5)&#xA;[gdigrab @ 000001a87f3af600] Could not find codec parameters for stream 0 (Video: bmp, none, 754987 kb/s): unspecified size&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#x27;probesize&#x27; (5000000) options&#xA;Input #0, gdigrab, from &#x27;desktop&#x27;:&#xA;  Duration: N/A, bitrate: 754987 kb/s&#xA;  Stream #0:0: Video: bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;[out#0/mp4 @ 000001a87f3aeec0] Output file does not contain any stream&#xA;Error opening output file output.mp4.&#xA;Error opening output files: Invalid argument&#xA;

    &#xA;

    If I take a remote desktop connection and use the same command, then it works perfectly.

    &#xA;

    I've also tried running ffmpeg.exe -f lavfi -i color=c=black:s=800x600:r=30:d=60 out.mp4 which records something but it's just a black screen.

    &#xA;

    Does anyone have any idea what could be happening ? I'm clueless at this point as I haven't been able to find more info online.

    &#xA;

  • using mediamtx to stream video to browser [closed]

    18 octobre 2024, par Maximilian

    I am using rtsp to feed a video stream to mediamtx.

    &#xA;

    I want to display the feed in a browser but always get some errors.

    &#xA;

    I use the following to start mediamtx

    &#xA;

    podman run --rm -it -e MTX_PROTOCOLS=tcp -e MTX_WEBRTCADDITIONALHOSTS=192.168.x.x -p 8554:8554 -p 1935:1935 -p 8888:8888 -p 8889:8889 -p 8890:8890/udp -p 8189:8189/udp docker.io/bluenviron/mediamtx&#xA;

    &#xA;

    I use this ffmpeg line to feed mediamtx :

    &#xA;

    ffmpeg -i "rtsp://127.0.0.1:10000/test" -f rtsp rtsp://127.0.0.1:8554/feed&#xA;

    &#xA;

    I can view the feed with

    &#xA;

    ffplay  rtsp://localhost:8554/feed&#xA;

    &#xA;

    ffplay says some things about my stream

    &#xA;

    the mediamtx stream

    &#xA;

    Input #0, rtsp, from &#x27;rtsp://localhost:8554/feed&#x27;:&#xA;  Metadata:&#xA;    title           : Session streamed with GStreamer&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 30 tbc&#xA;

    &#xA;

    the source stream

    &#xA;

    Input #0, rtsp, from &#x27;rtsp://localhost:10000/test&#x27;:&#xA;  Metadata:&#xA;    title           : Session streamed with GStreamer&#xA;    comment         : rtsp-server&#xA;  Duration: N/A, start: 0.199989, bitrate: N/A&#xA;  Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(tv, smpte170m, progressive), 320x240 [SAR 1:1 DAR 4:3], 30 fps, 30 tbr, 90k tbn, 60 tbc&#xA;

    &#xA;

    I use this html code try to display the video :

    &#xA;

    &#xA;    &#xA;&#xA;

    &#xA;

    mediamtx gives the following output when the browser tries to connect :

    &#xA;

    2024/10/18 07:52:51 INF [RTSP] [session 7fe6a91a] created by 10.0.2.100:57542&#xA;2024/10/18 07:52:51 INF [RTSP] [session 7fe6a91a] is publishing to path &#x27;feed&#x27;, 1 track (MPEG-4 Video)&#xA;2024/10/18 07:52:52 INF [WebRTC] [session 9d4fb884] created by 10.0.2.100:55070&#xA;2024/10/18 07:52:52 INF [WebRTC] [session 9d4fb884] closed: the stream doesn&#x27;t contain any supported codec, which are currently AV1, VP9, VP8, H264, Opus, G722, G711, LPCM&#xA;

    &#xA;

    The stream is clearly h264... why is it complaining ?

    &#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;