
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (91)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (11268)
-
Ffmpeg split video file to few video files (with fixed duration) with playlist
13 septembre 2020, par Kiril MytsykovI need to split video file by duration (for example, if I have video file with duration of 30sec and I want to get 10 chunks : 3sec, 3sec etc.. and m3u8 playlist).


I have my-video.mp4 (30 sec).
When I run this command :


ffmpeg -i my-video.mp4 -c:v libx264 -c copy -an -map 0 -muxdelay 0 -muxpreload 0 -output_ts_offset 0 -f segment -segment_time 3 -segment_wrap 1000 -segment_list_size 1 -segment_list my-video.m3u8 -segment_list_flags +live my-video-%03d.mp4



The first problem is :
I receive only 4 mp4 files :


my-video-000.mp4 (8sec)
my-video-001.mp4 (8sec)
my-video-002.mp4 (8sec)
my-video-003.mp4 (5sec)



The second problem is :
my-video.m3u8 playlist is created, but with last segment only :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:3
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.033333,
my-video-003.ts 
#EXT-X-ENDLIST



What's wrong with my command. I have tried a lot of different combinations (after reading http://ffmpeg.org/ffmpeg-formats.html#segment_002c-stream_005fsegment_002c-ssegment and similar questions/answers on stackoverflow, but didn't succeed)


-
How to overlay two video files including audio of each video using ffmpeg"
11 janvier 2023, par user255048i would like to merge some music (video file) and singing (video file) into one video file.


i've tried with this :


ffmpeg -i music.mp4 -itsoffset 2 -i sing01.mp4 -filter_complex overlay=635:300 test.mp4



and everything is fine, except that i cannot hear the singing. what i should add to this command to do the job correctly ?


thanks


-
moviepy output video only has sound in vs code and chrome but not in quicktime (the mac video player)
24 janvier 2023, par UrLocalGooseI am using moviepy to make simple videos that require adding background music to a video. I have built essentially the whole application but I ran into a problem when showing people the videos. I tried emailing myself the video and it didn't have any sound, then I tried to play the video with the built in mac video player, quicktime, and it didn't have any sound, however, when I played the video in vs code's video player it worked perfectly, I also used the file path to view the video in chrome, and that worked too. I suspect that it has something to do with the encoding but I am a novice when it comes to video and audio encoding. This is what my code looks like :


from moviepy.editor import *

background_video = VideoFileClip("./background.mp4")

background_music_audio = AudioFileClip("./music.wav")

comp = background_video.set_audio(background_music_audio)

comp.write_videofile("./test.mp4")



I tried to make a video with background music but it had no sound