
Recherche avancée
Autres articles (62)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (...) -
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
Sur d’autres sites (7886)
-
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 ?