
Recherche avancée
Autres articles (63)
-
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 (...) -
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 (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (9026)
-
Encode PCM to MPEG-2 AAC with FFmpeg APIs
13 août 2019, par Tank2006My environment is "ffmpeg version 3.4.6-0ubuntu0.18.04.1"
I wrote a program to encode audio data into MPEG-2 AAC with reference to an official example.
First, I simply changed the encoder value(and the full source code I wrote is here).
if (!(output_codec = avcodec_find_encoder(AV_CODEC_ID_AAC))) {
But FFmpeg S/PDIF encoder(spdifenc.c) returns an error “Wrong AAC file format”.
I use
avctx->profile = FF_PROFILE_MPEG2_AAC_LOW(FF_PROFILE_MPEG2_AAC_HE);
but it takes no effects.Considering the possibility that the official binary was not compiled with the "CONFIG_ADTS_HEADER" C flag, I ran the following code directly as this :
buf = output_packet.data;
int err = init_get_bits8(&gb, buf, 7);
if (get_bits(gbc, 12) != 0xfff) return AAC_AC3_PARSE_ERROR_SYNC;This didn’t find ADTS header "0xFFF", therefore, an encoder doesn’t seem to work as expected.
How do I encode ffmpeg-2 aac audio with ffmpeg apis ?
-
installing ffmpeg on Mac fail
23 juillet 2022, par wei wangI tried to install ffmpeg on Mac(macOS 10.13) with : brew install ffmpeg


but I got below ....


Updating Homebrew...
Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

Error: ffmpeg: no bottle available!
You can try to install from source with:
 brew install --build-from-source ffmpeg
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.



-
react-native-ffmpeg Unrecognized option 'preset'
8 avril 2021, par Tommy KhumargaBelow is my ffmpeg command :


-y -i vidInput.mp4 -vcodec mpeg4 -b:v 1000k -b:a 48000 -preset ultrafast vidOutput.mp4


And the result is :


[Mon Jul 06 2020 20:42:08.171] LOG Unrecognized option 'preset'.
[Mon Jul 06 2020 20:42:08.172] LOG Error splitting the argument list:
[Mon Jul 06 2020 20:42:08.174] LOG Option not found



Need advice...