Recherche avancée

Médias (91)

Autres articles (61)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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 (5642)

  • How to use v4l2 scrcpy virtual webcam ?

    2 mars 2024, par Emma bundy

    I created a virtual camera v4l2 /dev/video21 and linked it to my notebook's default webcam /dev/video1 and it started working so far ok, then I mirrored the webcam I created in OBS-studio.

    


    and now I want to connect in scrcpy the virtual camera that I created that is active /dev/video21, but I don't know how to do that, what commands to give to use the v4l2 /dev/video21 camera from the computer on my cell phone.

    


    which is already mirrored on the computer screen via wireless

    


    I need help, who can help me I thank you immensely ! This is for my college studies

    


    I tried to do this several times but I couldn't, I use Fedora 37 gnome, I used ffmpeg to link the webcam /dev/video1 + /dev/video21, and I mirrored it in OBS-studio, but I don't know which command to give to send the /dev/video21 video stream to my cell phone, use the virtual camera created on the cell phone.

    


  • FFMpeg decode mp3 to sample buffer

    1er avril 2021, par Tobi Akinyemi

    I'm using FFMpeg to decode samples.

    


    I collect the sample rate using

    


    auto sample_rate = selected_stream->time_base.den;


    


    For mp3s this result seems like garbage.

    


    Obviously, MP3's have a variable bitrate. Is it possible to read mp3s (the same way you read other audio streams), or do I have to rewrite a specific implementation for MP3s, in which I interpolate/downsample where the sample rate is lower/higher than my desired sample-rate ?

    


  • FFMPEG - Fading text with background

    25 janvier, par Helder Santos

    I'm trying to fade a text in and out (the text has a background), at the moment, what I have is this command :

    



    1. Blend command

    



    ffmpeg -y -i input.mp4 -filter_complex "drawtext=fontfile=HelveticaNeue.ttf:text='Testing': fontcolor=white:fontsize=40: box=1: boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2[subtitles];[subtitles][0:v]blend=all_expr='A*(if(between(T,1,2),(T-1),0))+B*(1-(if(between(T,1,2),(T-1),0)))'[out]"  -map '[out]' -map 0:a output.mp4


    



    The command above successfully fades in the drawtext (aka subtitles in this filter), but I haven't managed to make it fade them out for some reason, because changing the numeric values of it don't quite have the result I expect.

    



    I've also tried a command that is less complex but doesn't work too for other reasons :

    



    2. Fade command

    



    ffmpeg -y -i input.mp4 -filter_complex "drawtext=fontfile=HelveticaNeue.ttf:text='Testing': fontcolor=white:fontsize=40: box=1: boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2[subtitles]; [subtitles]fade=t=in:st=2:d=1,fade=t=out:st=3:d=1[out]"  -map '[out]' -map 0:a output.mp4


    



    This second command fades in and out, but applies to the entire video and not the subtitles part alone.

    



    Any way someone can give me a hand with this ?