
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (48)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (6984)
-
Pydub The system can not find the file specified
11 janvier 2021, par MadarSo here is my code :


from pydub import AudioSegment
sound1 = AudioSegment.from_mp3("sound_0.mp3")
sound2 = AudioSegment.from_mp3("sound_1.mp3")

sound = sound1 + sound2
sound.export("test.mp3",format="mp3")



Problem :
I got the error message : WindowsError : [Error 2] The system can not find the file specified


System configuration
Python version : 3.8
Pydub version : I just installed it
ffmpeg or avlib ? : ffmpeg
ffmpeg/avlib version : 2020-12-15-git-32586a42da-full_build-www.gyan.dev


What did I try ?
So, I found some things to do on a Stackoverflow subject,
I tried to add this


pydub.AudioSegment.ffmpeg = "way//to//ffmpeg.exe"



But it doesn't worked, then this


AudioSegment.converter = "way//to//ffmpeg.exe"



Still doesn't work, so, because I'm on spyder with anaconda, I tried this on the anaconda prompt


conda install -c conda-forge ffmpeg



I even tried to put ffmpeg.exe,ffplay.exe in the current working directory but still doesn't worked..


So I'm desperately here for some help, thanks in advance


-
avcodec/lpc : Avoid floating point division by 0
28 mai 2021, par Michael Niedermayer -
FFMpeg SDR and HDR side-by-side video encoding
21 septembre 2023, par Famro FexlI am attempting to create a side-by-side video with FFMpeg using the hstack filter.


The SDR video is formatted as "AVC 8-bit YUV420p BT709 Gamma 2.4" and the HDR video is formatted as "HEVC 10-bit YUV420p10le BT2020 SMPTE2084 (with HDR10 metadata)".


In order for the gamma and color space to match, I tried to convert the SDR video to an HDR format using filtering.


Basically, I attempted to process the Rec.709 gamma 2.4 SDR content to Rec.2020 SMPTE2084 content so it could be combined and displayed in the same video. I'm not sure if the input pixel format mattered, at it appeared to be automatically transformed into the output pixel format. From everything I know, this should be theoretically possible.


Here is my FFMpeg command for converting the SDR video into HDR :

ffmpeg -i input.mkv -filter_complex "colormatrix=bt709:bt2020" -color_primaries bt2020 -color_trc smpte2084 -c:v libx265 out.mkv


The colorspace filter always returned the error
[Parsed Colorspace_0 @ addr] Unsupported input primaries 2 (unknown)
, when using the filter_complex `colorspace=all=bt2020", so I was never able to use it.

The HDR result had over-saturated reds in the color space and it was too dim in the gamma. I tried every gamma option available, but none of them matched the original SDR content.`