Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (95)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (8686)

  • ffmpeg : `ffmpeg -i "/video.mp4" -i "/audio.m4a" -c copy -map 0:v:0 -map 1:a:0 -shortest "/nu.mp4"` truncates, how to loop audio to match videos ? [closed]

    18 avril 2024, par Swudu Susuwu

    This is with "FFmpeg Media Encoder" from Google Store (Linux-based Android OS), but it has all the commands of ffmpeg for normal Linux.

    


    -shortest truncates the video to match the audio, and -longest has the last half of the video not have audio (for videos twice as long as audio,)

    


    what to use to loop audio (to match length of video with this) ?

    


    Video length is 15:02, so used ffmpeg -i "/audio.m4a" -c copy -map 0:a:0 "/audionew.m4a"-t 15:02 -stream_loop -1`, but got errors.

    


  • What is the good library for video editing module in react.js ? [closed]

    23 mai 2024, par tayyab manzoor

    I want to add a module for video editing in my web app. I have researched about video editing tools like ffmpeg but it is not working. is there any plugin for video editing or I have to build my own with jquery ?
Thanks

    


    I have tried with npm package like ffmpeg but it is not working and I want to know is there any other pacakge for video editing.

    


  • How do I make text scroll in a single line on a video using FFmpeg without using an additional line ?

    9 mars 2024, par sanjay dangar

    How do I make text scroll in a single line on a video using FFmpeg without using an additional line ?

    


    make text scroll in a single line on a video using FFmpeg on Android, but text shows other lines
    
My code

    


         downloadProgressDialog.show()

outputPath =
            Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).path + "/$fileName.mp4"

        var videoPath = videoPath!!
        var text = bottomTextScroll!!
        var fontPath = fontPath!!
 
        val query = ffmpegQueryExtension.addScrollingTextToVideo(
            videoPath,
            text,
            fontPath,
            outputPath!!

        )
        CallBackOfQuery().callQuery(query, object : FFmpegCallBack {

            override fun success() {
                downloadProgressDialog.clearProgress()
                downloadProgressDialog.dismiss()
                Toast.makeText(
                    this@MainActivity,
                    "Video Download Success",
                    Toast.LENGTH_SHORT
                )
                    .show()
                var notificationText = "Your video has been successfully downloaded."
                showNotification(notificationText)


                var i = Intent(this@MainActivity, VideoShareActivity::class.java)
                i.putExtra("outputPath", outputPath)
                startActivity(i)
                finish()


            }

            override fun cancel() {
                downloadProgressDialog.dismiss()
                Toast.makeText(
                    this@MainActivity,
                    "Video Download Cancel",
                    Toast.LENGTH_SHORT
                )
                    .show()
            }

            override fun failed() {
                downloadProgressDialog.dismiss()
                Toast.makeText(
                    this@MainActivity,
                    "Video Download Fail",
                    Toast.LENGTH_SHORT
                ).show()

                var notificationText = "Your video download Fail."
                showNotification(notificationText)
            }

            //get video download progress
            override fun updateProgress(progress: Int) {
                val duration = getVideoDuration(videoPath!!)  // get video duration

                downloadProgressDialog.updateProgress(progress, duration)
            }

        })


    


    fun addScrollingTextToVideo(&#xA;    videoPath: String,&#xA;    text: String,&#xA;    fontPath: String,&#xA;    outputPath: String&#xA;): Array<string> {&#xA;    val inputs: ArrayList<string> = ArrayList()&#xA;    val scrollSpeed = 5&#xA;    val textSize = 40&#xA;&#xA;    inputs.apply {&#xA;        add("-i")&#xA;        add(videoPath)&#xA;        add("-vf")&#xA;        add("drawtext=fontfile=$fontPath:text=&#x27;$text&#x27;:fontsize=$textSize:fontcolor=white:x=w-(mod($scrollSpeed*n\\,w&#x2B;tw)):y=h-text_h-105")&#xA;        add("-c:a")&#xA;        add("copy")&#xA;        add(outputPath)&#xA;    }&#xA;&#xA;    return inputs.toArray(arrayOfNulls(inputs.size))&#xA;}&#xA;</string></string>

    &#xA;

    make long text scroll in a single line on a video using FFmpeg on Android, but text shows other lines in

    &#xA;

    please give me the solution

    &#xA;