Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Les formats acceptés

    28 janvier 2010, par

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

Sur d’autres sites (5622)

  • I made this code, but the sound is too loud, how can I reduce it ?

    7 juillet 2021, par Luiz Torres

    I want to reduce the volume, but nothing I tried worked

    


    async def play1(guild : discord.Guild, url):
  guild = client.get_guild(guild)
  FFMPEG_OPTIONS = {'before_options' : '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options' : '-vn'} #youtube_dl options
  YDL_OPTIONS = {'format': 'bestaudio/best', 'extractaudio': True, 'audioformat': 'mp3', 'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s',
  'restrictfilenames': True, 'noplaylist': True, 'nocheckcertificate': True, 'ignoreerrors': False, 'logtostderr': False, 'quiet': True,
  'no_warnings': True, 'default_search': 'auto', 'source_address': '0.0.0.0'}
  cn = guild.voice_client #guild
  with youtube_dl.YoutubeDL(YDL_OPTIONS) as ydl :
    info = ydl.extract_info(url, download = False)
    url2 = info['formats'][0]['url']
    source = discord.FFmpegOpusAudio(source=url2, executable="ffmpeg", **FFMPEG_OPTIONS)
    cn.play(source) #play in channel


    


  • Is their any way to split video into multiple segment using ffmpeg in android ?

    22 janvier 2020, par Ayaz Qureshi

    I want to trim video into 30 seconds multiple segments in android studio.I have used the following command to trim video into 30 seconds but this is not the way i want,its just trimming video into 30 sec.Is there any FFmpeg command available to split video into multiple segments in android studio of specific duration like 30 secs ?

  • Why is ffmpeg-python throwing a codec error here ?

    15 octobre 2019, par TwentyPenguins

    I’m trying out ffmpeg-python for the first time and I’m hitting what looks like a complex error surprisingly early on.

    Here’s my complete code as it stands :

    from tkinter import filedialog
    import ffmpeg

    sourceFile = filedialog.askopenfile()
    targetFile = filedialog.asksaveasfilename()

    stream = ffmpeg.input(sourceFile, ss=0, format='mov')
    stream = ffmpeg.output(stream, targetFile, format='mp4')
    ffmpeg.run(stream)

    In my head, this ought to be simple. The user browses to an existing MOV file (a standard h264 file which ’normal’ FFmpeg.exe can handle no problem on a Windows command line), then selects an output file for an MP4 to be saved, then FFmpeg is called and an MP4 file is converted from the MOV.

    However, regardless of what source file I choose, I am always hitting this error :

     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\ffmpeg\_ffmpeg.py", line 85, in output
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\ffmpeg\_run.py", line 285, in run_async
       args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 775, in __init__
       restore_signals, start_new_session)
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 1119, in _execute_child
       args = list2cmdline(args)
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 530, in list2cmdline
       needquote = (" " in arg) or ("\t" in arg) or not arg
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\encodings\cp1252.py", line 23, in decode
       return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 41: character maps to <undefined>
    </undefined>

    The position number changes depending on the file but the error is always ’charmap’ codec can’t decode byte 0x90 in position [x] : character maps to < undefined >

    Please can somebody point me to where I may be going wrong on this one ? I feel the answer is staring me in the face but I’m not seeing it.