
Recherche avancée
Autres articles (110)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...)
Sur d’autres sites (10276)
-
How to make FFMPEG video grayscale ?
15 octobre 2018, par AangIn my program I am using the subprocess Python module in my script to call on FFMPEG to turn a sequence of images into a video (grayscale). It works and a video is created, but upon further inspection I see that the video itself has encoded the different intensities incorrectly.
Here is my code :
subprocess.call(['/usr/local/bin/ffmpeg', '-framerate', \
framerate, '-f', 'image2','-pattern_type', \
'glob', '-i', self.directory + '/orbit_*.png', \
'-r', '10', '-s', '620x380', '-flags', 'gray', self.directory +
".avi"])Here is a link to the video that’s created : https://drive.google.com/open?id=0Bxt1siua2KQma0JaMVBMcE9TOEE
If you’ll look at the scale bar on the right in the video, which normally looks like this
in color, you’ll see that the same color shows up twice on the scale bar. I think it’s because FFMPEG is reading colors with the same intensities (for example, yellow and blue) the same way and therefore when the photo is encoded into grayscale it looks like this.What can I do ? Is this a matter of changing the "-flags", "gray" parameters of my subprocess call ?
-
Does the incoming codec or audio-video sync matter when encoding from Xvfb using FFMPEG ?
15 décembre 2022, par NavHow I'm capturing :

I'm using Xvfb on Linux, to capture a video and audio from an app that is also running on Linux. I'm using-f x11grab
when capturing that video headlessly from Xvfb's frambuffer using FFMPEG, and encoding it using a few other parameters like-c:v libx264 -pix_fmt yuv420p
.

The questions :

Since I'm reading from Xvfb framebuffer :

- 

- Would it matter that the app uses
SVC
to encode the video, and I'm using H.264 ? - Would it matter if I use a different framerate than the app is using ?
- Would it matter if I use a different
pix_fmt
than what the app is using ?








Reason for asking :



As shown in the image (blue is the app, red is FFMPEG, green is Xvfb) ;

- 

- The CPU percentage consumed by FFMPEG shoots up when the app's CPU percentage shoots up. I've also encountered audio being ahead of video for some participants, but I'm unable to figure out whether it's due to network lag or due to FFMPEG's encoding.
- Also, the aim is to reduce CPU consumption, so I was looking to see if I could do FFMPEG encoding in the same format as the app.






- Would it matter that the app uses
-
FFmpeg and Jupyter Notebooks
12 mai 2022, par ClerniI'm getting the error
RuntimeError: Requested MovieWriter (ffmpeg) not available
when trying to run this simple example of creating and displaying an animation in a Jupyter Notebook.

---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
 in <module>
 8 
 9 # Define the meta data for the movie
---> 10 FFMpegWriter = manimation.writers['ffmpeg']
 11 metadata = dict(title='Movie Test', artist='Matplotlib',
 12 comment='a red circle following a blue sine wave')

/usr/local/lib/python3.8/dist-packages/matplotlib/animation.py in __getitem__(self, name)
 164 if self.is_available(name):
 165 return self._registered[name]
--> 166 raise RuntimeError(f"Requested MovieWriter ({name}) not available")
 167 
 168 

RuntimeError: Requested MovieWriter (ffmpeg) not available

</module>


Running
!pip install ffmpeg
didn't help, asffmpeg
is already installed, apparently :

Requirement already satisfied: ffmpeg in /home/username/.local/lib/python3.8/site-packages



How can I make this work ?