
Recherche avancée
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (5279)
-
Changing Video's rotation metadata without rotating video
2 décembre 2016, par Arshdeep SinghI 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....
-
ffmpeg remove part of video, crop, rotate video [duplicate]
2 novembre 2017, par 1234567 -
How to increase video quality of combined video and audio file using ffmpeg
29 juin 2022, par jettzeongI 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 ?