
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (36)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (5964)
-
How To create .webm video from MP4 file while file uploaded in website [closed]
28 août 2020, par Den JarwoCan Someone help me how to create .webm video from MP4 file,(etc) while file uploaded from every users in my website.



I Need Like this :


1. i am uploaded MP4 or other file video format, and while uploaded the video automatically generateing .webm file.


2. the generated (.webm) file will take 10sec duration for descripting video from start till end of video with small size file.


3. and generating 1 or 4 .jpg image (optional for choice image for thumbnail video).





I am work with framework Ci4, HTML5, CSS, Jquery and JavaScript


-
ffmpeg : adding an audio file to a video at specified delays
15 juillet 2020, par JarsOfJam-SchedulerI have an array that may contain multiple occurrences of these terms : 'video, forest'. An audio file is added to the video file when the current element of this array I iterate is 'forest'. Otherwise, not. 'video and forest' elements will increment (of 5 seconds) the delay at which an audio file will be added. Example : the array contains "video, video, forest, video, forest". The first audio file will be added at delay=15000ms. The last one, at 25000ms. Computation details : 0 (initialization) + 5000 (video) + 5000 (video) + 5000 (forest) + 5000 (video) + 5000 (forest). 5000 + 5000 + 5000 = 15000. 5000*5 = 25000.


I use ffmpeg to implement this program. The problem is that only one audio file is added, at the beginning of my video file. So the delays are not actually taken into account I think.


Note that the video file also contains a music. The audio files that I try to add must be present in the video file in addition to this music. The first line of the following code adds the music to the video. The next lines try to add the audio files at good delays.


subprocess.call(
 ['C:/Users/XYZ/Downloads/ffmpeg/bin/ffmpeg.exe', '-i', 'XYZ/my_XYZ_video.webm', '-stream_loop', '-1', '-i', 'tmp_music/original_music.wav',
 '-c:v', 'copy', '-shortest', '-fflags', '+shortest', '-max_interleave_delta', '100M',
 'XYZ/my_XYZ_video_with_music.webm']
 , cwd='C:/Users/XYZ/Desktop/XYZ/')

chosen_songs = ['video', 'forest', 'forest', 'video']

time_for_ffmpeg = 0
for chosen_song in chosen_songs:
 if chosen_song == 'video':
 print('video')
 print(time_for_ffmpeg)
 time_for_ffmpeg += 2000 

 elif chosen_song == 'forest':
 print('forest')
 print(time_for_ffmpeg)
 subprocess.call(
 ['C:/Users/XYZ/Downloads/ffmpeg/bin/ffmpeg.exe', '-i', 'XYZ/my_XYZ_video_with_music.webm', '-i', 'tmp_music/forest.mp3',
 '-filter_complex',
 '[1]adelay=' + str(time_for_ffmpeg) + '|' + str(time_for_ffmpeg) + '[a1];[0][a1]amix', '-c:v', 'copy',
 'XYZ/my_XYZ_video_with_music_with_songs.webm']
 , cwd='C:/Users/XYZ/Desktop/XYZ/')
 time_for_ffmpeg += 5000
 



My question


Why can't I add the audio files corresponding to the forest the specified delays (implemented by
the variable
time_for_ffmpeg`) ? How could I fix my code ?

-
How to run ffmpeg in a scheduled batch file with a file exclusion list ?
5 juin 2022, par MrZoopsI have the following batch file created to run as a schedule task. It auto encodes the audio to AAC in my main media folder. Everything is working, but now I need to do 2 more things :



- 

- Delete the original upon completion.
- Set it so that the next time it runs, it does not try to convert the already converted files.







Is that possible ? How would that look ? Is there a way to "disregard" file names with
CONVERTED
in them ?


for /r "C:\Users\USER\Desktop\TEST" %%a in ("*.mkv") do ffmpeg -i "%%a" -vcodec copy -acodec aac -ac 2 -ab 256K %%~dpnaCONVERTED.mkv