
Recherche avancée
Autres articles (79)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (8375)
-
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 !


-
Encoded mp4 video won't play in Firefox v33
3 novembre 2014, par Michael HeubergerWhen this video is encoded with the following ffmpeg command, it cannot be played in Firefox v33 (a blank screen appears). But when I play it in the native VLC player, it works. So here the long ffmpeg command :
$ ffmpeg -r 15 -f image2 -i /home/(...)/frames/%d.jpg -i
/home/(...)/preview.wav -y -acodec libfdk_aac -b:a 128k
-vcodec libx264 -b:v 386k -preset ultrafast -profile:v baseline
-crf 6 -pix_fmt yuv420p -loglevel warning -movflags faststart
/home/(...)/preview.mp4As you can see, preview.mp4 is encoded by a sequence of jpg images with a given wav file.
The ffmpeg output is just this
[wav @ 0x35ff460] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #1.0 : mono
[swscaler @ 0x35f0d80] deprecated pixel format used, make sure you did set range correctlyAny clues why it won’t play on Firefox (and what the other ffpmeg warnings mean) ?
Thanks !!!
-
MPEG4 X264 vs NVENC H264 encoding play compatibility on old devices
28 mars 2021, par RootI always encoding videos on
x264
, this encoding work well on old devices or mobile phones.

To increase the encoding speed I try to replace encoding method withNVENC H264
with nVidia GPU.

Question 1 : Device combability for play the
NVENC H264
is different withx264
?

Question 2 : Old devices can playNVENC H264
file same asx264
?

Old devices : (All devices that can play x264) Android 6+, TV Setup box, TV, Google chrome 48+