Recherche avancée

Médias (91)

Autres articles (94)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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 novembre 2010, par

    Accé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 (...)

Sur d’autres sites (12476)

  • avformat/movenc : fix sample size being zero in pcmC

    26 juillet 2023, par Zhao Zhili
    avformat/movenc : fix sample size being zero in pcmC
    

    bits_per_raw_sample might not set when remux raw PCM.

    Fix #10433.

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavformat/movenc.c
  • CoreAudio Output Sample Rate Discrepancy

    1er mai 2018, par blackirishman

    I am using ffmpeg to acquire audio from .mov files. Looking over my settings, I am not sample rate converting the audio buffers I am generating so that is unlikely to account for the issues I am having. Regardless of the sample rate I set on my Built-in Output, my audio files that are at 44.1 kHz playback at the correct rate. If I playback a 48kHz file, the file plays back slower (at 91% of the normal rate) which indicates that the true rate is 44.1kHz. I can change my built-in output to 44.1, 48, or 96 kHz and the same phenomenon exists. I change my default output rate using the Audio Midi Setup app. I then verify my sample rate using AudioUnitGetProperty on my ouputAudioUnit. This matches the sample rate in the Audio Midi Setup.

    Thoughts ? I am including my audio graph code

    CheckError(NewAUGraph(&amp;fp.graph), "Couldn't create a new AUGraph");

    //varispeednode has an input callback
    //the vairspeed node feeds an output node which is running
    //at the frequency of the system default output

    AUNode outputNode;
    AudioComponentDescription outputcd = [self defaultOutputComponent];
    CheckError(AUGraphAddNode(fp.graph, &amp;outputcd, &amp;outputNode),
              "AUGraphAddNode[kAudioUnitSubType_DefaultOutput] failed");

    AUNode varispeedNode;
    AudioComponentDescription varispeedcd = [self variSpeedComponent];
    CheckError(AUGraphAddNode(fp.graph, &amp;varispeedcd, &amp;varispeedNode),
              "AUGraphAddNode[kAudioUnitSubType_Varispeed] failed");

    CheckError(AUGraphOpen(fp.graph),
              "Couldn't Open AudioGraph");

    CheckError(AUGraphNodeInfo(fp.graph, outputNode, NULL, &amp;fp.outputAudioUnit),
              "Couldn't Retrieve output node");

    CheckError(AUGraphNodeInfo(fp.graph, varispeedNode, NULL, &amp;fp.variSpeedAudioUnit),
              "Couldn't Retrieve Varispeed Audio Unit");

    AURenderCallbackStruct input;
    input.inputProc = CBufferProviderCallback;
    input.inputProcRefCon = &amp;playerStruct;
    CheckError(AudioUnitSetProperty(fp.variSpeedAudioUnit,
                                   kAudioUnitProperty_SetRenderCallback,
                                   kAudioUnitScope_Input,
                                   0,
                                   &amp;input,
                                   sizeof(input)),
              "AudioUnitSetProperty failed");


    CheckError(AUGraphConnectNodeInput(fp.graph, varispeedNode, 0, outputNode, 0),
              "Couldn't Connect varispeed to output");

    CheckError(AUGraphInitialize(fp.graph),
              "Couldn't Initialize AUGraph");

    // check output sample rate

    Float64 outputSampleRate = 48000.0;
    UInt32 sizeOfFloat64 = sizeof(Float64);

    outputSampleRate = 0.0;
    CheckError(AudioUnitGetProperty(fp.outputAudioUnit,
                                  kAudioUnitProperty_SampleRate,
                                  kAudioUnitScope_Global,
                                  0,
                                  &amp;outputSampleRate,
                                  &amp;sizeOfFloat64),
             "Couldn't get output sampleRate");
  • jpeg2000dec ; optimize output sample convert a bit

    1er juin 2013, par Michael Niedermayer
    jpeg2000dec ; optimize output sample convert a bit
    

    67935 -> 29984 kcycles

    Reviewed-by : Nicolas BERTRAND <nicoinattendu@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/jpeg2000dec.c