
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (77)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...)
Sur d’autres sites (10048)
-
remove debug code
2 septembre 2014, par Gemorrojremove debug code
-
How to implement ffmpeg filter_complex in c++ code ?
6 octobre 2020, par FluffyI am trying to implement C++ code which uses an FFmpeg filter to merge 2 mono audio streams from input video into 1 stereo stream. The filter itself can be found easily enough in several sources :


FFmpeg : How to merge all audio streams into stereo


http://underpop.online.fr/f/ffmpeg/help/amerge.htm.gz


My question relates to how I can implement this in code. I am using the exact same code found in the FFmpeg examples here :
https://ffmpeg.org/doxygen/trunk/filtering_audio_8c-example.html


I just change the filter_descr variable to :


static const char *filter_descr = "[0:1][0:2] amerge=inputs=2";



When I use this I get the following exception :
Output pad "default" with type audio of the filter instance "in" of a buffer not connected to any destination
I get an Invalid Argument -22 exception when I'm configuring the filter graph


if ((ret = avfilter_graph_config(filter_graph, NULL)) < 0)



-
I have a problem with my input resampling FFmpeg audio code [closed]
31 mars, par Jaime SamperI,ve tried to do a resampling with ffmpeg, but i found issues all the time in my code.


firt, i tried to get the imput channel layout but
av_channel_layout_default(&layout, audio_codecpar->nb_channels)
tells me, "there´s not nb_channels menber.

so i put the resampling code manually cause I know is stereo.


av_opt_set_sample_fmt(swr_ctx, "in_sample_fmt", codec_ctx->sample_fmt, 0);
av_opt_set_int(swr_ctx, "in_channel_layout", AV_CH_LAYOUT_STEREO, 0);
av_opt_set_int(swr_ctx, "in_sample_rate", codec_ctx->sample_rate, 0);
av_opt_set_sample_fmt(swr_ctx, "out_sample_fmt", AV_SAMPLE_FMT_S16, 0);
av_opt_set_int(swr_ctx, "out_channel_layout", AV_CH_LAYOUT_STEREO, 0);
av_opt_set_int(swr_ctx, "out_sample_rate", pwfx->nSamplesPerSec, 0);



but on execution give me this error :


Formato de mezcla: 48000 Hz, 32 bits, 2 canales
[SWR @ 00000277ef707a40] Input channel layout "" is invalid or unsupported.



any clue ?