
Recherche avancée
Autres articles (111)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (11695)
-
Input link in1:v0 parameters do not match the corresponding output link in0:v0 parameters (ffmpeg SAR error) [duplicate]
4 décembre 2018, par this.lau_This question is an exact duplicate of :
I’m getting an SAR error when using complex filters in ffmpeg and I can’t quite make sense of it. The input command is as follow (spread over multiple lines for clarity) :
ffmpeg \
-i '698cc30d2dc966eaf4dc4f6f3571df8d.mp4' \
-i '76a2ffdd0d7e82d31731c6e2c0c6f4c9.mp4' \
-filter_complex "\
[0:v] setsar=sar=1,setpts=PTS-STARTPTS,scale=1080x1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2 [0v]; \
[1:v] setsar=sar=1,setpts=PTS-STARTPTS,scale=1080x1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2 [1v]; \
[0v][0:a][1v][1:a]concat=n=2:v=1:a=1[v][a]" \
-map "[v]" -map "[a]" \
-max_muxing_queue_size 500 \
-strict -2 \
out.mp4And I’m getting the following error :
[Parsed_concat_8 @ 0x7fe35a70b100] Input link in1:v0 parameters (size 1080x1920, SAR 1:1) do not match the corresponding output link in0:v0 parameters (1080x1920, SAR 1216:1215)
[Parsed_concat_8 @ 0x7fe35a70b100] Failed to configure output pad on Parsed_concat_8
Error reinitializing filters !
Failed to inject frame into filter network : Invalid argument
Error while processing the decoded data for stream #1:0
The complex filters basically scale the videos to the required dimensions (1080x1920) and add black borders below and above, or on the side to make it fit within the rectangle. It worked with some videos but not in this case for some reason and I can’t make sense of the error message.
Any idea what it means and how to fix it ?
-
libavformat/segment : change segment_list_size behavior to match hls_list_size behavior.
9 juillet 2014, par Simon Thelenlibavformat/segment : change segment_list_size behavior to match hls_list_size behavior.
Make the segment muxer keep segment_list_size segments instead of
segment_list_size + 1 segments. This patch also changes the
documentation for segment_list_size to reduce possible confusion over
how many segments are kept.this allows the segment list to
be limited to containing only one segment which used to be impossible
because a segment_list_size of 0 kept all the segments and a
segment_list_size of 1 kept 2 segments.Signed-off-by : Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
How to extract time-accurate video segments with ffmpeg ?
25 mai 2016, par Jim MillerThis is not a particularly new question area around here, but I’ve tried what’s been suggested there without much luck. So, my story :
I’ve got a hunk of 15 seconds of straight-from-the-camera.mov video out of which I want to extract a specific chunk, which I can identify by start time and stop time, in seconds. I started by trying to do what I’ll call a "copy extraction" : to get seconds 9 to 12,
ffmpeg -i test.mov -vcodec copy -acodec copy -ss 9 -to 12 test-copy.mov
This was a not-bad start, but there are some black frames at the beginning and end of the clip, which I can’t have — it has to be a clean edit from the original. So, I tried recoding the original into a new, trimmed clip :
ffmpeg -i test.mov -ss 00:00:09 -t 00:00:03 test-out.mov
This is better, but not quite : There are no longer any black frames at the beginning of the clip, but they’re still there at the end.
After some more browsing and reading, I then suspected that the problem is that ffmpeg is having trouble finding the proper points because of a lack of keyframes in the original video. So I recoded the original video to (presumably) add keyframes, in a couple of different ways. Since I want to be able to pick video at boundaries of a second ("from 9 seconds to 12 seconds"), I tried, copying various suggestions around the web,
ffmpeg -i test.mov -force_key_frames "expr:gte(t, n_forced)" test-forced.mp4
and
ffmpeg -i test.mov -g 1 test-g-inserted.mp4
(I built these as mp4’s based on some comments about an mp4 container being needed to support the keyframe search, but I’m honestly just hacking here.) I then tried the extraction as before, but on these new videos that presumably now have keyframes in them. No luck — both seem to be about the same ; the start is OK but there are still black frames at the end. (FWIW, both test-forced.mp4 and test-g-inserted.mp4 also have trailing black frames.)
So : I’m still stuck, and would like to not be. Any insights out there as to what I’m doing wrong ? I feel like I’m close, but I really need to get rid of those trailing black frames....