
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 (63)
-
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 (10465)
-
FFMPEG spoils the extreme pixels when converting and cropping images [closed]
20 décembre 2024, par JacobI have a side image processing task in my work.
I am using the following command to translate a spherical panorama into a cubemap :


Path/ffmpeg.exe -i "Path/PanoImageInput.png" -vf v360=equirect:c6x1:fin_pad=64:out_frot=002200,scale=-1:2048:flags=neighbor "Path/CubemapOutput.png"


And then I slice it into separate images, 1 face for example :


Path/ffmpeg.exe -i "Path/CubemapOutput.png" -vf crop=2048:2048:0:0 -sws_flags neighbor "Path/face_1.png"


I get artifacts on both cubemap and images of this kind that really bother me :


Cubemap image junction
The junction and part of the edge of the cubemap image


The pixels at the junctions of the 6 images in cubemap and the outermost pixels of any images change their color slightly. This eventually leads to the appearance of visible seams in the scene assembled from the images.


Is there any way I can get rid of them ?


I have tried different interpolation methods in both functions :
fast
,bicubric
,gauss
, etc. It doesn't seem to have any effect.

I also tried to crop a couple of pixels less, something like :
crop=2040:2040:4:4


I thought it was all because of cubemap and its distortions. Anyway, at the edges of the image, the extreme pixels change their hue.


I also hoped that with the help of pad, during the conversion, I could somehow control the area where the pixels deteriorate, but it absolutely does not matter what I put there -
fin_pad
,fout_pad
and any numbers for them, removescale
, setscale
- neither the final image size changes, nor any extra fields appear. Most likely, I just don't understand what this function is really supposed to mean.

-
Put remaining pieces of CODEC_FLAG_EMU_EDGE under FF_API_EMU_EDGE.
17 août 2015, par Ronald S. BultjePut remaining pieces of CODEC_FLAG_EMU_EDGE under FF_API_EMU_EDGE.
The amv one probably looks suspicious, but since it’s an intra-only
codec, I couldn’t possibly imagine what it would use the edge for,
and the vsynth fate result doesn’t change, so it’s probably OK. -
How to create video and audio files for the Media Source Extension API ?
5 décembre 2018, par AmanI have created a video player from the
Media Source Extension API
. I have split thevideo
andaudio
from theoriginal.mp4 (1 minute duration)
. I have split thevideo
andaudio
into small5 second files (12 files in total)
. I’m getting each one of them and playing them together. But the video stops playing at around 45-47 seconds. I cannot understand to why the video is stopping/buffering. I cannot understand whether the problem is in thejavascript
code or the video files ?I have uploaded all the resources here (https://drive.google.com/file/d/1NHc_yNRU0tvaU18aohLy74Js3y7UHD4N/view?usp=sharing). And written the commands I used to construct my video and audio files below. I have also noticed that this problem only occurs with
Google Chrome
and works perfectly and smoothly onMicrosoft Edge
. ThanksMaking the Media files:
Extracting video from original.mp4: MP4Box -single 1 original.mp4
Extracting audio from original.mp4: MP4Box -single 2 original.mp4
Splitting the video and audio into 5 second parts: ffmpeg -ss
starting-time-to
end-time-i
(video.mp4OR
audio.mp4)(video_part.mp4
OR
audio_part.mp4)Fragmenting all the video and audio parts: MP4Box -dash 1000 -rap -frag-rap
(video_part.mp4OR
audio_part.mp4)Then using the fragmented video and audio files to be played via the Media Source Extension API video player.
e.g. (video_part_dashinit.mp4OR
audio_part_dashinit.mp4)