Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (30)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Ecrire une actualité

    21 juin 2013, par

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

Sur d’autres sites (6180)

  • How to convert ffmpeg code to moviepy in python [closed]

    13 février 2023, par a person

    i have two codes of ffmpeg :

    


    ffmpeg -i video.mp4 -i audio.wav -c copy output.mkv
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

    


    and i want to do this things in python with moviepy

    


  • ffmpeg - How does avcodec_decode_video2 work ?

    17 mars 2016, par Bryce

    As we know, one AVPacket contains one AVFrame, and we can use

    int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
                             int *got_frame_ptr, const AVPacket *avpkt)

    to decode a packet to frame, if it works, got_frame_ptr will be set with nonzero, otherwise, it’s zero.

    int len = avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet);
    if ( len < 0 )
    {
       fprintf(stderr, "Problems decoding frame\n");
       return 1;
    }

    fprintf(stderr, "len = %d\n", len );

    // Did we get a video frame?
    if(frameFinished) {
       dosomething();
    }

    How would it fail(got_frame_ptr is 0) ? Is the AVPacket we got corrupted or something else ?

  • What are the options I should use with ffmpeg to convert mov and mp4 into webm to have the best playback support on Android WebView ?

    18 novembre 2019, par georget

    Android version : 8.1
    WebView is WebChromeClient

    If I understand from this page (https://developer.android.com/guide/topics/media/media-formats) the most supported format should be vp8 & webm. Is this correct ?

    I’m using a webview to show several videos as part of a slideshow. But noticed that some of the videos don’t play. So far all webm files play without issues. The videos are played without user action using JS after setting mWebview.getSettings().setMediaPlaybackRequiresUserGesture(false);

    What are the options I should pass to ffmpeg to convert mov and mp4 files into webm with best chance of playback on WebView ?

    Currently I’m using this : ffmpeg -i .mp4 -vcodec libvpx -qmin 0 -qmax 50 -crf 10 -an -b:v 1M .webm

    We don’t need video in any of the resulting files, hence the -an flag.