Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (102)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11898)

  • How to create AVStream with AV_DISPOSITION_TIMED_THUMBNAILS flag

    11 mars 2020, par VGSPB

    I’m try to make audiobook using ffmpeg. m4b format support covers picture for each chapter. ffmpeg load it as well, but I’cant create AVStream with AV_DISPOSITION_TIMED_THUMBNAILS disposition flag.

    int addVideoStream( AVFormatContext *ctx, CoverData *cover) {
       const AVCodec *c = avcodec_find_encoder( AV_CODEC_ID_MJPEG );
       if ( !c )
           return -1;

       int stream_indx = ctx->nb_streams;

       AVStream *stream = avformat_new_stream( ctx, NULL );
       AVCodecContext *img_codec_ctx = avcodec_alloc_context3( c );

       img_codec_ctx->width = cover->width();
       img_codec_ctx->height = cover->height();
       img_codec_ctx->pix_fmt = AV_PIX_FMT_YUVJ420P;

       if ( ctx->oformat->flags & AVFMT_GLOBALHEADER )
           img_codec_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;

       int res = avcodec_parameters_from_context( stream->codecpar, img_codec_ctx );
       avcodec_free_context( &img_codec_ctx );


       return stream_indx;
    }

    int new_v_stream_index = addVideoStream( out_ctx, img_data );
    AVStream *v_stream = out_ctx->streams[ new_v_stream_index ];
    v_stream->disposition = AV_DISPOSITION_DEFAULT|AV_DISPOSITION_ATTACHED_PIC|AV_DISPOSITION_TIMED_THUMBNAILS;
    int error = avformat_write_header( out_ctx, NULL );

    return error = -22

    if set disposition only

    v_stream->disposition = AV_DISPOSITION_ATTACHED_PIC;

    error = 0, but it is only for one attached picture packet : stream->attached_pic

    where am i wrong ?

  • Revision 37011 : Un petit test pour voir si ffmpeg2theora est dispo sur le serveur (pour ...

    6 avril 2010, par kent1@… — Log

    Un petit test pour voir si ffmpeg2theora est dispo sur le serveur (pour l’utiliser au cas où plus tard)

  • No such file or directory - the ffprobe binary could not be found error

    22 juin 2016, par rahul

    I am using carrierwave-video gem uploading videos through carrierwave and it’s not working.

    video_uploader.rb

    class VideoUploader < CarrierWave::Uploader::Base
     include CarrierWave::Video
     storage :file
     def store_dir
       "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
     end
    end

    video.rb

    class Video < ActiveRecord::Base
     mount_uploader :file, VideoUploader

     def set_success(format, opts)
       self.success = true
     end
    end

    The error I am getting is :

    No such file or directory - the ffprobe binary could not be found in /home/administrator/.rvm/gems/ruby-2.3.0/bin:/home/administrator/.rvm/gems/ruby-2.3.0@global/bin:/usr/share/rvm/rubies/ruby-2.3.0/bin:/usr/share/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games