
Recherche avancée
Autres articles (75)
-
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 ;
-
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
Sur d’autres sites (14855)
-
avcodec/mpegvideo_enc : Check FLV1 resolution limits
8 janvier, par Michael Niedermayer -
Is Replacing Dynamic Resolution with scale_amf in FFmpeg Command a Good Direction ?
21 novembre 2024, par fredI'm working on a Lua script for MPV that processes 360-degree videos using FFmpeg's v360 filter. The original command dynamically calculates the output resolution based on a res variable, like this :


mp.command_native_async({
 "no-osd", "vf", "add", 
 string.format(
 "@vrrev:v360=%s:%s:reset_rot=1:in_stereo=%s:out_stereo=2d:
id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:
w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s",
 in_flip, inputProjection, outputProjection, in_stereo, idfov, dfov, yaw, pitch, roll, res, res, h_flip, scaling
 )
}, updateComplete)



Change Proposal :


I am considering replacing the dynamic width and height calculations with a scale_amf filter to handle scaling more efficiently and leverage GPU acceleration. The updated command would look like this :


mp.command_native_async({
 "no-osd", "vf", "add", 
 string.format(
 "@vrrev:v360=%s:%s:reset_rot=1:in_stereo=%s:out_stereo=2d:
id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f,
%sscale_amf=w=%.0f:h=%.0f",
 inputProjection, outputProjection, in_stereo, idfov, dfov, yaw, pitch, roll, in_flip, res * 192.0, res * 108.0
 )



Hardware Specifications :


I am using an AMD Ryzen 5 5600G, no display card, 16GB RAM, Windows 10.


Questions :


Is using scale_amf for scaling a good direction in terms of performance and efficiency ?
Are there any potential drawbacks to this approach that I should be aware of ?
How does using scale_amf compare to the original dynamic resolution method in terms of output quality and processing speed ?
}, updateComplete)


Any insights or experiences with this change would be greatly appreciated !


-
ffmpeg ignores input svg files resolution and produces 100x100 video [closed]
11 novembre 2024, par Francesco PotortìI have used this command for some years to produce .ogg files (or any other format) from a series of .svg files on Linux :


ffmpeg -y -r 1.2 -i %06d.svg -qscale:v 10 path.ogg


It has worked flawlessly until now, when it produces a video with 100x100 resolution, rather then the 1920x1080 resolution of the input files.


If I force the output resolution to be 1920x1080 using the
-s
option, the resulting video is a magnified version of the 100x100 video output I obtain without the-s
option. If I convert the svg files to png usinginkscape
everything is well, but I'd like to avoid making my workflow more complex.

Here you can find some of the .svg files.


Any ideas ?