Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Sur d’autres sites (2)
-
Why won't fluent-ffmpeh respect the audioBitrate ?
5 mai 2020, par ShamoonI have :



ffmpeg(stream)
 .audioBitrate(8)
 .save(outputFilename)
 .on('progress', p => {
 console.log(`${p.targetSize}kb downloaded`);
 })
 .on('end', resolve)
 .on('error', reject)




And it saves the file, but it still has a 48KHz sample rate. What am I doing wrong ?


-
Ffmpeg Android - Minimum binary size to convert WAV to MP3
22 novembre 2020, par timsonThe only thing I want to do is convert wav files to mp3 inside my Android application.


I am currently using https://github.com/tanersener/mobile-ffmpeg and with audio-release everything is working fine. As the lib size is about 40 MB and I only need a single command, I'd like to build my own .aar file as described in the Wiki to reduce the application size.


I edited the
android-ffmpeh.sh ./configure:


--disable-everything \ 
--enable-pthreads \
--enable-avcodec \
--enable-avformat \
--enable-swresample \
--enable-avfilter \
--enable-libmp3lame \
--enable-parser=mpegaudio \
--enable-demuxer=mp3,wav,pcm_s16le \
--enable-muxer=mp3,wav,pcm_s16le \
--enable-decoder=pcm*,mp3*,wav,pcm_s16le \
--enable-encoder=pcm*,pcm_s16le,wav,mp3,libmp3lame \
--enable-filter=aresample \
--enable-protocol=file \



and then ran
./android.sh -l --enable-lame --enable-libiconv


In my Android app FFmpeg loads but the conversion doesn't succed with following error :


E/mobile-ffmpeg: [AVFilterGraph @ 0x7209dfec40] No such filter: 'anull'
E/mobile-ffmpeg: Error reinitializing filters!
E/mobile-ffmpeg: Failed to inject frame into filter network: Invalid argument
E/mobile-ffmpeg: Error while processing the decoded data for stream #0:0
I/mobile-ffmpeg: Conversion failed!



Does anyone know what I'm missing or another config to build a minimal size binary for this.
Any help is highly appreciated !