
Recherche avancée
Autres articles (50)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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, parPré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 (11042)
-
crystalhd : Fix up the missing first sample
15 octobre 2016, par Philip Langdalecrystalhd : Fix up the missing first sample
Why on earth the hardware returns garbage for the first sample of
a decoded picture is anyone’s guess. The simplest reasonable way
to patch it up is to copy the first sample of the second line. This
should result in the correct chroma values (because the data was
original 4:2:0 upsampled to 4:2:2) even if the luma is isn’t. -
Ffmpeg command not found in inside laravel. Even it is working in bash
14 février 2018, par Vimal MistryI am working in Laravel 5.4 project. I have to use ffmpeg for generate thumbnail from videos. I am using cloudlinux on my server. I installed ffmpeg in my server.
It is working fine in ssh bash. All the functionality working there.
But problem is when I am trying to call from inside laravel using exec() or shell_exec(). Its returns error like "sh : ffmpeg command not found". I tryied full path also like "/usr/bin/ffmpeg -etc-". In that case ’No file or directory found’ errors shows. While it is installed in this path. and working in bash command.Please give some suggestion or solution for it.
-
C++ : Encoding H264 with FFmpeg, unable to set preset
3 janvier 2023, par Mateusz WójtI'm trying to encode H.264 movie with FFmpeg/libAV, when I try to set the codec preset the return code indicates an error :


...

mContext.codec = avcodec_find_encoder(AV_CODEC_ID_H264);

mContext.stream = avformat_new_stream(mContext.format_context, nullptr);
mContext.stream->id = (int)(mContext.format_context->nb_streams - 1);

mContext.codec_context = avcodec_alloc_context3(mContext.codec);

int ret;
ret = av_opt_set(mContext.codec_context->priv_data, "preset", "medium", 0);

// returns -1414549496

...



I ommited error checking for brevity in the example.


I tried setting
preset
to different values ("medium", "slow", "veryslow" etc.)