Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (54)

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

  • 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

Sur d’autres sites (8437)

  • 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

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

    


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