
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (78)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11935)
-
Revision 7066 : suite de suppression des champs pros
3 novembre 2012, par kent1 — Logsuite de suppression des champs pros
-
ffmpeg - concatenate mp4 files + audio from a folder structure
17 septembre 2022, par Ionut BejinariuI use this batch file to concatenate several .mp4 files and then join them with an audio song.


@echo off

mkdir ".\Export" 
set "sourcedir=" 
set "outputdir=Export" 

for %%i in (*.mp4) do echo file '%%i'>> lista.txt
ffmpeg -f concat -safe 0 -i lista.txt -c copy mergedmp4.mp4

for %%F in (*.wav *.mp3) DO ( 
 ffmpeg -i mergedmp4.mp4 -i "%%F" -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k "%outputdir%\%%~nF.mp4"
)

del lista.txt
del mergedmp4.mp4



So far so good, It's working


I would describe what will help me more and I need to happen :


I have this folder structure
\Video-15-sec\Canal-1\Videos-1, Videos-2 .. Videos-15
or sometimes can be until Videos-20 or more, depends how I organize them.

All of Videos folders have .mp4 files in them and are renamed all the time
1.mp4, 2.mp4, 3.mp4 ... 25.mp4 ... 35.mp4 ..etc
each of the Videos folders respect the name of file starting with 1.mp4 to how many are in the folder.

The directory structure is like this :




──Video-15-sec
│ ├───Canal-1
│ │ ├───Videos-1 (.mp4 files in it)
│ │ ├───Videos-2 (.mp4 files in it)
│ │ ├───Videos-3 (.mp4 files in it)
│ │ ├───Videos-4 ...
│ │ ├───Videos-5
│ │ ├───Videos-6
│ │ ├───Videos-7
│ │ ├───Videos-8
│ │ ├───Videos-9
│ │ ├───Videos-10
│ │ ├───Videos-11
│ │ ├───Videos-12
│ │ ├───Videos-13
│ │ ├───Videos-14
│ │ └───Videos-15
│ ├───Canal-2
│ │ ├───Videos-1 (.mp4 files in it)
│ │ ├───Videos-2 (.mp4 files in it)
│ │ ├───Videos-3 (.mp4 files in it)
│ │ ├───Videos-4 ...
│ │ ├───Videos-5
│ │ ├───Videos-6
│ │ ├───Videos-7
│ │ ├───Videos-8
│ │ ├───Videos-9
│ │ ├───Videos-10
│ │ ├───Videos-11
│ │ ├───Videos-12
│ │ ├───Videos-13
│ │ ├───Videos-14
│ │ └───Videos-15
│ ├───Canal-3
│ │ ├───Videos-1 (.mp4 files in it)
│ │ ├───Videos-2 (.mp4 files in it)
│ │ ├───Videos-3 (.mp4 files in it)
│ │ ├───Videos-4 ...
│ │ ├───Videos-5
│ │ ├───Videos-6
│ │ ├───Videos-7
│ │ ├───Videos-8
│ │ ├───Videos-9
│ │ ├───Videos-10
│ │ ├───Videos-11
│ │ ├───Videos-12
│ │ ├───Videos-13
│ │ ├───Videos-14
│ │ └───Videos-15
│ ├───Canal-4



I want to have a separate folder
\allmusic
where I will have all the music, and the batch file will always export with the name of the song.

all the mp4 files of each separate folder
Videos-1, Videos-2 ... Videos-10...
, will be concatenated separately and then joined with a single song, each separate folder, with one song each. All the songs andVideos
folders in loop, until all my songs are done.

The video created will be exported in a separate folder
\Export-all-Videos


Actions of Batch file :


─Video-15-sec
│ ├───Canal-1
│ │ ├───Videos-1 (concatenate.mp4 files from) + 1 song -> Folder \Export-all-Videos\name of the song.mp4
│ │ ├───Videos-2 (concatenate.mp4 files from) + 1 song -> Folder \Export-all-Videos\name of the song.mp4
│ │ ├───Videos-3 (concatenate.mp4 files from) + 1 song -> Folder \Export-all-Videos\name of the song.mp4
│ │ ├───Videos-4 ...
│ │ ├───Videos-5
│ │ ├───Videos-6
│ │ ├───Videos-7



I hope someone has a solution for this.


Thank you very much


-
keep connection alive in ffserver
17 août 2014, par MohammadhzpI have a directory which contain some files,I loop around this files and stream them using ffmpeg to ffserver,the problem is when song is over,the client stop receiving the stream.VLC and jwplayer have this problem-which I tested-(although I can fix this problem in jwplayer by adding repeat : true option but I don’t think it’s such a good idea).
what I need is an option or some trick in ffserver which keep connection alive(at least for a while) so that if a song is over,the next song start automatically(it take 1 second to switch songs),maybe ffserver have a timeout option ?