
Recherche avancée
Autres articles (35)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6889)
-
Anomalie #4562 : Suite #4468 : Unification des CSS pour les boutons et les icônes
9 octobre 2020Remarque tant qu’à faire, autant se rapprocher de la maquette de Rasta non ? (la plus simple, la v1 : https://core.spip.net/attachments/download/1171/svp.html).
Ça ferait une étape intermédiaire avant la version finale.
Pour l’instant il ne s’agit vraiment que de l’habillage, pour la finaliser par la suite il ne resterait que la gestion plus avancée des messages et boutons de mise à jour (et éventuellement les boutons déroulants si c’est la v2 qui est retenue).Je reviens à la charge pour les boutons editer_liens et cie là, je suis quand même pas 100% convaincu par l’utilisation de la variante .principal à cet endroit, ça attire beaucoup l’attention. Le .link me parait plus sobre. Du coup je sais pas, on fait un vote ? On s’en fout ?
-
My ffmpeg library is not being recognised as in inter or external command when trying to convert a video in python [duplicate]
22 avril 2024, par Shaahid PatelWhat im trying to do in python is to convert a 4k mkv video to 1080p mp4 video using the ffmpeg library.


import subprocess

def convert_4k_to_1080p(input_file, output_file):
 cmd = f'ffmpeg -i "{input_file}" -crf 18 -c:v libx264 -c:a aac -s 1920x1080 "{output_file}"'
 subprocess.run(cmd, shell=True)


input_file = "c:/Users/Shaahid/Videos/Movies/Series/Arcane.S01E02.2021.2160p.UHD.WEB.AI.AV1.Opus.MULTi5-dAV1nci.mkv"
output_file = "c:/Users/Shaahid/Videos/Movies/Series/Test.mp4"
convert_4k_to_1080p(input_file, output_file)



however i have been recieving the following error :
'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.


I was expecting my video to be converted from 4k to 1080p however I still get errors. I have tried deleted and re installing the library through pip but unfortunately the error still occurs. Im not sure what to do and can anyone kindly assist me


-
Combining Video and Audio of different length in bulk
27 avril 2017, par user2981223I am going through a tv series right now and editing the files to be to my liking. I have one set which has the video I want and one set that has the audio. I have a batch file that I can run that takes the video from every file in folder "A" and the audio from every file in folder "B" and outputs it to a folder named "output." But with this particular series, that is only half of what I need done.
At the end of every episode of the files in the "B" folder there are some extra things. What I would like to do is take the audio and video from "A" and the audio from "B", combine it all into one file and also take the "A" and "B" files, compare the time stamps, and add the extra video from "B" to the output file.
Let me put it another way. Let’s say "A" is 1080p with Japanese audio and is 20 minutes long. Let’s say "B" is 720p with English audio and is 23 minutes long. I want the whole 1080p video with both audio tracks, plus the 720p video spliced onto the end. Both files start at the same spot so syncing isn’t an issue. The issue is that the difference in time is different for every episode. So some episodes are 3 minutes longer, some only 30 seconds. Is there a way to make ffmpeg or another tool look at the difference in times and just add the excess to the output file ?
Sorry for being long winded. Thanks for any help and guidance.