
Recherche avancée
Autres articles (89)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (5325)
-
Streaming audio from C++ [closed]
27 août 2022, par Oliver HawkerI have a C++ audio application that generates audio, which I intend to stream over a network using RTSP and FFmpeg (or it's libs directly). Fundamentally, the audio is not coming from a file or device but is generated internally by the application.


So far, I have looked at the following approaches :


- 

-
Spin up an FFmpeg process inside my application using FFmpeg-kit, and pipe data in to it using a named pipe
— Written in objective C, so I'd need a wrapper around it to call from C++.
— Feels like an awful lot of overhead for something so simple, I am dubious that it's necessary.


-
Leverage libavformat etc. directly.
— I can imagine that the pipeline would look like a regular encode pipeline using raw frames, which I can sort-of see how it would work, but I'm struggling to mix this example with something that also transmits over RTSP.


-
Make something myself that transmits raw samples over UDP
— Bandwidth-heavy and probably unnecessary










Does anybody know of a tutorial, starting point, reference implementation or other project I could look at for some guidance ? Any solution I have come up with seems ridiculously heavyweight for something so simple.


Thanks all.


-
-
Animation speed adjustment using ffmpeg in Python
5 novembre 2015, par neither-norI’m been for years using stock ffmpeg script to sequentially snitch together temporal plots in Python. However, I cannot figure out the trivial issue of how to, for instance, slow down the animation speed so that the resultant video file has a longer duration.
Example :
import matplotlib.pyplot as plt
import os, sys
for t in range(100):
plt.cla()
plt.text(0.5, 0.5, 'time %02d'%(t+1))
plt.draw()
fname = '_tmp%02d.png'%(t+1)
plt.savefig(fname)
os.system("ffmpeg -i _tmp%02d.png -pix_fmt yuv420p -r 20 -b:v 20M flipbook.mp4")
os.system("rm _tmp*.png")The resulting "flip book" takes 4s and the time stamp increases steadily. However, I tried to make the animation last twice as long by testing the following :
-
Change
20
after-r
to1
: this still lasts 4s but now the time stamp "leaps" nonlinearly -
Change
20M
to1M
: no discernible effect
I can’t find much information about this line of code, either the usage of each flag or how to modify aspects of it (e.g.,speed).
-
-
New builds for PHP 5.4 and PHP 5.3
29 novembre 2012, par Mikko Koppanen — ImagickIt’s been a while since I last updated this blog (September 2009 to be exact). Time flies ! Anyway, here comes the actual content : updated imagick binaries for PHP 5.3 and PHP 5.4. The download package also includes ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008.
I am not sure if I am violating any license in distributing ImageMagick binaries but if I do, please let me know and I will remove them. The binaries are just stock ImageMagick 6.8.0, which you can download from http://imagemagick.org/.
In order to get things running you should add the ImageMagick DLL directory into PATH, add the imagick extension to php.ini and things should be running. At least hopefully.
The download link for the binaries is here : imagick-php54-php53.tgz.