
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (105)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
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 -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (7177)
-
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
-
FFMPEG Draw Text Returning "At least one output file must be specified"
2 janvier 2017, par Rocco MI am simply trying to overlay text using the same script as this question’s top answer : Text on video ffmpeg
ffmpeg -i input.mp4 -vf drawtext="fontfile=/path/to/font.ttf: \
text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: \
boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy output.mp4The output file is never made however, and instead I am returned with the error "At least one output file must be specified".
-
ffmpeg throwing "Output file #0 does not contain any stream" when trying to make a slideshow out of images
25 novembre 2016, par Abdou TahiriIm trying to create video streaming using phantomjs that create screenshots from a url then it will pipe the frames to ffmpeg so he can use it to stream the video to an rtmp url .
here is what i tried so far :phantomjs runner.js | ffmpeg -f image2pipe -vcodec png -c:a copy -c:v libx264 -f flv rtmp://localhost/mystream
and here is the script :
var page = require('webpage').create();
page.viewportSize = { width: 640, height: 480 };
page.open('http://www.goodboydigital.com/pixijs/examples/12-2/', function () {
setInterval(function() {
page.render('/dev/stdout', { format: "png" });
}, 25);
});and this is the output :
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.3.0 (clang-703.0.29)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.0.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-vda
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Output #0, flv, to 'rtmp://localhost/mystream':
Output file #0 does not contain any stream