
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (35)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (4779)
-
How to capture multiple screenshot from online video stream using ffmpeg with specific seek time
9 août 2017, par Md. Mehedi HasanI’m using ffmpeg to take screenshot from online video stream. I want to seek multiple timeline. I’ve used the following command to capture 1 screenshot by seek command :
ffmpeg -ss 00:02:10 -i "stream-url" -frames:v 1 out1.jpgHow I can take multiple screenshot via multiple seek time. I’ve searched for the solution but no success.
I’ve used the following command to take multiple screenshot as follows :
ffmpeg -noaccurate_seek -ss 00:01:10 -i "stream-url" -map 0:v:0 -vframes 1 -f mpeg "thumb/output_01.jpg" -ss 00:02:10 -i "stream-url" -map 1:v:0 -vframes 1 -f mpeg "thumb/output_02.jpg"Is there any way to generate screenshots from same input via seek command ? How to make it more faster ? How to skip multiple input(-i param) ? I’ve also tried with other commands but those are more slower. Can anyone help me ?
-
German umlauts in ffmpeg drawtext filter
15 août 2020, par Gert GottschalkI need help getting german umlauts 'äüö' displayed properly/(at all) in ffmpeg drawtext filter. I can't say at this time if my inability comes from lack of ffmpeg know-how or machine configuration or both. Your input is much appreciated.



In ffmpeg cmd line I have :



/home/tools/bin/ffmpeg -loop 1 -i RAW2TIF_01_png_1080/IMG_1119.png -c:v libx264 -vf drawtext="fontsize=60:fontcolor=yellow:fontfile=/usr/share/fonts/truetype/freefont/FreeSans.ttf:textfile=./Scripts/header_text.txt:x=(w-text_w)/2:y=(h-text_h-line_h)/2" -t 10 -pix_fmt yuv420p -crf 16 -r 24 -y ./Video/header_txt.mp4




Note the 'drawtext' call.



My linux machine where I run ffmpeg is setup for US keyboard and characters. So my first roadblock is to get the umlauts into the text in some editor. I tried typing 'alt-numerical' sequences, but the special characters will not show in vi, vim, emacs.



If I were to have the special characters in a textfile I would not know if/how ffmpeg is able to handle them.



A search on popular engine for 'ffmpeg drawtext umlaut' does not return any (for me) meaningful returns.



Thanks,
Gert


-
Online RTMP radio with Python + FFmpeg + Nginx : unable to have a continuous output stream
2 décembre 2023, par Igor LongoThinking about an application similar to an online radio, I'm trying to transmit a sequence of audio files chosen by the user, where he chooses which file will be played in the sequence, sufficiently in advance for the reproduction not to be muted. I'm using FFmpeg in a Python script and an RTMP server running Nginx.
The problem is that interrupting the transmission between one file and another appears to be breaking the transmission on output. Sometimes files are skipped and other times it simply crashes for the client.


I have already tried transmitting the sequence of files in real time, using '-re', and I have also tried not using '-re', creating a custom queue manager in Python with the intention of trying to keep only 'n' files in the server buffer .
Below is an excerpt of the code :


ffmpeg_command = [
'ffmpeg',
'-loglevel', 'warning',
# '-re', # read input at native frame rate
'-i', file_path,
'-c:a', 'aac',
'-ar', '44100',
'-bufsize', '1024k',
'-af', 'atempo=1.0',
'-b:a', '128k',
'-f', 'flv',
'-flvflags', 'no_duration_filesize',
rtmp_url # server url
]
subprocess.run(ffmpeg_command, check=True)


Any tips on how I can resolve this ?