
Recherche avancée
Autres articles (100)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (9336)
-
h264 : check that execute_decode_slices() is not called too many times
28 novembre 2013, par Anton Khirnov -
How to play a specific number of samples from an audio file using ffmpeg ?
2 juillet 2023, par FrostDreamI'm trying to use ffmpeg in a command-line or terminal environment to play only a specific number of samples from an audio file. Instead of playing the entire audio, I want to extract and play a precise portion based on the sample count.


I came across the following example command that seems to be relevant :


ffmpeg -ss 0 -t [SAMPLE_COUNT] -i [INPUT_AUDIO_FILE] -f wav - | ffplay -



In the command, I understand that -ss is used to specify the start time as 0, -t sets the duration as the sample count, -i defines the input audio file, and -f sets the output format as WAV. The output is then piped to ffplay, a simple media player provided with ffmpeg, which will play the specified number of samples from the audio file.


However, I'm not entirely sure about the usage and options of ffmpeg in this scenario. Could someone please provide a detailed explanation of how to correctly use ffmpeg to achieve this ? Any additional insights, tips, or alternative approaches would also be greatly appreciated. Thank you !


-
diracdec : fix full range videos
22 janvier 2016, par Rostislav Pehlivanovdiracdec : fix full range videos
Full range video had been broken by the introduction of the < 2U check
at the following line. The bitstream format kind of implies that the full
and limited ranges use different pix_fmts but that’s incorrect since we
have the avctx->color_range flag. So adjust the pixel range index to
be mapped to the same pix_fmts as limited range index.Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>