
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (78)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (7995)
-
How to use the FFmpeg blackdetect filter for the following image
17 septembre 2021, par dinesh47I am using FFmpeg to find the blackdetect from a mp4 video file. but for some reasons file with very low light or poor background at night get detected as black frame For sample i have attached the frame which detected as black


My ffmpeg filter setting is "blackdetect=d=121:pix_th=0.00"


my file has a resolution of 1280*720 and frame rate of 30 which uses decoder format of 4:2:0 YUV



There are 2 Questions


1.Why the ffmpeg lib detects this as black frame ?


2.How to over come this ?


-
How to make transparent background of image after rotating using ffmpeg in Android ?
18 juin 2020, par Mit ShahThe issue I am facing is, rotating the image in app, it works as expected. But after saving the file, the difference is seen. The image is rotated but with black background instead of transparent. I have looked several places for solution but didn't succeed.



I have tried this things :



- 

- In command, c=none, c=black@, c=black@0, c=000000, c=0x000000
- With both extensions jpg and png.







But failed to get the required output.



For practical understanding, here are the two images stating Input and Output.



Help me out. Thanks



Input :




Output :



-
Different filesizes for images generated using octave and python
17 décembre 2020, par lakshaygI am using python (scikit-image) and octave to generate 200 images as follows


Python3


import numpy as np
from skimage.io import imsave

images = [255*np.ones((100,100), dtype=np.uint8), # white
 np.zeros((100,100), dtype=np.uint8)] # black

for i in range(200): # save alternating black and white images
 imsave('%04d.png'%(i+1), images[i%2])



Octave


pkg load image;

im1 = 255*ones(100,100); # white
im2 = zeros(100,100); # black
for i=1:200
 name = sprintf('%04d.png', i);
 if mod(i,2) == 0
 imwrite(im1, name);
 else
 imwrite(im2, name);
 end
end



Next, I use ffmpeg to generate two videos (alternating white and black frames) from these two sets of images using the following command


ffmpeg -r 10 -loglevel quiet \
 -i ./%04d.png -c:v libx264 \
 -preset ultrafast -crf 0 ./out.mkv



- 

- Sizes of image files generated by both these codes are different.




- 

- Octave white : 192 bytes, black : 98 bytes
- Python white : 120 bytes, black : 90 bytes






- 

- Sizes of video files generated from these octave and python images are significantly different from each other.




- 

- Octave filesize : 60 kilobytes
- Python filesize : 116 kilobytes






Why do we have this apparently very strange behavior ?


EDIT


Since it was suggested that the behavior might be due to octave and python using different bit-depths to store the images, I changed the octave code to use 8 bit numbers


im1 = uint8(255*ones(100,100)); # white
im2 = uint8(zeros(100,100)); # black



and now the image file sizes are nearly the same


- 

- Octave white : 118 bytes, black : 90 bytes
- Python white : 120 bytes, black : 90 bytes






but the problem is still the same for video files, octave : 60K, python : 116K