Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (52)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (6412)

  • 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