Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (65)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (12221)

  • 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