Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (50)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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 : (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

Sur d’autres sites (5455)

  • Evolution #2504 : plutôt pour afficher du code en bloque

    23 janvier 2012, par Alexandre B

    Je viens de réessayer , il est impossible sous spip d’afficher du code tel que : foo Sans passer par qui nous génère un textarea, un input hidden (?), le tout englobé d’un form ,par contre ici ça passe sans soucis.

  • Kurento with RTMP is not working on AWS EC2

    4 mars 2019, par akash

    We have used kurento media server for live streaming and modified the existing code to stream the same on Facebook and YouTube using FFMPEG.

    Application is working fine at our local machine and also we have tested with docker container on our staging environment and it is working successfully on that but not working on the EC2 machine.

    Although Live streaming working fine on AWS EC2 when we have not intergrated feature to stream on Facebook and YouTube.

    Just to clear we are not able to live stream on Facebook and Youtube on EC2 instance but it is working on local.
    Please suggest !!

    Thanks in advance.

  • Ffmpeg resampling audio to PCM

    13 décembre 2022, par Expressingx

    I have app which decodes whatever the input is to H.264/AAC. But I also have preview of what is getting recorded. The audio preview is PCM, but I cannot seem to make it work. This is for the preview only, encoding to AAC works just fine.

    


    First SwrContext* is allocated :

    


    swr_alloc_set_opts(_swrCtx, 
                AV_CH_LAYOUT_STEREO, 
                AV_SAMPLE_FMT_S16, 
                48000,
                (long)_audioCtx->channel_layout, 
                _audioCtx->sample_fmt,
                _audioCtx->sample_rate, 
                0, null);


    


    Where _audioCtx is the audio AVCodec* of the input. And here is the actual resampling. pFrame is the frame coming up from the decoder.

    


    var outDstSamples = (int)av_rescale_rnd(
swr_get_delay(_swrCtx, _audioCtx->sample_rate) + pFrame->nb_samples, 48000, _audioCtx->sample_rate, AV_ROUND_UP);

byte* buff;
av_samples_alloc(&buff, null, av_get_channel_layout_nb_channels(AV_CH_LAYOUT_STEREO), outDstSamples, AV_SAMPLE_FMT_S16, 1);

var dataPtr = pFrame->data[0];
int ret = ffmpeg.swr_convert(_swrCtx, &buff, outDstSamples, &dataPtr, pFrame->nb_samples);

if (ret < 0)
{
   // here ret is always -22
}

int destinationBufferSize = av_samples_get_buffer_size(null, _dstNbChannels, ret, AV_SAMPLE_FMT_S16, 1);
if (destinationBufferSize < 0)
{
   
}


    


    What is the problem here, why I get -22 ?