
Recherche avancée
Autres articles (16)
-
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4040)
-
Can't convert video with cuda after updating ffmpeg
8 avril 2024, par Peppei've used this command sometimes to convert 4k video into 1080p without problem with tool "ffmpeg batch" and ffmpeg 5.1 ? "2022-08-10-git-8fc7f0fdec-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers built with gcc 12.1.0 (Rev2, Built by MSYS2 project)" :



-map 0 -map -0:t -filter_complex "scale_cuda=1920:1080:format=yuv420p:interp_algo=lanczos,hwdownload" -fps_mode:v passthrough -c:v h264_nvenc -preset 18 -profile:v high -level 4.1 -b:v 13000K -rc cbr -c:a copy -c:s copy



this with pre-input "-hwaccell cuvid"


Now if i try to to the same with latest version of ffmpeg (6.1.1) it don't work. I've tried to change the pre-input with "-hwaccel cuda" but still nothing, it give me error "Cannot find a matching stream for unlabeled input pad scale_cuda:default".


If i try to add [v:0] before 'scale_cuda', i get this error (pgs subs error was present also before editing command) :


[matroska,webm @ 0000025b18315680] Invalid Block Addition value 0x0 for unknown Block Addition Mapping type 68766345, name ""
[matroska,webm @ 0000025b18315680] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0000025b18315680] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Multiple -hwaccel options specified for stream 0, only the last option '-hwaccel cuda' will be used.
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
[fc#0 @ 0000025b18311c80] Error reinitializing filters!
[fc#0 @ 0000025b18311c80] Task finished with error code: -40 (Function not implemented)
[fc#0 @ 0000025b18311c80] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_nvenc @ 0000025b183319c0] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 0000025b183319c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 0000025b183319c0] Terminating thread with return code -22 (Invalid argument)
[h264_nvenc @ 0000025b183692c0] 10 bit encode not supported
[h264_nvenc @ 0000025b183692c0] Provided device doesn't support required NVENC features
[vost#0:1/h264_nvenc @ 0000025b18330d80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:1 @ 0000025b18340900] Error sending frames to consumers: Function not implemented
[vf#0:1 @ 0000025b18340900] Task finished with error code: -40 (Function not implemented)
[vf#0:1 @ 0000025b18340900] Terminating thread with return code -40 (Function not implemented)
[vost#0:1/h264_nvenc @ 0000025b18330d80] Could not open encoder before EOF
[vost#0:1/h264_nvenc @ 0000025b18330d80] Task finished with error code: -22 (Invalid argument)
[vost#0:1/h264_nvenc @ 0000025b18330d80] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0000025b18569c40] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lq=0.0 size= 0KiB time=N/A bitrate=N/A speed=N/A



of this if I try to use -vf instead of the "filter_complex" :


[matroska,webm @ 000001814b872040] Invalid Block Addition value 0x0 for unknown Block Addition Mapping type 68766345, name ""
[matroska,webm @ 000001814b872040] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 000001814b872040] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Multiple -hwaccel options specified for stream 0, only the last option '-hwaccel cuda' will be used.
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
[vf#0:0 @ 000001814b895fc0] Error reinitializing filters!
[vf#0:0 @ 000001814b895fc0] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000001814b895fc0] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_nvenc @ 000001814b892780] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 000001814b892780] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 000001814b892780] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 000001814b88e240] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A 



Can someone tell me the correct way to do it now with an rtx 4090 ?


-
Evolution #4753 (Nouveau) : Styles du privé : listes d’objets (suite des boîtes et des formulaires)
30 avril 2021Les boîtes et les formulaires ont été visuellement « raccordés » ensembles.
Je pense que logiquement les listes d’objets devraient suivre.
En fait ce sont 3 variations d’un même composant : une boîte avec entête, corps et pied.Pour les listes on peut séparer la question en 2 aspects :
1) L’emballage extérieur¶
Là il s’agirait de reprendre les choix graphiques propres à « l’emballage extérieur » des boîtes et formulaires : bordure, arrondi, espacements.
Exemple sur l’image suivant où les 3 sont visibles (nb : ceux en colonne sont automatiquement « ressérés », d’où la différence de padding etc.)Après en fonction de l’un ou de l’autre, il y aura peut-être lieu d’ajuster le padding ou la taille du titre. Mais pour l’instant ce sont ceux en place.
2) L’intérieur¶
Ensuite je propose de procéder à quelques ajustements à l’intérieur de ces listes.
Je pense que certains choix ont été faits pour s’accommoder du manque de place en largeur à l’époque, et ne sont plus nécessaires maintenant.Pour me faire un idée de ce qui fonctionnerait le mieux, et comprendre les détails visuels qui me gênaient un peu, j’ai parcouru quelques articles de recommandations sur l’ergonomie des data tables.
Alors ils traitent plutot des fonctionnalités de ces tables dans leur ensemble, mais il y a aussi quelques guidelines visuelles intéressantes.- https://uxdesign.cc/data-table-for-enterprise-ux-cb48fb9fdf1e
- https://medium.com/nextux/design-better-data-tables-4ecc99d23356
- https://www.uxbooth.com/articles/designing-user-friendly-data-tables/
- https://uxdesign.cc/lets-design-data-tables-bf065a60e588
Je retiens quelques règles simples :
- Des espacements suffisants et consistants (le padding quoi)
- Une taille de police identique partout (au moins dans le tbody). C’est fatiguant pour l’oeil et moins lisible quand on passe sans arrêt d’un taille de police à l’autre sur une même ligne. Et je ne suis pas sûr qu’il y ait forcément besoin de gras pour certains éléments comme les titres ou autres.
- À quelques exceptions près (id, picto), pas de largeur fixes sur les colonnes, laisser faire le navigateur.
Donc voilà, c’est pas grand chose à ajuster non plus.
Les colonnes des tables ont des classes .importante et .secondaire.
À mon avis elle ne devraient plus avoir d’incidence en vue « normale », mais juste décider quelles colonnes afficher et masquer en vue réduite, dans les colonnes ou ailleurs.Donc dans les grandes lignes ça donnerait quelques chose comme ça (juste une maquette) :
3) Détails¶
Enfin pour ces 3 composants, je propose qu’il y ait une classe modificatrice commune pour produire un affichage compact, c’est à dire ressérer tout le contenu.
Cette classe serait automatiquement appliquée dans les colonnes.Ça pourrait être « compact », mais sur d’autres composants pour varier les tailles je suis parti sur mini / large. Donc mini aussi ?
-
Linking ffmpeg code in microsoft visual studio
16 octobre 2013, par JAYANTHII have compiled ffmpeg code on visual studio by linking all .lib files using this http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=1309 link. while compliling the code i m getting error like
fatal error C1083 : Cannot open include file : 'X11/Xlib.h' : No such file or directory
1> x11grab.cI could not find x11 file in ffmpeg source code . please help to solve this error .