Recherche avancée

Médias (91)

Autres articles (57)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (12998)

  • OpenCV stream captured CAM with H264 (mp4) codec

    28 août 2015, par user1200794

    I like to stream the web cam pictures wich are captured by opencv. I think about a solution with ffmpeg and live555 (poorly they are not document so well). My problems are :

    1. How can convert the captured images to a H264 format so the picures/second match. If it is in a loop I get more than 25 pictures/sekond and the video is to fast.

    2. How can i directly stream the converted H264 stream over the network via rtp / rtps or similar.

    Thanks for your help !

  • How to convert RTSP stream into flv/swf Stream (w. ffmpeg) ?

    22 octobre 2012, par acy

    I want embed a webcam stream (From geovision video server) into a website. Unfortunately only the rtsp stream gives direct access to the video data.

    I tried a bunch of different variants. With this version I got no errors :

    openRTSP -b 50000 -w 352 -h 288 -f 5 -v -c -u admin password rtsp://xxxxxx.dyndns.org:8554/CH001.sdp | \
    ffmpeg -r 5 -b 256000 -f mp4 -i - http://127.0.0.1:8090/feed1.ffm

    Unfortunately I get no video. Sometimes I see a single frame of the webcam, but no livestream.

    This is my ffserver.conf

    Port 8090
    BindAddress 0.0.0.0
    MaxClients 200
    MaxBandwidth 20000
    CustomLog /var/log/flvserver/access.log

    NoDaemon

    # Server Status
    <stream>
    Format status
    </stream>

    <feed>
    File /tmp/feed1.ffm
    FileMaxSize 200K
    ACL allow 127.0.0.1
    </feed>

    # SWF output - great for testing
    <stream>
    # the source feed
    Feed feed1.ffm
    # the output stream format - SWF = flash
    Format swf
    #VideoCodec flv
    # this must match the ffmpeg -r argument
    VideoFrameRate 5
    # another quality tweak
    VideoBitRate 256K
    # quality ranges - 1-31 (1 = best, 31 = worst)
    VideoQMin 1
    VideoQMax 3
    VideoSize 352x288
    # wecams don&#39;t have audio
    NoAudio
    </stream>

    What am I doing wrong ? THe test.swf seems to load forever...

  • Use ffmpeg to add text subtitles

    25 novembre 2016, par 0-alpha

    I am trying to add text subtitles to an .mp4 container using ffmpeg :

    ffmpeg -i input.mp4 -i input.srt -map 0.0 -map 0.1 -map 1.0 output.mp4

    When I am trying to run this line, it gives me an error :

    Nmber of stream maps must match number of output streams.

    If I try to change the mp4 to mkv (although mp4 supports text subtitles), like this :

    ffmpeg -i input.mp4 -i input.srt -map 0.0 -map 0.1 -map 1.0 output.mkv

    It correctly maps the streams, but gives an error :

    Encoder (codec id 94210) not found for output stream #0.2

    When I launch

    ffmpeg -codecs

    I can see that srt codec is supported as decoder and encoder, however I am not sure what is used for mp4 and mkv subs encoding, and whether I need to switch it on or compile separately.