
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (95)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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, parComme 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 SusuwuThis 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 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