Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (78)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12938)

  • 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

  • Changing Video's rotation metadata without rotating video

    2 décembre 2016, par Arshdeep Singh

    I have two Videos. One is from front camera and one is from back camera. When I concatenate these two. one gets vertically inverted in merged file. Video taken from front camera having rotation metadata 270. And Video taken from back camera having rotation metadata 90. While concatenation one gets inverted, while I don’t want. Please help....