
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (76)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications 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, parCertains 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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (13058)
-
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 ?


-
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....
-
Issue with video.js playing AES encrypted video
2 septembre 2021, par r3dgeI'm trying to use video.js to play an encrypted HLS video. The AES 128 encryption has been done using this method : FFmpeg video encryption


Here is the html code :



 
 <source src="http://192.168.56.1/enc/prog_index.m3u8" type="application/x-mpegURL">
</source>

 
 
 

Video.js is loaded using CDN :


<code class="echappe-js"><script src="https://unpkg.com/video.js/dist/video.js"></script>



<script src="https://unpkg.com/@videojs/http-streaming/dist/videojs-http-streaming.js"></script>



The player is loading and appears in the browser but the video can not be played.


I get two warnings in the console :


video.js:159 VIDEOJS : WARN : A plugin named "reloadSourceOnError" already exists. You may want to avoid re-registering plugins !


VIDEOJS : WARN : Problem encountered with playlist 0-http://192.168.56.1/enc/prog_index.m3u8. Trying again since it is the only playlist.


Server side i'm using Apache with Symphony 5. The server return a HTTP 200 status for the first ts file of the video. When i press the play button of the player seems to retry downloading. It get a 200 each time but the video is not played.


Update : i tried to play the same video without encryption and it works. The problem seems to be due to the encryption itself.


Thanks in advance for any help on that issue.