
Recherche avancée
Autres articles (89)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (6618)
-
ffmpeg - Making a Clean WAV file
10 janvier 2021, par EdwardI'm looking to batch convert a number of files to audio files using
ffmpeg
for a game calledStar Wars: Jedi Knight: Dark Forces II
. The problem I'm having is thatffmpeg
seems to be doing something that does so thatJedi Knight
can't play the sound file.


Jedi Knight
accepts plain oldPCM
WAV
files of various ranges, from 5khz to 96khz, 8 and 16 bit, mono and stereo. This sounds plain and simple. Except for that if one were to create aWAV
file usingMS Sound Recorder
,Jedi Knight
could not play it. Speculation was that it added something extra to header or something. But it can play aWAV
file created byAudacity
,GoldWave
orModPlug Tracker
to name a few.


So why not
ffmpeg
? Am I using the wrong codec or params ? I took an original sound file from the game and performed the following :


ffmpeg -i "orig_thrmlpu2.wav" -f wav -acodec pcm_s16le -ar 22050 -ac 1 "ffmpeg_thrmlpu2.wav"




The
ffmpeg
version does not play in the game.ffprobe
shows that theffmpeg
version has someMetadata
which theoriginal
doesn't have. What params should I use to try and get the sameWAV
format as the original ? Mind you,-ar
,-ac
andbits
aren't the important parts.


Here are the files for you to examine : http://www.edwardleuf.org/Games/JK/thrmlpu2.zip


-
colors messed up (distorted) when making a gif from png files using ffmpeg
13 novembre 2019, par wxyzI have a sequence of png images :
image_00.png
,image_01.png
,image_02.png
, etc. I want to convert them to a gif, so I tried the commandffmpeg -i image_%02d.png video.gif
Unfortunately, the resulting gif has distorted colors. More specifically, it added a weird sort of yellow haze around some objects in the video.
I also tried using the command above with all possible pixel format options (which I determined using the command
ffmpeg -h encoder=gif
) :rgb8
,bgr8
,rgb4_byte
,bgr4_byte
,gray
,pal8
. For exampleffmpeg -i image_%02d.png -pix_fmt rgb8 video.gif
. Unfortunately, all of the resulting gifs had some sort of color distortion.I also observed that this distortion does not occur if I convert the images to mp4 instead of gif. However, if I try converting that mp4 to a gif, I end up with the distortion again.
How can I produce this gif without color distortion ?
-
Revision 0de216a995 : Use local vairable in rd_auto_partition_range() In addition to a few cleanups.
20 mars 2014, par Yaowu XuChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_onyx_if.c
Use local vairable in rd_auto_partition_range()In addition to a few cleanups.
Change-Id : Ice5938ef494513921a47e7c64ba9928f2202e24e