
Recherche avancée
Autres articles (53)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7074)
-
YUV to RGB by Shader on iPhone
27 octobre 2012, par user1333656Currently I am developing a video player using FFMPEG.
I'm trying to convert YUV420P to RGB by Shader to reduce performance hit and I could see it works fine. The problem is caused when I try to change image size.Case 1. YUV to RGB is perfect. but the image is not exactly fit to Texture Bounds.
For example, if i play 640x360 video, right (640-512) part is cropped and bottom (512-360) is filled with green colored rectangle.FRAME_X=512; //This is texture size
FRAME_Y=512;
avpicture_fill((AVPicture *) f, [currentVideoBuffer.data mutableBytes],
enc->pix_fmt,
FRAME_X, FRAME_Y);
av_picture_copy((AVPicture *) f, (AVPicture *) avFrame,
enc->pix_fmt,
enc->width, enc->height);....
int yuvWidth= FRAME_X ;
int yuvHeight= FRAME_Y;
glBindTexture ( GL_TEXTURE_2D, textureIdY );
glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE,
yuvWidth, yuvHeight, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, y_channel);
glBindTexture ( GL_TEXTURE_2D, textureIdU );
glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE,
yuvWidth/2, yuvHeight/2, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, u_channel);
glBindTexture ( GL_TEXTURE_2D, textureIdV );
glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE,
yuvWidth/2, yuvHeight/2, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, v_channel);Case 2. If i set actual image size to texture size, then image is exactly fit to texture but the color of image is a little bit strange. It has too much green color.
Does anybody give me some clues for this ??
Thanks in advance. -
Ffmpeg - Exclamation Point Stopping Watermark
25 août 2018, par user5947524I am using the code below to automatically watermark videos in a folder :
for %%a in ("C:\Users\Work\Desktop\Redo\*.mp4") do (
for /F "delims=" %%I in ('ffprobe -v quiet -show_entries stream^=width -of csv^=p^=0:s^=x %%a') do set "codec=%%I"
ffmpeg -i logo.png -y -v quiet -vf scale=!codec!*0.25:-1 scaled.png
ffmpeg -i "%%a" -vf "movie=scaled.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h [out]" "C:\Users\Work\Desktop\Redo Done\%%~na.mp4"
)Some of the videos fail to watermark and give the similar error below :
C:\Users\Work\Desktop\Redo\Arcade_h-overlay_h [out]: No such file or directory
I found out all videos with exclamation points (!) in the name do this.
How can I get these videos to watermark with an exclamation point in the title ?
-
OSError : [WinError 126] When Tried to Install WhisperAI [closed]
11 mars 2024, par Kagamine09I've been trying to use WhisperAI on my PC and after following all the steps from here, I got this error :


C:\Users\acer>whisper Traceback (most recent call last): File "<frozen runpy="runpy">", line 198, in _run_module_as_main File "<frozen runpy="runpy">", line 88, in _run_code File "C:\Program Files\Python312\Scripts\whisper.exe\__main__.py", line 4, in <module> File "C:\Users\acer\AppData\Roaming\Python\Python312\site-packages\whisper\__init__.py", line 8, in <module>
 import torch File "C:\Users\acer\AppData\Roaming\Python\Python312\site-packages\torch\__init__.py", line 141, in <module>
 raise err OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\acer\AppData\Roaming\Python\Python312\site-packages\torch\lib\cudnn_cnn_infer64_8.dll" or one of its dependencies.
</module></module></module></frozen></frozen>


I've tried to reinstall everything, moved files to "Path" folder but still no luck.