Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (90)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6125)

  • How to create UI for Terminal [y/n] Prompts ?

    22 juin 2023, par itsRits

    I am working with FFmpeg and I want to create a responsive user interface for terminal prompts.

    


    Here's the main function.

    


    #converter.py

def convert_video(input_video, output_video=None, new_fps=None, new_container=None):

   if not output_video:
      if new_container is not None:
         output_video = "output." + new_container
      else:
         output_video = "output." + input_video.split('.')[-1]
   
   command = f"ffmpeg -i {input_video}"

   if new_fps:
      command += f' -r {new_fps}'

   command += f' {output_video}'

   subprocess.call(command, shell=True)


    


    On running the above code, if the video at the output destination with the same name already exists.
the terminal prompts :File 'output.mp4' already exists. Overwrite? [y/N].
I want to implement same using the message box in pyside2. I can create a message box in such a fashion

    


    #ui.py
    message_box = QMessageBox()
    message_box.setText("Do you want to proceed?")
    message_box.setStandardButtons(QMessageBox.Yes | QMessageBox.No)
    message_box.setDefaultButton(QMessageBox.No)


    


    But I am unable to figure how to make the message box pop once this prompt is found in terminal. Further how to send response back to it ?

    


  • Output file not specified [closed]

    16 mai 2024, par Rich Madrid

    I have been messing around with ffmpeg working on basic mkv to mp4 conversions the last couple of days on my Mac and Windows computers. Mac was easier buy my windows desktop has a much faster OS so I wanted to do some conversions on it tonight. Got ffmpeg installed and working.

    


    After having some issues with the command prompt not finding the directory, I solved that with the following basic code to convert an mkv file to an mp4 for me :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    I moved on to wanting to scale up an mkv to 1080p and use a yadif filter. I couldn’t find an adequate way to do this so I used a portion of the command that worked on my Mac last night, and stuffed it into the command for windows and I got an error code “at least one output file must be specified” after using the following command :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" -vf "yadif=1,scale=1440x1080:flags=lanczos,setsar=1" -c:v libx264 -crf 21
-c:a aac -b:a 128k -ar 48k "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    What am I doing wrong ?

    


  • fftools/ffmpeg : Remove the micor like "#if 1"

    9 novembre 2018, par Jun Zhao
    fftools/ffmpeg : Remove the micor like "#if 1"
    

    They are come from 2003 and delete them.

    Signed-off-by : Jun Zhao <mypopydev@gmail.com>

    • [DH] fftools/ffmpeg.c