
Recherche avancée
Autres articles (92)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (4255)
-
why is the combined video slow when reading ?
20 juin 2022, par vuvu 700I wrote a script to download complete twitch void, It works by downloading each fragment of the video separately, they are .This file format. In order to combine them all I append each new fragment at the end of the file which is very fast and efficient.
My problem That they are not combined at all so when reading the video it is very slow to load while reading and can't even be loaded in Adobe Premiere.

I found a way to solve my problem using "ffmpeg -i input -codec copy output" but takes a LOT a time, even more time than to download the video.

I would like to know if there is a better way to combine the files or a more appropriate ffmpeg command ?


-
How to merge init.mp4 file with m4s segments on windows command
5 juillet 2018, par BellaI have a online video file which I have paid for and would like to download and keep for personal use. The video file on the website has an initial mp4 file and m4s files in segments. I have tried Invidownloader but it isn’t working when I try to convert the concatenated m4s file to mp4. I think it might be because the program isn’t concatenating the mp4 and m4s files together properly ? Would there by any possible way I will be able to merge all the files together so I can download and merge all the file to a single playable mp4 file ?
If it requires any command, it would be helpful if it is for windows command.
I am also open to any other useful program recommendations as well. Anything that will allow me to merge all the files. -
Converting mkv to h264 FFmpeg
14 janvier 2021, par Rikus HoneyEDIT :
This question has become very popular and is one of the top results for searching "convert mkv to h264 ffmpeg" and thus I feel it is appropriate to add that for anyone stumbling upon this question to rather use


ffmpeg -i input.mkv -c:v libx264 -c:a aac output.mp4



as
libvo_aacenc
has been removed in recent versions of FFmpeg and it now has a native aac encoder. For more information visit the FFmpeg wiki page for encoding AAC.

Here is the original question :


I would like to convert my .mkv files to .mp4 using FFmpeg. I have tried the following code :


ffmpeg -i input.mkv -c:v libx264 -c:a libvo_aacenc output.mp4



But I get the error :




Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height.




Is there any way to get around this ? I have tried setting the bitrate of the audio but the problem seems to persist.