Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (93)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (4583)

  • Revision 3830 : Pouvoir choisir sur slider de volume vertical ou horizontal

    21 août 2010, par kent1 — Log

    Pouvoir choisir sur slider de volume vertical ou horizontal

  • lavd/avdevice : add volume messages

    15 avril 2014, par Lukasz Marek
    lavd/avdevice : add volume messages
    

    Signed-off-by : Lukasz Marek <lukasz.m.luki2@gmail.com>

    • [DH] libavdevice/avdevice.h
  • FFMPEG C++ Volume Filter

    18 mai 2020, par Hrethric

    I seem to be having a bit of trouble using FFMPEG audio filters in C++ code. If I only have "abuffer" and "abuffersink" filters, and grab the audio frame from the filtergraph, it sounds perfect. Once I add another filter into the graph (in this case, it's a "volume" filter), there is a lot of noise introduced. I can't figure out what would be causing this.

    &#xA;&#xA;

    This isn't the case for all filters - "aecho" works just fine, for example. Any thoughts ? Here's the relevant code :

    &#xA;&#xA;

    Filter Creation

    &#xA;&#xA;

    char args[512];&#xA;int ret = 0;&#xA;&#xA;_filterGraph = avfilter_graph_alloc();&#xA;&#xA;// abuffer must be the first filter used -- it feeds data into the filter graph&#xA;/******************&#xA;ABUFFER FILTER&#xA;*******************/&#xA;_abufferFilter = avfilter_get_by_name("abuffer");&#xA;&#xA;/*buffer audio source : decoded frames will be&#xA;inserted here. */&#xA;if (!_inAudioCodecContext->channel_layout)&#xA;{&#xA;    _inAudioCodecContext->channel_layout = av_get_default_channel_layout(_inAudioStream->codec->channels);&#xA;}&#xA;&#xA;snprintf(args, sizeof(args),&#xA;    "sample_rate=%d:sample_fmt=%s:channel_layout=0x%" PRIx64,&#xA;    _inAudioCodecContext->sample_rate,&#xA;    av_get_sample_fmt_name(_inAudioCodecContext->sample_fmt),&#xA;    _inAudioCodecContext->channel_layout);&#xA;&#xA;ret = avfilter_graph_create_filter(&amp;_abufferFilterCtx, _abufferFilter, "abuffer", args, NULL, _filterGraph);&#xA;char *errorCode = new char[256];&#xA;av_strerror(ret, errorCode, 256);&#xA;&#xA;/******************&#xA;VOLUME FILTER&#xA;*******************/&#xA;snprintf(args, sizeof(args),&#xA;    "%f",&#xA;    2.0f);&#xA;_volumeFilter = avfilter_get_by_name("volume");&#xA;ret = avfilter_graph_create_filter(&amp;_volumeFilterCtx, _volumeFilter, "volume", args, NULL, _filterGraph);&#xA;char *errorCode = new char[256];&#xA;av_strerror(ret, errorCode, 256);&#xA;&#xA;/******************&#xA;ABUFFERSINK FILTER&#xA;*******************/&#xA;// abuffersink must be the last filter used -- it gets data out of the filter graph&#xA;_abuffersinkFilter = avfilter_get_by_name("abuffersink");&#xA;ret = avfilter_graph_create_filter(&amp;_abufferSinkFilterCtx, _abuffersinkFilter, "abuffersink", NULL, NULL, _filterGraph);&#xA;&#xA;// Link the source buffer to the volume filter&#xA;// If I link this to the sink buffer and comment out the next line&#xA;// Audio sounds perfect&#xA;ret = avfilter_link(_abufferFilterCtx, 0, _volumeFilterCtx, 0);&#xA;// Link the volume filter to the sink buffer&#xA;ret = avfilter_link(_volumeFilterCtx, 0, _abufferSinkFilterCtx, 0);&#xA;ret = avfilter_graph_config(_filterGraph, NULL);&#xA;&#xA;return ret;&#xA;

    &#xA;&#xA;

    Read frames from buffer

    &#xA;&#xA;

    // Read a frame from the audio stream/file&#xA;ret = av_read_frame(_inFormatContext, &amp;_packet);&#xA;int frameFinished = 0;&#xA;// Decode the resulting packet into a single frame for processing&#xA;int length = avcodec_decode_audio4(_inAudioCodecContext, _audioFrame, &amp;frameFinished, &amp;_packet);&#xA;&#xA;if (frameFinished)&#xA;{&#xA;    // Insert the frame into the source filter&#xA;    ret = av_buffersrc_write_frame(_abufferFilterCtx, _audioFrame);&#xA;    while (true)&#xA;    {&#xA;        // Pull a frame from the filter graph&#xA;        ret = av_buffersink_get_frame(_abufferSinkFilterCtx, _audioFrame);&#xA;&#xA;        // EOF or EAGAIN is expected when filtering frames, set the error to "0"&#xA;        if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)&#xA;        {&#xA;            ret = 0;&#xA;            break;&#xA;        }&#xA;        if (ret &lt; 0)&#xA;        {&#xA;            break;&#xA;        }&#xA;    }&#xA;&#xA;    // This keeps going, doing some resampling and conversion based on codec output selection, but that isn&#x27;t relevant to the issue&#xA;

    &#xA;