
Advanced search
Medias (1)
-
The pirate bay depuis la Belgique
1 April 2013, by
Updated: April 2013
Language: français
Type: Picture
Other articles (111)
-
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 May 2011, byDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
On other websites (12665)
-
lavf/matroska: Removing experimental suffix for Opus
12 September 2013, by Vignesh Venkatasubramanianlavf/matroska: Removing experimental suffix for Opus
Removing the /EXPERIMENTAL suffix for codec id field for Opus. Doing this
as the implementation of embedding Opus in Matroska is complete.Signed-Off By: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
avformat_open_input cannot open a file with raw opus audio data
4 November 2020, by bbddI have a problem when trying to open a binary file containing raw audio data in
opus
format. When I try to open this file, the library returns an error: Unknown input format:opus
.

How can I open this file ?


I need to open it and write all the raw audio data to an audio container. I understand that the
opus
format is intended only forencoding
. I realized this using command:

$ ffmpeg -formats | grep Opus

ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers
 E opus Ogg Opus # For only encoding



Then what format should I use to open this file ? With
ogg
? I tried, but there are also problems with opening the outgoing file. I provide the code that shows only the necessary part to open the file:

int main(int argc, char *argv[])
{
 // ...

 av_register_all();

 AVFormatContext *iFrmCtx = nullptr;
 AVFormatContext *oFrmCtx = nullptr;
 AVPacket packet;

 const char *iFilename = "opus.bin"; // Raw audio data with `opus` format
 const char *oFilename = "opus.mka"; // Audio file with `opus` audio format

 AVDictionary* frmOpts = nullptr;
 const qint32 smpRateErrorCode = av_dict_set_int(&frmOpts, "sample_rate", 8000, 0);
 const qint32 bitRateErrorCode = av_dict_set_int(&frmOpts, "bit_rate", 64000, 0);
 const qint32 channelErrorCode = av_dict_set_int(&frmOpts, "channels", 2, 0);
 if (smpRateErrorCode < 0 ||
 bitRateErrorCode < 0 ||
 channelErrorCode < 0) {
 return EXIT_FAILURE;
 }

 AVInputFormat *iFrm = av_find_input_format("opus"); // Error: Unknown input format
 if (iFrm == nullptr) {
 av_dict_free(&frmOpts);
 return EXIT_FAILURE;
 }

 qint32 ret = 0;
 if ((ret = avformat_open_input(&iFrmCtx, iFilename, iFrm, &frmOpts)) < 0) {
 av_dict_free(&frmOpts);
 return EXIT_FAILURE;
 }

 // We're doing something...
}



-
ERROR: opus not found using pkg-config in msys64 on Windows
10 August 2022, by prostargamerI'm trying to build ffmpeg.


I downloaded msys2 x64 from the official website. This is the latest version.

Executed "pacman-Syu", rebooted msys and executed "pacman-Su".

In your file build_ffmpeg_win.sh ffmpeg installs the following packages using pacman:


pacman --noconfirm -Sy
pacman --noconfirm -S msys/make
pacman --noconfirm -S mingw64/mingw-w64-x86_64-opus
pacman --noconfirm -S pkg-config
pacman --noconfirm -S diffutils
pacman --noconfirm -S mingw-w64-x86_64-pkg-config



Then I run "pacman -Qet" in order to get the list of packages:


$ pacman -Qet
base 2020.12-1
diffutils 3.8-1
make 4.3-1
mingw-w64-x86_64-opus 1.3.1-4
pkg-config 0.29.2-4



The opus package is installed.


However, when I try to run "build_ffmpeg_win.sh", then I get the following error at the stage ./configure: "ERROR: opus not found using pkg-config"


The following folders and files are located in the "msys64\mingw64\lib" folder:


pkgconfig (folder)
libopus.a
libopus.dll.a



There is an opus.pc file in the msys64\mingw64\lib\pkgconfig folder, the contents of which refer to /mingw64/lib and /mingw64/include.
pkg-config knows about opus, but for some reason this error occurs during ./configure.


How can I solve this problem?