Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (49)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10197)

  • 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 ?

    


  • Send command to terminal with appelscript

    16 mars 2017, par Björn

    I have this ffmpeg command that I would like to send to terminal through appelscript. It works when I run it directly in terminal.

    ffmpeg -i score.mov -i palette.png -filter_complex \
    "fps=8,scale=600:-1:flags=lanczos[x];[x][1:v]paletteuse" -f image2pipe -vcodec ppm - | convert -delay 15 -loop 0 -layers Optimize - output39.gif

    This doesn’t compile in scripteditor.

    tell application "Terminal"
       do script "ffmpeg -i score.mov -i palette.png -filter_complex \
    "fps=8,scale=600:-1:flags=lanczos[x];[x][1:v]paletteuse" -f image2pipe -vcodec ppm - | convert -delay 15 -loop 0 -layers Optimize - output39.gif"
    end tell

    I get "Expected end of line but found identifier"

    Anyone have an idea what to do ?

  • Anomalie #4513 (Fermé) : Undefined au post d’un message de forum public

    6 juillet 2021, par cedric -