Recherche avancée

Médias (91)

Autres articles (39)

  • 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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (7346)

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

  • Windows Batch File : for /F read only first line of mylist.txt and delete first line afterwards

    20 mai 2018, par J. J.

    I run a batch script :

    FOR /F "tokens=1" %%F IN (mylist.txt) do C:\VideoConverter\Applications\ffmpeg.exe ^
    -f image2 -loop 1 -framerate 0.1 -i "%%~F" -i "%~dpn1.mp3" -codec:v libx264 ^
    -s 1920x1080 -acodec copy -strict experimental -movflags faststart -t 00:10:10.00 ^
    -f mp4 "%~dpn1.mp4"

    In my folder are the following files :

    file001.mp3
    file002.mp3
    file003.mp3

    mylist.txt contains :

    pic001.jpg
    pic002.jpg
    pic003.jpg

    At the moment the script creates 3 videos with 3 different background images for every mp3 in the folder. This is wrong.

    I want to create only these three videos.

    video 1 = file001.mp3 + pic001.jpg (line1)
    video 2 = file002.mp3 + pic002.jpg (line2)
    video 3 = file003.mp3 + pic003.jpg (line3)

    Can someone help me with the for /f command ? Thank you for your help.

  • Create video with ffmpeg from youtube URL ?

    24 septembre 2014, par agustinalesso

    I’m creating a video player for an e-learning platform with javascript. We let our users to upload videos or images & audio from files or youtube videos via URL. When it’s not a Youtube URL, we convert the files in our servers using FFMPEG so our player only handles the same type of files, but I’m having some issues to control the Youtube video from our own controls. What I want to know : Is there a way to take the youtube URL and create a video file using FMMPEG or some other similar way ? The Idea is NOT to control youtube videos using the youtube API, but using instead our own controls.