Recherche avancée

Médias (91)

Autres articles (72)

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

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (10327)

  • How can i burn in the current video playback percentage on to a video stream using FFMpeg

    25 mai, par David Clews

    I've taken alook at the drawtext filter in ffmpeg and it offers the ability to burn in the current local time directly on to the video stream. I would like this sort of behaviour but for a integer percentage value and the percentage symbol % after the actual value. I don't know if this is possible using FFMpeg on the command line. The formula should be something like.

    


    ceil((t/duration)*100)

    


  • How to increase video quality of combined video and audio file using ffmpeg

    29 juin 2022, par jettzeong

    I have a scraper script that I am using which utilizes PRAW module to scrape reddit for media.

    


    To downloaded reddit videos, I have written the code below :

    


            video_url = submission.media['reddit_video']['fallback_url'] 
        audio_url = submission.url + "/audio"
        print('Video: ' + video_url)
        print('Audio: ' + audio_url)
        video = requests.get(video_url).content
        audio = requests.get(audio_url).content
        videoname = "D:\\Bot\\reddit_scrape\\" + submission.id + '_video.mp4'
        audioname = "D:\\Bot\\reddit_scrape\\" + submission.id + '_audio.mp4'
        filename = "D:\\Bot\\reddit_scrape\\" + submission.id + '.mp4'
        
        with open(videoname, 'wb') as handler:
            handler.write(video)
        with open(audioname, 'wb') as handler:
            handler.write(audio)

        os.system(f"ffmpeg -i {videoname} -i {audioname} -map 0:v -map 1:a -c:v copy {filename}")
        os.remove(videoname)
        os.remove(audioname)
        save_to_dict(id = submission.id, ext = filename, txt = submission.title)


    


    What this code does is that it fetches the video and audio seperately from reddit, and combines them via ffmpeg.

    


    However, the video created by this block of code is very blurry and has low resolution.

    


    May I know what kind of argument I can use to make my video file play with higher resolution ?

    


  • ffmpeg remove part of video, crop, rotate video [duplicate]

    2 novembre 2017, par 1234567

    This question already has an answer here :

    ffmpeg remove part of video, crop, rotate video

    this can be explained with this images
    orginal videoenter image description here

    crop and rotated video

    enter image description here

    the time details

    original video from which part starting from 10 sec to 16 sec and 20 sec to 26 sec is to be removed

    enter image description here

    result video

    enter image description here