
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (55)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (7405)
-
Merge videos on computer automatically
14 mai 2024, par SkyturkishI have some videos regularly downloaded to my computer, these are short videos, around 10-15 seconds each. I usually use https://online-video-cutter.com/merge-videos to merge them, and it serves my purpose well. I just drag and drop the videos I want and hit the download button without any additional steps.


My goal is to automate this process, so I thought I could merge the videos locally on my computer using ffmpeg. I've tried with JavaScript libraries like ffmpeg-static and ffmpeg-fluent, but I couldn't get the desired result ; I keep encountering an error.


What I want is automation of this process. How can I achieve this ? What can I use and how ? I attribute my inability to accomplish this to myself since what I want seems quite simple. Thank you in advance. Below, I'm leaving the JavaScript code I tried, but it gives me an error : 'ffmpeg exited with code 234 : Error opening output file ./merged-video.mp4. Error opening output files : Invalid argument.'


The number of videos is not fixed ; if an example is needed, let's say the first 30 files under a folder.


The videos are in mp4 format, and their frame sizes vary


I don't have much knowledge about videos, but other things could be different too, not just the frame sizes. The website I shared above handles all of these somehow. It's a bit off-topic, but is it possible to learn how the process on the mentioned website works(look at the source code somehow, Idk) ?


If there's any other way to automatically merge these videos, I would appreciate it if you could share it.


const fs = require('fs')
const path = require('path')
const ffmpeg = require('fluent-ffmpeg')

function mergeVideos(folderPath, outputFile) {
 fs.readdir(folderPath, (err, files) => {
 if (err) {
 console.error('Error:', err)
 return
 }

 const videoFiles = files.filter((file) => {
 const ext = path.extname(file).toLowerCase()
 return ext === '.mp4'
 })

 const command = ffmpeg().outputOptions('-movflags frag_keyframe+empty_moov')
 videoFiles.forEach((file) => {
 command.input(path.join(folderPath, file))
 })

 command.on('error', (err) => {
 console.error('ffmpeg error:', err.message)
 })

 command.on('end', () => {
 console.log('merged')
 })

 command
 .complexFilter(
 '[0:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease[v0];[1:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease[v1];[v0][v1]hstack=inputs=2[v]'
 )
 .outputOptions('-map', '[v]')
 command.mergeToFile(outputFile, folderPath)
 })
}

const folderPath = '../../upload-videos/1/2'
const outputFile = './merged-video.mp4'
mergeVideos(folderPath, outputFile)



-
Videos encoded by FFMPEG (mpeg codec) cannot be played on iOS14
28 septembre 2020, par vanste25I have a piece of code that uses ffmpeg with default mpeg codec to merge multiple videos and audio songs.


ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "concat=n=2:v=1:a=1" -f MOV -vn -y output.mp4



Everything worked on iOS13 and after the update to iOS14, videos are black and cannot be played by any player. Sound is there and it's good.
I tried to switch to h264 and it works good, but as you already know, h264 is under GPL and it is expensive and requires code to be open sourced which is not acceptable for me.


What was changed ? Anything in release notes ?
Is that a bug ? Or a feature ?


Thanks


-
can we play ffplay videos continuously ? [closed]
19 avril 2021, par Eswar TMy requirement is to play ffplay videos as they are joined
I do know we can play the one after the other using


ffplay -i 1.mp4 && ffplay -i 2.mp4



but here using this method a tab is being opened for each video and I need close to starting playing video some query is there a way to day them directly without this opening and closing tabs


Hope my query is clear
Thank you


I want to play edited videos how we can do with ffplay


ffplay -i 1.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30) && ffplay -i 2.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30)