
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (70)
-
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 ) (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (10988)
-
sws/aarch64/yuv2rgb : honor iOS calling convention
8 avril 2016, par Clément Bœschsws/aarch64/yuv2rgb : honor iOS calling convention
y_offset and y_coeff being successive 32-bit integers, they are packed
into 8 bytes instead of 2x8 bytes.> iOS diverges from Procedure Call Standard for the ARM 64-bit
> Architecture in several ways
[...]
> In the generic procedure call standard, all function arguments passed
> on the stack consume slots in multiples of 8 bytes. In iOS, this
> requirement is dropped, and values consume only the space required.
[...]
> Padding is still inserted on the stack to satisfy arguments’ alignment
> requirements. -
how to convert PCM file to MLP file using FFmpeg in windows ?
21 octobre 2014, par user2877921I have tried converting .mp3 file to .pcm file.now i have added a encoder file which converts it into MLP file.i need the command in command prompt to convert pcm file to mlp file.
-
Finding corrupted videos with python
16 septembre 2022, par tuskerI have huge video dataset (about 500000 16 frame length clips). Some of the videos produce messages like


[mpeg4 @ 0x561b46a44b80] marker does not match f_code
[mpeg4 @ 0x561b480c0740] Error at MB: 4718
[mpeg4 @ 0x561b4811b640] header damaged



I want to find which videos cause the problem.

First I tried with this https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4 solution, but I got nothing in the error files.

My second idea was to read the first image of a video and if it throws an error, save the filename to a file. However, it seems this is not an error message : although the messages appeared on console,
read
returned withsuccess=True
.

Then I tried to print the filenames to standard error (where the warning messages also go), saving it to a file and do some postprocessing to extract the videos which has problem.


import os
from tqdm import tqdm
import sys

folder = '/path/to/videos'
for f in tqdm(os.listdir(folder)):
 sys.stderr.write('BEFORE VIDCAP ' + f + '\n')
 vidcap = cv2.VideoCapture(os.path.join(folder,f))
 sys.stderr.write('BETWEEN VIDCAP AND SUCCESS' + f + '\n')

 success, image = vidcap.read()
 sys.stderr.write('AFTER SUCCESS ' + f + '\n')



However, the standard error outputs in the following order :


AFTER SUCCESS
[mpeg ...] 
[mpeg ...]
...
BEFORE VIDCAP



It doesn't make sense how can it happen in this order, some broken videos should be seen somewhere between BEFORE and AFTER. (And the ones following or preceding are not broken neither if I try to open them individually.)


My last idea was to create for every video a file, making it as the stderr and check the non-empty files. (I know it's insanely inefficient, but I didn't have any other idea.)


for f in os.listdir(folder):
 sys.stderr = open(f + '.txt', 'w')
 vidcap = cv2.VideoCapture(os.path.join(folder,f))
 success, image = vidcap.read()



This doesn't work also, all the error files are empty, although the messages still appear on standard error.



So my questions are the following :


- 

- What would be an efficient solution for this problem ?
- How is this order of outputs (first code example) possible ? There is some parallelism under the hood ?
- Where are this messages going if not to the standard error (second code example) ? If yes, why are they printed to the console instead of the specified error file ?