
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (63)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (8054)
-
ffmpeg sync parts of video or exclude intersection frames
25 octobre 2014, par NadYI have two video files that make part of a bigger one, but both parts contain a portion that repeats itself.
Eg. v1 : 00m-16m ; v2 : 10m-20m ; the part that repeats in both videos it’s 10m-16mIs there a way I could recreate the big video by automatically detect the intersection and exclude it from one of the videos ? Or can I find the time interval of the intersection ?
Thanks !
-
FFMPEG : Cut specific parts of a video, and merge them in a single file
19 février 2017, par Jay D.I would like to cut out specific parts of a mp4 video, and merge back those parts to create a single video file. This is to make an animated preview of the video.
More specifically :
Cut out these parts of a video :- Part 1 : start time of the cut = 20% of total time ; end time of the
cut = 20% of total time + 3seconds, - Part 2 : 40% of total time ; 40%nof total time + 3 seconds
- Part 3 : 60% of total time ; 60% of total time + 3 seconds
- Part 4 : 80% of total time ; 80% of total time + 3 seconds
(The videos are more than 3 minutes long, so there should not be any overlap in the parts)
Then merge those 4 parts in a new mp4 video file. How do you do that with FFMPEG ?
Edit : so this is as far as I got for this question :
I found answers to questions on "Superuser" and "Stackexchange" for these questions on FFMPEG :
How to get video durations in seconds
Cut part from video file with start/end positions
Concatenate mp4 files
So : Get total time of video :
$ ffprobe -v error -show_entries format=duration \
-of default=noprint_wrappers=1:nokey=1 -sexagesimal inputvideo.mp4With the -sexagesimal I should get the right time format to use after.
Cut out part of video
ffmpeg -ss [start] -i in.mp4 -t [duration] -c copy /path/videopart[number].mp4
Right here I don’t know :
How to do an operation on total time (20%, 40%... then 20% +3 seconds, 40% +3 seconds..)
How to properly implement it in the code lineCreate a file videoparts.txt with the files names :
$ cat videoparts.txt
file '/path/videopart1.mp4'
file '/path/videopart2.mp4'
file '/path/videopart3.mp4'
file '/path/videopart4.mp4'Then this should merge them in a single file :
$ ffmpeg -f concat -i videoparts.txt -c copy outputvideo.mp4
- Part 1 : start time of the cut = 20% of total time ; end time of the
-
Resume transcoding a video with ffmpeg
25 novembre 2014, par Jonathan.I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I’d like to resume transcoding the file (similar to -C with curl).
I figured I could just start transcoding the file from where it finished to a seperate file and then just concat the two. And while transcoding the file from where it finished works and the file that starts midway plays back fine, when I concat the two files with
ffmpeg -i "concat:part1.mp4|part2.mp4" -c copy ouput.mp4
Only the first part will play, and when it gets to the second part it just stays on the last frame of the first part or goes black depending on the video player. (But playing part2.mp4 itself works fine)There isn’t any error during either conversion or the concat.