Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (48)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (7558)

  • OpenCV compilation error in Fedora 21

    24 mai 2022, par eap

    I've got OpenCV source code from github and I get the following error when trying to compile it :

    



    /lib64/libavutil.so.54: undefined reference to `clReleaseMemObject@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clReleaseCommandQueue@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateBuffer@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clBuildProgram@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clSetKernelArg@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetDeviceIDs@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clEnqueueUnmapMemObject@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetPlatformInfo@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateProgramWithSource@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetDeviceInfo@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clReleaseContext@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateContextFromType@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clCreateCommandQueue@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clEnqueueMapBuffer@OPENCL_1.0'
/lib64/libavutil.so.54: undefined reference to `clGetPlatformIDs@OPENCL_1.0'


    



    My machine is a laptop with Intel i7 and a GT630M graphics card and I'm using Bumblebee.

    



    Thanks.

    


  • How to scale mouse cursor when recording display with ffmpeg ?

    16 mai 2022, par rkh

    I'm recording the whole Windows 10 Desktop on a 4K laptop screen with a native resolution of 3840x2160. The windows desktop is scaled to 200% (so it behaves like 1920x1080).

    


    Here's the ffmpeg command line I'm using to record the desktop :

    


    "C:\ffmpeg\ffmpeg.exe" -rtbufsize 1500M -f gdigrab -framerate 10 -i desktop -vf crop="3840:2160:0:0" -pix_fmt yuv420p -preset ultrafast -tune fastdecode -y "C:\ffmpeg\test1.mp4"


    


    I'm using crop to be able to record only a portion of the screen as well as the whole screen.

    


    The issue is that the mouse cursor is way to small on the resulting video file. It looks like that ffmpeg is not respecting the scaling factor from the windows desktop settings (200%).

    


    I could change the high-dpi settings of the ffmpeg.exe file (https://stackoverflow.com/a/67679516/19128336) but I need to find a way to solve this issue programmatically.

    


    This issue occurs only on screens with desktop scaling factor higher than 100%.

    


    Is there a way to tell ffmpeg about the desktop scaling factor ?

    


    Thanks in advance.

    


  • I'm having an issue with my discord bot playing audio from a youtube url

    19 avril 2022, par Alex Graeca
    sync def hog():
channel = bot.get_channel(964971002289356893)
url = 'https://www.youtube.com/watch?v=GyRmkAfpCOM'
await asyncio.sleep(1)
voice_channel = bot.get_channel(int(964971002289356893))
vc = await voice_channel.connect()
#vc.play(discord.FFmpegPCMAudio('C:/Users/alexa/Downloads/hogrider.mp3'))
vc.play(discord.FFmpegPCMAudio(source='https://www.youtube.com/watch?v=GyRmkAfpCOM', executable='ffmpeg.exe'))
while vc.is_playing():
    await asyncio.sleep(5)
await vc.disconnect()


    


    It works fine with the audio file from my laptop, but I want to play it from a youtube link.
It gives me an error :
https://www.youtube.com/watch?v=GyRmkAfpCOM : Invalid data found when processing input

    


    Thank you in advance