Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accé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 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 (...)

Sur d’autres sites (6189)

  • How to rename the .wav file which is going to download using the below program ?

    29 avril 2020, par Y V Sravan Kumar Reddy
    from __future__ import unicode_literals
import youtube_dl

ydl_opts = {
    'format': 'bestaudio/best',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'wav',
        'preferredquality': '192'
    }],
    'postprocessor_args': [
        '-ar', '16000'
    ],
    'prefer_ffmpeg': True,
    'keepvideo': True
}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    ydl.download(['https://www.youtube.com/watch?v=JpjEwIceVIo'])


    




    



    Output :

    



    [youtube] JpjEwIceVIo: Downloading webpage
[download] Speech on Importance of Education in English for Higher Secondary students by Smile Please World-JpjEwIceVIo.webm has already been downloaded
[download] 100% of 1.69MiB
[ffmpeg] Destination: Speech on Importance of Education in English for Higher Secondary students by Smile Please World-JpjEwIceVIo.wav


    




    



    I want to change the filename to audio1.wav instead of Speech on Importance of Education in English for Higher Secondary students by Smile Please World-JpjEwIceVIo.wav. Please help me with this problem.

    


  • ffmpeg v4l2 taking 100% cpu usage

    16 novembre 2022, par didentifier

    I am on Fedora 37, version is irrelevant as I had same issue on Fedora 36.

    


    I am using the following command to send video from my usb video card to v4l2loopback and the CPU usage goes to 100% and I can't do much more on my computer (i5-8600k, nvidia 2060 rtx, 16GB ram).

    


    ffmpeg -nostdin -threads 1 -f video4linux2 -video_size 1920x1080 -input_format mjpeg -i /dev/video1 -f v4l2 -preset fast -c:v copy /dev/video0

    


    previously the command was like that and the rest of the arguments was added to see if it makes any difference, it seems it doesn't change much

    


    ffmpeg -f video4linux2 -video_size 1920x1080 -input_format mjpeg -i /dev/video1 -f v4l2 -c copy /dev/video0

    


    To be honest I don't know much about ffmpeg or video in general, I was using the same command a few months ago on the same hardware with almost 0 impact to my performance, I could play games and watch videos at the same time while now I get 15 FPS in my games while I am using ffmpeg. Did anything change in ffmpeg ? Any improvements to my ffmpeg command ? Shouldn't ffmpeg not encode anything if I am using pixelformat and frame rate supported by my usb video card and if that is true shouldn't be super light ?

    


  • Auto-Transcode/Compress .mkv to .mp4 on Qnap TS-251+

    9 novembre 2020, par DarkDiamond

    I rip my DVDs with MakeMKV in order to be able to watch them on my TV, as I do not have a DVD-player that supports any output connector that fit into my TV as the TV is relatively new whereas the DVD-player is quite old. (As I only use the rips for my personal entertainment and do not share them there is absolutely no copyright problem).

    


    The problem with the output files is the extreme size as they are the raw data from the disk. Now I would like these files to be compressed into a .mp4 file as soon as they are finished. The problem is that the file is created before everything is in it, so I probably need to write it into a local drive and copy it to its destination later. Then I will copy them to my Qnap NAS TS-251+.

    


    There I want it do be compressed into a much smaller .mp4 file (usually the .mp4s are a sixth of the original size). I found something using ffmpeg, so I just need a script that does this for me. I do not mind to use a Docker machine for it, but I do not know how to do it. I found this :

    


    ffmpeg -i input.mkv -c:v -crf 18 -preset veryslow -c:a copy out.mp4 here.

    


    I also found this video, so I know it is in theory possible, I just do not know how to realise it.

    


    In case you ask why I want to use the Qnap NAS, it allows hardware acceleration, whereas my laptop does not.