Advanced search

Medias (91)

Other articles (53)

  • (Dés)Activation de fonctionnalités (plugins)

    18 February 2011, by

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 April 2011, by

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • Des sites réalisés avec MediaSPIP

    2 May 2011, by

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

On other websites (9668)

  • VLC RTSP HTML5 transcoding

    30 May 2022, by Pierogi

    I'm trying to get audio streaming on an HTML page from an RTSP server.

    


    The RTSP server is the rtsp-simple-server running a command line below.
    
./rtsp-simple-server rtsp-simple-server.yml.
    
The configure file is the default.

    


    The stream player is FFmpeg running a command line below.
    
ffmpeg -re -stream_loop -1 -i myaudio.mp3 -c copy -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream

    


    The console log at the time the rtsp-simple-server and the ffmpeg are started is below.

    


    2022/05/29 19:06:38 INF rtsp-simple-server v0.18.4
2022/05/29 19:06:38 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2022/05/29 19:06:38 INF [RTMP] listener opened on :1935
2022/05/29 19:06:38 INF [HLS] listener opened on :8888
2022/05/29 19:09:16 INF [RTSP] [conn [::1]:62737] opened
2022/05/29 19:09:16 INF [RTSP] [session 271690815] created by [::1]:62737
2022/05/29 19:09:16 INF [RTSP] [session 271690815] is publishing to path 'mystream', 1 track with TCP


    


    And the time the rtsp path(rtsp://localhost:8554/mystream) is opened by VLC, the contents can be played properly. The additional console log at the time is below.

    


    2022/05/29 19:13:19 INF [RTSP] [conn 127.0.0.1:62780] opened
2022/05/29 19:13:19 INF [RTSP] [session 734209460] created by 127.0.0.1:62780
2022/05/29 19:13:19 INF [RTSP] [session 734209460] is reading from path 'mystream', 1 track with UDP
2022/05/29 19:13:29 INF [RTSP] [session 734209460] destroyed (teared down by 127.0.0.1:62780)
2022/05/29 19:13:29 INF [RTSP] [conn 127.0.0.1:62780] closed (EOF)
2022/05/29 19:13:29 INF [RTSP] [conn 127.0.0.1:62781] opened
2022/05/29 19:13:29 INF [RTSP] [session 445756113] created by 127.0.0.1:62781
2022/05/29 19:13:29 INF [RTSP] [session 445756113] is reading from path 'mystream', 1 track with TCP


    


    However, I open the rtsp streaming from the VLC's "Network" tab like below,
enter image description here

    


    and configure the "Stream output" like below,
enter image description here

    


    and I tried to get this streaming from an HTML page like below,

    


    &#xA;&#xA;  &#xA;    &#xA;    &#xA;  &#xA;  &#xA;    <h1>transcode test</h1>&#xA;    <audio src="http://localhost:9999/mystream" autoplay="autoplay"></audio>&#xA;  &#xA;&#xA;

    &#xA;

    the browser console displays Failed to load resource: the server responded with a status of 404 (Not found). I've already tried other ports(etc. 8080).

    &#xA;

    So, how can I get the rtsp stream from the RTSP server on an HTML page.&#xA;Any idea?

    &#xA;

    My environment.

    &#xA;

      &#xA;
    • Browser: Microsoft edge
    • &#xA;

    • OS: MacOS 11.6.5
    • &#xA;

    • rtsp-simple-server: 0.18.4
    • &#xA;

    • FFmpeg: 5.0.1
    • &#xA;

    • VLC: 3.0.17.3
    • &#xA;

    &#xA;

  • ffmpeg Batch Replace MP4 Thumbnails

    1 June 2022, by pglove

    Windows 10, 2022 build of ffmpeg

    &#xA;

    I found this command to replace the thumbnails on mp4 files:

    &#xA;

    ffmpeg -i video.mp4 -i image.png -map 1 -map 0 -c copy -disposition:0 attached_pic out.mp4&#xA;

    &#xA;

    here:&#xA;How do I add a custom thumbnail to a .mp4 file using ffmpeg?

    &#xA;

    I have modified it to use jpg instead of png, and have a folder full of videos and images.

    &#xA;

    ffmpeg -i ###.mp4 -i ###.jpg -map 1 -map 0 -c copy -disposition:0 attached_pic ###-new.mp4&#xA;

    &#xA;

    Every mp4 has an alpha-numeric name with a corresponding jpg of the same name.

    &#xA;

    I generated a list of commands I would need for each file, so I have 100 commands.

    &#xA;

    If I copy and paste one line at a time it works, but when I copy and paste all 100 lines into the command line on windows it seems like one or two files process as expected, but the rest fail.

    &#xA;

    I'm pretty sure I'm just missing a step, and any help would be much appreciated turning it into a batch process.

    &#xA;

    Thanks

    &#xA;

    *I just tried with 2 lines, the first processed, the second stopped.

    &#xA;

    Some feedback would be nice if I've posed the question poorly, not provided enough information, or done something else wrong to deserve a downvote already. I don't use forums very often, I try to only ask when I'm stumped, so perhaps my etiquette is poor. I thought I followed correct procedure...

    &#xA;

  • Problem with ffplay from webcam stream using complex filters

    29 May 2022, by efelbar

    I'm trying to stream video from a webcam (at /dev/video2) through ffplay to scale and recolor it, add some text, and then reduce the number of colors with palettes. I don't get any errors, but running the ffplay command:

    &#xA;

    ffplay -i /dev/video2 -vf "hflip,\&#xA;  colorbalance=\&#xA;    rs=0.4:\&#xA;    bs=-0.4\&#xA;  ,\&#xA;  scale=\&#xA;    trunc(iw/8):\&#xA;    trunc(ih/8)\&#xA;  ,\&#xA;  drawtext=\&#xA;    text=\&#xA;      &#x27;efelbar&#x27;:\&#xA;      fontcolor=white:\&#xA;      fontsize=10:\&#xA;      box=1:\&#xA;      boxcolor=black:\&#xA;      boxborderw=5:\&#xA;      x=(w-text_w)/2:\&#xA;      y=(h-text_h)/2\&#xA;  ,\&#xA;  split[s0][s1];\&#xA;  [s0]palettegen=\&#xA;    max_colors=16\&#xA;  [p];\&#xA;  [s1][p]paletteuse"&#xA;

    &#xA;

    seems to stall, and fails to produce video output.

    &#xA;

    Running the simpler command ffplay -i /dev/video2 -vf "split[s0][s1];[s0]palettegen=max_colors=16[p];[s1][p]paletteuse", which takes a stream from a webcam and (should) reduce the number of colors, results in it just sitting there without showing the actual output stream. This might just be a performance issue because I'm on older hardware, but it doesn't give output relfective of that.

    &#xA;

    The output of that command is as follows:

    &#xA;

    ffplay version n5.0 Copyright (c) 2003-2022 the FFmpeg developers&#xA;  built with gcc 11.2.0 (GCC)&#xA;  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3&#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;Input #0, video4linux2,v4l2, from &#x27;/dev/video2&#x27;:B sq=    0B f=0/0   &#xA;  Duration: N/A, start: 254970.739108, bitrate: 147456 kb/s&#xA;  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn&#xA;

    &#xA;

    I'm running this on a thinkpad t420s, so I definitely wouldn't be surprised if my laptop just can't process video that quickly. If that is the case, suggestions for optimizations would be great!

    &#xA;