
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (107)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (9217)
-
What is the good library for video editing module in react.js ? [closed]
23 mai 2024, par tayyab manzoorI 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 dangarHow 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(
 videoPath: String,
 text: String,
 fontPath: String,
 outputPath: String
): Array<string> {
 val inputs: ArrayList<string> = ArrayList()
 val scrollSpeed = 5
 val textSize = 40

 inputs.apply {
 add("-i")
 add(videoPath)
 add("-vf")
 add("drawtext=fontfile=$fontPath:text='$text':fontsize=$textSize:fontcolor=white:x=w-(mod($scrollSpeed*n\\,w+tw)):y=h-text_h-105")
 add("-c:a")
 add("copy")
 add(outputPath)
 }

 return inputs.toArray(arrayOfNulls(inputs.size))
}
</string></string>


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


please give me the solution


-
Evolution #3436 (Fermé) : Forum : id_thread = 0
18 février 2021, par cedric -