Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

    18 février 2011, par

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6687)

  • Lightweight encoding method for RTSP stream ?

    2 décembre 2020, par nukaboy

    what i am trying to do is to save a RTSP-stream as a file with some text overlay (so copy is not an option) on a Raspberry Pi. I tried using FFMPEG, but even with ultrafast settings the CPU load is way too high. Is there a faster encoding method or a completely different approach that i am missing ?

    


    ffmpeg -rtsp_transport tcp -i rtsp://x:y@ip/stream1 -vcodec libx264 -preset ultrafast -crf 0 -segment_time 3600 -t 3600 -f segment -y -strftime 1 -vf drawtext="fontcolor=white:fontsize=30:text='%{localtime}'",drawtext="fontcolor=white:fontsize=30:textfile=text.txt:x=600" /home/pi/NAS1/Elements/Videos/%Y-%m-%d_%H-%M-%S_file.mp4


    


  • FFMPEG in Android not rendering Arabic characters

    14 octobre 2024, par Henry Smith

    I have an Android app that uses FFMPEG to add text overlays onto a mp4 video files.

    


    It works fine with a Latin alphabet, but when I try and add Arabic characters as an overlay on the .mp4 file, the output video displays rectangles (assuming unrecognised characters).

    


    FFMPEG command example is :
-y -i video-in.mp4 -preset ultrafast -vf "[in]drawtext=text='نقطة البداية قلا':enable='between(t, 0,5)':fontcolor=White:fontsize=20:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2,drawtext=text='وصلات مزاحجة كبيرة الإزاحة (من ١٢ إلى ٤)':enable='between(t, 15,20)':fontcolor=White:fontsize=20:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2[out]" -r 24 "video-out.mp4"

    


    Output mp4 video comes out a below :
enter image description here

    


    Using Android SDK Version 13, FFMPEG plugin : com.arthenica:mobile-ffmpeg-full-gpl:4.4

    


    Class example code :

    


    import com.arthenica.mobileffmpeg.ExecuteCallback
import com.arthenica.mobileffmpeg.FFmpeg

class VideoUtils() {

    fun addTextOverlay(inputFile: String, outputFile: String, text: String) {
        // create video filter for overlay text between 0 - 5 seconds, centre aligned, white font and black box
        val tempTextString =
            "drawtext=text='$text:enable='between(t, 0,5)':fontcolor=White:fontsize=20:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2"

        // create FFMPEG command
        val cmd =
            "-y -i $inputFile -preset ultrafast -vf \"[in]$tempTextString[out]\" -r 24 \"$outputFile\""

        FFmpeg.execute(cmd)
    }
}


    


  • Bug fix

    24 novembre 2013, par Grandt
    Bug fix
    

    Fixed a little bug caused by a github pull.