
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (37)
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (4908)
-
ffmpeg mp3 encoder : how to set exactly 8.00 kbps bitrate
18 novembre 2022, par al.zatvI want to produce constant-bitrate mp3 with bitrate 8.00kbps. I use this :

ffmpeg -i q.wav -b:a 8k q.mp3


But,instead of creating 8.00 kbps mp3, it creates 8.40 kbps file (or 8.41 or like that), as soxi informs :


Channels : 1
Sample Rate : 8000
Precision : 16-bit
Duration : 00:00:05.11 = 40896 samples 383.4 CDDA sectors
File Size : 5.37k
Bit Rate : 8.41k
Sample Encoding : MPEG audio (layer I, II or III)


But I need 8.00 bitrate ! I can easily produce it with
sox q.wav -C 8 q.sox.mp3

Bit Rate : 8.41k

How can I force ffmpeg produce mp3s with 8.00 k bitrate exactly ?


-
FFMPEG cant convert MP4 to MP3 | No MP3 Encoder | Debian [on hold]
27 septembre 2017, par lukay97I’m facing the problem that I cant convert MP4 Videos to MP3 with FFMPEG.
Every time I try it, I get this error :Unknown encoder 'libmp3lame'
But I installed FFMPEG and LAME with the flags : —enable-libmp3lame
So when I’m running : ffmpeg -codecs help | grep ’mp3’ in the console I see that the Flags are set but in the list there is still no libmp3lame like it should be :
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
//HERE SHOULD BE LIBMP3LAME
D.A.L. mp3 MP3 (MPEG audio layer 3) (decoders: mp3 mp3float )
D.A.L. mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3) (decoders: mp3adu mp3adufloat )
D.A.L. mp3on4As someone metioned in this Ubuntu Thread
lame packages won’t add mp3 encoding to FFmpeg
So how can I install libmp3lame on Debian so FFMPEG can use it ?
Also I already tried to install libmp3lame0 from Debian Packages but that also didnt change anything.
EDIT :
Here some ffmpeg info :
ffmpeg --help
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --enable-libmp3lame --extra-ldflags=-L/var/www/html/Plugins/apps/lib/ --extra-cflags=-I/var/www/html/Plugins/apps/include/
WARNING: library configuration mismatch
avutil configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
avcodec configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
avformat configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
avdevice configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
avfilter configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
swscale configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
swresample configuration: --prefix=/var/www/html/Plugins/apps/ --enable-shared
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100 -
Render current file name when creating animation from multiple files
9 janvier 2018, par GeuisI’m rendering animations from a collection of png’s. I’d like to add the name of the file as a text overlay. I’ve got
drawtext
working with static text, but haven’t been able to find a way to access the file name being rendered.Current command :
ffmpeg -framerate 2 -i layer-%d.png -i logo.png -filter_complex "[0:v]fps=30[img];[1:v][img]scale2ref=163:163[a][b];[b][a]overlay=(81):(main_h-163-81)[vid];[vid]drawtext=text='TEXT':x=100:y=100:fontfile=font/SourceSansPro-Regular.otf:fontsize=30:fontcolor=white" -preset ultrafast -movflags +faststart -vcodec libx264 -crf 23 -pix_fmt yuv420p output.mp4
Is there something I can put in the
'TEXT'
area to get the file name ?