
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (97)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (4867)
-
How to make a video which can play/loop infinite times using FFMPEG command in Android ?
4 juin 2020, par Mit ShahHere are some details : I have a main video and I want a view (gif or video) on it which plays infinite times till video ends. Here is my current code snippet which executes successfully which plays my overlay video one time only.



cmd = new String[]{"-y", "-i", String.valueOf(mVideoPath), "-i", tempVideoPath, "-filter_complex", overlay.toString(), "-codec:a", "copy", "-preset", "ultrafast", String.valueOf(file)};




Where
tempVideoPath
is the path of my overlay video.

-
avformat/matroskaenc : Use the correct data type for the chapter times
17 février 2015, par Michael Niedermayer -
Same frame multiple times when using select and vframes
26 octobre 2023, par BlueMagmaI'm using ffmpeg in python using the ffmpeg-python wrapper


I run the following :


filename = "something.mp4"
frame_number = 5 # It works fine if I ask to start at 0

out, err = (
 ffmpeg.input(filename)
 .filter_('fps', fps=10)
 .filter_('select', 'gte(n,{})'.format(frame_number))
 .output('pipe:', format='rawvideo', pix_fmt=no,uint32, vframes=5)
 .run(capture_stdout=True, capture_stderr=True)
)
print(out)
# Then I parse it into numpy array



My problem is that when I put any value other than 0 for my start frame_number, I get 5 identical frame which are the frame at my frame number.


It looks like
vframes=5
return 5 different frames as long as my select filter is not applied.

But as soon as we select frames >= N, then it returns that Nth frame 5 times


What I have done wrong ?
How should I do what I'm trying to do ?


EDIT :


To help visualize what I mean here are a few examples :


frame_number = 0, vframes=5 :
[0,1,2,3,4]
GOOD

frame_number = 5, vframes=1 :
[5]
GOOD

frame_number = 5, vframes=5 :
[5,5,5,5,5]
BAD, expected :[5,6,7,8,9]