
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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. -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8566)
-
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 ?


-
Does file size of an encoded video scales proportionally with FPS if a video is encoded in H265 ?
20 juin 2021, par user482594If I encode a raw 60fps video with an H.265 encoder, one with 30 fps and the other with 60fps, would the file size of a 60fps encoded video be as twice as big as 30fps H.265 video ? (assuming all other parameters are the same. e.g. Same CRF/twopass parameters)


In other words, if I happen to encode the same source video with 10 fps, would the outcome encoded video has about 1/6 the file size of 60 fps encoded video ?


-
FFmpeg : how to make output video has the same width, height, and SAR with input video
8 décembre 2014, par user2927954I have 2 videos : v1.mp4 and v2.mp4. I want to make a output video that is a copied-v2.mp4 video but has the same width, height, SAR with v1.mp4.
How could i do that by ffmpeg command ?I think about the command :
ffmpeg -i v1.mp4 -i v2.mp4 -filter_complex [1:v]scale={width_of_v1}:{height_of_v1},setsar={sar_of_v1}[out] out.mp4
but i do not know how to get those values : width_of_v1, height_of_v1, sar_of_v1