Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (45)

  • 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 en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7564)

  • FileNotFoundError : [WinError 2] The system cannot find the file specified in Windows 10

    26 juillet 2021, par cr_untilted

    I am attempting to use ffmpeg in a script that take screenshots of a video in my directory and I keep getting the following errors :

    


    Saving Screens...
Process Process-1:
Traceback (most recent call last):
  File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\User1\ffmpegScreenshot-Assistant\src\prep.py", line 580, in screenshots
    ffmpeg
  File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 313, in run
    process = run_async(
  File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
    return subprocess.Popen(
  File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\User1\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified


    


    Below is the code snippet from 'prep.py' where the error occurs above.

    


              while i != self.screens:
                image = f"{base_dir}/tmp/{folder_id}/{filename}-{i}.png"
                (
                    ffmpeg
                    .input(path, ss=random.randint(round(length/5) , round(length - length/5)))
                    .output(image, vframes=1)
                    .overwrite_output()
                    .global_args('-loglevel', 'quiet')
                    .run(quiet=True)
                )


    


    The error message does not mention what file it is unable to find so debugging this issue has proven challenging. I am using Windows 10 and I have tried 'cmd', Git-Bash, and PowerShell. I am also using Python Version 3.9.6. Any tips or ideas on how I can debug this issue and get it fixed ?

    


  • How to make (output file) take the name from (input mp3 file) in FFMPEG ?

    23 novembre 2020, par Артем

    I am using Windows 7
    
Here is my batch file.
    
This batch file combines mp3 and png. By adding album art to the audio file.

    


    @echo off
@setlocal EnableDelayedExpansion
color a
set a=Your_files\*.mp3
set aa=Your_files\*.png
set b="Result\%%~na.mp3"
set c=ffmpeg
set f=-map 0:0 -map 1:0 -c copy -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (Front)"
for %%a in (%a%) do !set mp3="%%a"!
for %%s in (%aa%) do !set png="%%s"!
%c% -y -i %mp3% -i %png% %f% %b%
exit


    


    When I write this (%% na.mp3) he doesn't know where to get the title from.
    
So it outputs this as the filename (% na.mp3).

    


    set a=Your_files\*.mp3
set aa=Your_files\*.png
set b="Result\%%~na.mp3"


    


    That's what I want. Open me

    


  • How can I merge .webm (Audio) file and a .mp4 (Video) file using java ?

    14 décembre 2017, par user2136160

    I have two files one is a .webm audio file and the other one is a .mp4 video file
    Is there a way to combine these two files together using java ?

    Thanks in advance.