
Recherche avancée
Autres articles (74)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (8223)
-
Giving Thanks For VP8
25 novembre 2010, par Multimedia Mike — VP8It’s the Thanksgiving holiday here in the United States. I guess that’s as good a reason as any to release a first cut of my VP8 encoder. In order to remind people that they shouldn’t expect phenomenal quality from it — and to discourage inexperienced people from trying to create useful videos with it — I have hardcoded the quantizers to their maximum settings. For those not skilled in the art, this is the setting that yields maximum compression and worst quality. When compressing the Big Buck Bunny logo image, the resulting file is only 2839 bytes but observe the reconstructed quality :
It really just looks like a particularly stormy day in the forest.
First VP8 File From An Independent Encoder
I found a happy medium on the quantizer scale and encoded the first 30 seconds of Big Buck Bunny for your inspection. I guess this makes it the first VP8/WebM file from an independent encoder (using FFmpeg’s Matroska muxer as well).Download : bbb-360p-30sec-q40.webm ( 13 MBytes)
I think the quality makes it look like it was digitized from an old VHS tape.
For fun, here’s the version with the quantizer cranked to the max : bbb-360p-30sec-q127.webm ( 1.3 MBytes)
Aside : I was going to encapsulate the video in this post using a bare HTML5 <video> tag for the benefit of the small browsing population who could view that (indeed, it works fine in Chrome). But that would be insane due to the fact that supporting browsers preload the video with no easy (read : without the help of JavaScript) method for overriding this unacceptable default.
The Code
I’m still trying to get over my fear of git. To that end, I have posted the code on Github :https://github.com/multimediamike/ffvp8enc
I still don’t like you, git. But I’m sure we’ll find some way to make this work.
Other required code changes in the basic FFmpeg tree :
- Of course, copy vp8enc.c into libavcodec/
- In libavcodec/allcodecs.c, ’
REGISTER_DECODER (VP8, vp8);
’ turns into ’REGISTER_ENCDEC (VP8, vp8);
’ - Add ’
OBJS-$(CONFIG_VP8_ENCODER) += vp8enc.o
’ to libavcodec/Makefile
Further Work
About the limitations and work yet to do :- it’s still intra-only, no interframes (which is where a lot of compression occurs)
- no rate control or distortion optimization, obviously
- no intra 4x4 coding (that’s close to working but didn’t my little T-day deadline)
- no quantization control ; this should really be hooked up to the FFmpeg command line but I’m not sure how
- encoder writes into a static-sized, 1/2 MB memory buffer ; this can overflow
- code is a mess (what did you expect at this stage of the game ?)
- lots and lots of other things, surely
-
How can I find out what this ffmpeg error code means ?
3 mars 2015, par AsikI’m using the function avcodec_decode_video2. On an encoding change in the stream, it returns -1094995529. The documentation only states :
On error a negative value is returned, otherwise the number of bytes
used or zero if no frame could be decompressed.But there doesn’t seem to be an enum of return codes or any other form of documentation. What does the error mean and how can I determine that in general ?
-
How can I find out what this ffmpeg error code means ?
27 septembre 2018, par AsikI’m using the function avcodec_decode_video2. On an encoding change in the stream, it returns -1094995529. The documentation only states :
On error a negative value is returned, otherwise the number of bytes
used or zero if no frame could be decompressed.But there doesn’t seem to be an enum of return codes or any other form of documentation. What does the error mean and how can I determine that in general ?