Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (90)

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

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

  • Is it possible to change a google cloud function from Ubuntu 22 (default image) to Ubuntu 18 ?

    19 octobre 2023, par Asher A

    I created a google cloud function via the Firebase CLI. I wasn't initially aware of which runtime environment the function (2nd generation) I created would be running on, however, I noticed that it didn't have ffmpeg installed so I tried looking for the actual runtime env. I then encountered this : https://cloud.google.com/functions/docs/reference/system-packages#requesting_a_package and through additional searches understood that the default base image is now ubuntu 22 which doesn't have ffmpeg -> so I tried checking if I could switch back to Ubuntu 18 (I haven't figured out how, or if it's possible at all). Is it possible to switch images or at least installing ffmpeg in the runtime I'm using ?

    


  • Most generic ffmpeg command to truncate video [duplicate]

    18 octobre 2014, par David542

    This question already has an answer here :

    I have several thousand videos that I would like to truncate the video to the first two minutes. Here is the command I’m using so far :

    ffmpeg -i %s -ss 0 -t 120 %s' % (input_path, output_path)

    However, this runs into many errors on valid files. Is there an ’ultra-generic’ command I can use to truncate the file to the first two minutes, and it will work with all videos ?

  • regarding h264_qsv encoding speed in ffmpeg

    31 janvier 2021, par TONY

    As we know, now ffmpeg supports intel hardware encoding(h264 qsv).
But it doesn't support "ultra fast", is there any settings to improve the encoding speed ?

    


    m_encoder = avcodec_find_encoder_by_name("h264_qsv");
if(m_encoder == nullptr){
    LOG(ERROR)<<"Find H264 Encoder failed";
    return false;
}
m_ctx = avcodec_alloc_context3(m_encoder);
m_ctx->bit_rate = bitrate_kbps*1024;
m_ctx->width = m_width;
m_ctx->height = m_height;
m_ctx->time_base = { 1, (int)fps };
m_ctx->qmin = 10;
m_ctx->qmax = 35;
m_ctx->gop_size = fps;
m_ctx->max_b_frames = 0;
m_ctx->has_b_frames = false;

m_ctx->codec_id = m_encoder->id;
m_ctx->codec_type = AVMEDIA_TYPE_VIDEO;
m_ctx->pix_fmt = m_h264InputFormat;

AVDictionary *param = nullptr;
av_dict_set(&param, "look_ahead", "0", 0);
av_dict_set(&param, "look_ahead_depth", "8", 0);
av_dict_set(&param, "preset", "veryfast", 0);
av_dict_set(&param, "tune", "zerolatency", 0);

int ret = avcodec_open2(m_ctx, m_encoder, &param);