
Recherche avancée
Autres articles (83)
-
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (9156)
-
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]


-
avformat/matroskaenc : Use the correct data type for the chapter times
17 février 2015, par Michael Niedermayer -
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.