
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (39)
-
Publier sur MédiaSpip
13 juin 2013Puis-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, parWe 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 2011Le 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 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


-
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.mp3mylist.txt contains :
pic001.jpg
pic002.jpg
pic003.jpgAt 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 agustinalessoI’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.