Recherche avancée

Médias (91)

Autres articles (91)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11915)

  • How do I convert RTSP stream for iOS browser viewing

    27 juin 2018, par humble_coder

    TL ;DR

    I need to convert full RTSP (A/V) stream from Axis IP cameras to be viewed in a fully-contained/not-full-screen div in an iOS browser. Think : "Youtube live stream as viewed from iOS browser". I’ve seen several links that hint at the issue. . .

    . . .but they’re either "incomplete" or out of date.

    The solution must be local and remain behind site firewall (so no external services).

    MORE DETAIL

    I’m currently writing a custom "Axis IP Camera Manager" Vue/Laravel web app for a client. The initial requirements were very simple :

    1. scan network for axis devices and store addresses/info for future use

    2. display grid of MJPEG for selected camera(s).

    The initial requirements were fairly straightforward. Now, though, there are additional requirements :

    1. Record RTSP stream to [seconds] long MP4 streams.

    2. Convert an RTSP stream from AXIS IP CAMERA to something viewable in both desktop and mobile browsers with full A/V.

    I’ve successfully managed #3 by using ffmpeg to capture and store the stream to MP4. However, I’m no video aficionado, and the nature of #4 is still a bit fuzzy to me. Per my understanding I can’t watch RTSP streams in a browser in iOS, but I also can’t stream an "in-process" MP4 over HTTP. I’ve seen references to several items such as Red5, Live555, Wowza, ffserver (discontinued ?), etc. but I’m completely unfamiliar with them. In the short term, I’m looking for a quick "live" conversion solution. In the long term, I’m interested in a deeper understanding of the issue(s) at hand. Any current info/expertise/links/manuals would be appreciated.

  • FFMPEG : Fixing stutter in low-motion areas

    11 juillet 2018, par stevendesu

    I’m trying to create videos with a very specific handful of requirements using FFMPEG :

    • Must have a very low (ideally less than 0.5 seconds) keyframe rate
    • Must have a moderately low ( 1Mbps) bitrate
    • Must run at a reasonable ( 24fps) framerate
    • Must have a width multiple of 4
    • Must not have any B-frames
    • Must be H.264 baseline encoded
    • Must be FLV

    Encoding speed is of no concern. If it takes 2 minutes to encode 1 second of video, that’s absolutely fine. What matters is that the output retains quality at the lowest possible bitrate.

    To this effect I currently have the following FFMPEG command :

    ffmpeg \
       -fflags +genpts \
       -i big_buck_bunny_1080p_stereo.avi \
       -vf "scale=trunc(360*iw/ih/4)*4:360" \
       -vf "settb=1/1000" \
       -r 24 \
       -g 6 \
       -keyint_min 6 \
       -force_key_frames "expr:gte(t,n_forced/4)"\
       -c:v libx264 \
           -preset veryslow \
           -tune zerolatency \
           -profile:v baseline \
           -pix_fmt yuv420p \
       -b:v 1000k \
       -c:a speex \
           -ar 16000 \
           -ac 1 \
       -b:a 64k \
       -f flv bbb_lo.flv

    I wish to experiment with various encoding options (me_method, subq, etc) to see how they all affect quality and bitrate. Before that, though, I’ve got an immediate quality issue to address with the command above.

    See the video here on YouTube

    I’ve clipped just a portion of the video that really demonstrates the issue. When an area of the screen undergoes very slight changes in color, there are no motion vectors. This means that certain sections of the video go un-updated until the next keyframe. This can be seen strongly in the tree on the left at the beginning of the video or in the bunny while he’s still asleep. If a viewer were staring at certain regions of the screen it may look like the video is only running at 4 frames per second (my keyframe rate) even though the video is actually running at 24 frames per second — it just isn’t updating the entire screen.

    I’d be okay if these areas of the screen became heavily blurred so long as the motion is preserved. Doing a bit of research I thought that the options -flags2 -fastpskip would fix this, however this option is not working for me :

    [libx264 @ 0x55b63e32c760] [Eval @ 0x7ffea2a7a830] Undefined constant or missing '(' in 'fastpskip'
    [libx264 @ 0x55b63e32c760] Unable to parse option value "fastpskip"
    [libx264 @ 0x55b63e32c760] Error setting option flags2 to value -fastpskip.

    How can I fix this to preserve motion at the cost of image quality ?

  • Restrict FFmpeg/FFserver stream to logged user

    11 juillet 2018, par Homero Bonomini

    I have a live feed setup with FFmpeg streaming audio/video from a webcam through a FFserver. Also, I have a Apache server running a website with a login page, all on the same machine.

    The question is : how can I protect this live stream over a user authentication, so that my camera doesn’t go public ?

    The goal is to provide the resource over http://myexternalip/camera-for-auth-user, for example. The login routes are working fine, but anyone with the stream link (e.g. http://myexternalip:1099/camera.webm) can watch the stream.

    In the website adding a video element with a local reference, after a user authentication :

    <video controls="controls">
    </video>

    obviously fails, since the remote client tries to access the resource on itself. However, I think some sort of local redirect, or maybe don’t use FFServer at all, would meet my needs, but I couldn’t manage to find out how.