
Recherche avancée
Autres articles (45)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9657)
-
mp3 to wav with ffmpeg reduces quality and duration
25 novembre 2020, par NeretI took this mp3 file and converted it to wav with Audition and with this ffmpeg command :


ffmpeg -i "Casey Don’t You Fret - Dan Lebowitz.mp3" -c:a pcm_f32le "Casey Don’t You Fret - Dan Lebowitz_FFMPEG.wav"



After that I checked the statistics in Audition. The wav file which was generated with Audition has exactly the same statistics as the original mp3 file.




The duration of ffmpeg file has changed. Audio statistics became worse.
Why is this happening ? Can I fix it ?


I used
ffmpeg version 2020-11-22-git-0066bf4d1a-full_build-www.gyan.dev
on Windows.

UPDATE 1 :
I cut a few seconds of mp3 at the beginning and at the end :




FFMPEG added silence at the beginning and increased duration.


UPDATE 2 :
Look how ffmpeg changed the waveform of this
2.mp3
file in the middle :

ffmpeg -y -i 2.mp3 -c:a pcm_f32le 2_FFMPEG.wav





-
TCP Connection refused error when using FFMPEG for audio stream to HTTP on macOS
26 novembre 2020, par freddyI'm trying to stream my microphone input via HTTP using ffmpeg, so I can stream it in HTML. I run the following ffmpeg command :


ffmpeg -f avfoundation -i ":1" -c:a libmp3lame -f mp3 -r 30 http://localhost:809


It, however, crashes with the following error message :


ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with Apple clang version 12.0.0 (clang-1200.0.32.27)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_4 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
Input #0, avfoundation, from ':1':
 Duration: N/A, start: 3445.340045, bitrate: 22579 kb/s
 Stream #0:0: Audio: pcm_f32le, 44100 Hz, hexadecagonal, flt, 22579 kb/s
[tcp @ 0x7fa46ec96600] Connection to tcp://localhost:8090 failed: Connection refused
http://localhost:8090: Connection refused



I've had success with streaming on that port using VLC, but it for some reason won't work using ffmpeg. Any ideas on how to fix this ?


-
avfilter/vidstab : add option for file format specification
22 octobre 2023, par Gyan Doshiavfilter/vidstab : add option for file format specification
The vidstab library added support in Nov 2020 for writing/reading
the transforms data in binary in addition to ASCII. The library default
was changed to binary format but no changes were made to the AVfilters
resulting in data file for writing or reading being always opened as text.
This effectively broke the filters.Option added to vidstabdetect to specify file format and open files in
both filters with the correct attributes.