Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (81)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (12565)

  • How to prescale a frame using ffmpeg and H.265

    20 juillet 2017, par akw

    I want to decode video frames with the H.265 coded (AV_CODEC_ID_HEVC)
    I use the following code :

    AVCodec *hevcCodec = avcodec_find_decoder(AV_CODEC_ID_HEVC);
    AVCodecContext *avctx  = avcodec_alloc_context3(hevcCodec);
    avcodec_open2(avctx, hevcCodec, 0);
    AVFrame *frame = av_frame_alloc();
    AVPacket pkt;
    av_init_packet(&pkt);
    pkt.data = myDataPtr;
    pkt.size = myDataSize;
    int got_frame = 0;
    avcodec_send_packet(avctx, &pkt);
    if (avcodec_receive_frame(avctx, frame) >=0 ) {
           got_frame = 1;
           ...
    }

    This works fine, I got my YUV frame and can process it further (like converting to RGB or scaling, etc.)
    However, I would like to somehow tell the ffmpeg library, to scale the AVFrame while decoding (a scale factor of a power of 2 would be sufficient).
    I don’t want to scale after converting to RGB or use swscale or anything. I have to decode a lot of frames and need a smaller resolution.

    Is it possible to give the AVCodecContext some hints to scale the frames ?
    (I tried setting avctx.width and avctx.height, but this did not help)

  • ppc : Clarify and extend the cpuid check

    10 mai 2015, par Luca Barbato
    ppc : Clarify and extend the cpuid check
    

    Add POWER entries.

    • [DBH] libavutil/ppc/cpu.c
  • FFMPEG Android Storage Access Framework

    6 juillet 2017, par martisan

    I’m using FFMPEG on Android to change bitrate etc of videos that weren’t recorded within my app.

    The problem I’m facing is that I can’t get the absolute path for a video the user selects from the SD Card.

    I’m using the Android Storage Access Framework and currently get the following Uri :
    content://com.android.externalstorage.documents/document/9C33-6BBD%3AVideos%2Freaps-driving.mp4

    The FFMPEG command I use :

    String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
                       String[] cmd = {"-y", "-i", mVideoUri.toString(), "-c:v", "libx264", "-preset", "ultrafast", "-strict", "-2", "-s", optimalVideoSize, "-aspect", "16:9", "-b", bitrate, String.format("/storage/emulated/0/Movies/InstaVid/VID_INSTAVID%s.mp4", timeStamp)};
                       executeFFmpegBinary(cmd, timeStamp);

    It doesn’t matter if I use mVideoUri.toString() or mVideoUri.getPath().

    Is there any way I can get the absolute path ?