
Recherche avancée
Autres articles (53)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11021)
-
Creating animated AVIF with FFmpeg
17 septembre 2022, par Ollie WilliamsEdit : This did eventually complete, and the output file is fine. I am using a top-end MacBook M1 Pro computer. Is it normal for it to be this relentlessly slow ? It was


My input file is an
.mov
. I used this command :

ffmpeg -i Jellyfish.mov Jellyfish.avif


I also tried converting an MP4/h264 file.
In both cases it took over 50 minutes.


It's a 5 second long clip but it has taken about 20 minutes and the output file is still zero bytes.


This is the output in my terminal :


Output #0, avif, to 'Jellyfish.avif':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41isomavc1
 encoder : Lavf59.27.100
 Stream #0:0(und): Video: av1 (av01 / 0x31307661), yuv420p(tv, bt709, progressive), 1280x720, q=2-31, 30 fps, 15360 tbn (default)
 Metadata:
 creation_time : 2022-03-18T00:53:05.000000Z
 handler_name : L-SMASH Video Handler
 vendor_id : [0][0][0][0]
 encoder : Lavc59.37.100 libaom-av1
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= frame= 36 fps=1.4 q=0.0 size= 0kB time=00:00:00.03 bitrate= 0.0kbits/sframe= 37 fps=0.2 q=0.0 size= 0kB time=00:00:00.06 bitrate= 0.0kbits/sframe= 39 fps=0.2 q=0.0 size= 0kB time=00:00:00.13 bitrate= 0.0kbits/sframe= 41 fps=0.1 q=0.0 size= 0kB time=00:00:00.20 bitrate= 0.0kbits/sframe= 43 fps=0.1 q=0.0 size= 0kB time=00:00:00.26 bitrate= 0.0kbits/sframe= 45 fps=0.1 q=0.0 size= 0kB time=00:00:00.33 bitrate= 0.0kbits/sframe= 47 fps=0.1 q=0.0 size= 0kB time=00:00:00.40 bitrate= 0.0kbits/sframe= 49 fps=0.1 q=0.0 size= 0kB time=00:00:00.46 bitrate= 0.0kbits/sframe= 51 fps=0.1 q=0.0 size= 0kB time=00:00:00.53 bitrate= 0.0kbits/sframe= 53 fps=0.1 q=0.0 size= 0kB time=00:00:00.60 bitrate= 0.0kbits/sframe= 55 fps=0.1 q=0.0 size= 0kB time=00:00:00.66 bitrate= 0.0kbits/sframe= 57 fps=0.1 q=0.0 size= 0kB time=00:00:00.73 bitrate= 0.0kbits/sframe= 59 fps=0.1 q=0.0 size= 0kB time=00:00:00.80 bitrate= 0.0kbits/sframe= 61 fps=0.1 q=0.0 size= 0kB time=00:00:00.86 bitrate= 0.0kbits/sframe= 63 fps=0.1 q=0.0 size= 0kB time=00:00:00.93 bitrate= 0.0kbits/sframe= 65 fps=0.1 q=0.0 size= 0kB time=00:00:01.00 bitrate= 0.0kbits/sframe= 67 fps=0.1 q=0.0 size= 0kB time=00:00:01.06 bitrate= 0.0kbits/s speed=0.00103x



I copied the command avif.io


-
File contains data in an unknown format. (m4a load from librosa)
2 août 2022, par Moriyama AikoSo I am currently working on a DNN that takes in m4a files. I have ffmpeg, it creates a few batches and then dies on this error :


Traceback (most recent call last):
 File "/users/work/s163838/./main.py", line 126, in <module>
 
 File "/users/work/s163838/./main.py", line 96, in main
 print("e")
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 521, in __next__
 data = self._next_data()
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
 return self._process_data(data)
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
 data.reraise()
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/_utils.py", line 425, in reraise
 raise self.exc_type(msg)
EOFError: Caught EOFError in DataLoader worker process 0.
Original Traceback (most recent call last):
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 164, in load
 y, sr_native = __soundfile_load(path, offset, duration, dtype)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 195, in __soundfile_load
 context = sf.SoundFile(path)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 629, in __init__
 self._file = self._open(file, mode_int, closefd)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 1183, in _open
 _error_check(_snd.sf_error(file_ptr),
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 1357, in _error_check
 raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening 'vox2/dev/aac/id08194/QnBYPze-x9A/00079.m4a': File contains data in an unknown format.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
 data = fetcher.fetch(index)
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
 data = [self.dataset[idx] for idx in possibly_batched_index]
 File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
 data = [self.dataset[idx] for idx in possibly_batched_index]
 File "/users/work/s163838/vox_celeb_loader.py", line 53, in __getitem__
 load(speaker2utt1, self.num_samples)
 File "/users/work/s163838/vox_celeb_loader.py", line 13, in load
 wav, sr = librosa.load(path, sr=16000)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/util/decorators.py", line 88, in inner_f
 return f(*args, **kwargs)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 170, in load
 y, sr_native = __audioread_load(path, offset, duration, dtype)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 226, in __audioread_load
 reader = audioread.audio_open(path)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/audioread/__init__.py", line 111, in audio_open
 return BackendClass(path)
 File "/users/kdm/s163838/.local/lib/python3.9/site-packages/audioread/rawread.py", line 65, in __init__
 self._file = aifc.open(self._fh)
 File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 917, in open
 return Aifc_read(f)
 File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 358, in __init__
 self.initfp(f)
 File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 314, in initfp
 chunk = Chunk(file)
 File "/apl/tryton/python/3.9.5/lib/python3.9/chunk.py", line 63, in __init__
 raise EOFError
EOFError

</listcomp></module>


I am using this command


wav, sr = librosa.load(path, sr=16000)



is it just a broken file ? How do I skip such then ? Or is it something about loading a m4a file even with ffmpeg and the desired output when tested on a single m4a file ?


-
lavc/mediacodecdec_common : enable refcounting of buffers unconditionally
18 septembre 2022, par sfan5lavc/mediacodecdec_common : enable refcounting of buffers unconditionally
This allows av_mediacodec_release_buffer to be called safely after
the decoder is closed, this was already the case with delay_flush=1.
Note that this causes holding onto frames to keep the decoding context
alive which is generally considered to be the intended behavior.Signed-off-by : sfan5 <sfan5@live.de>
Signed-off-by : Anton Khirnov <anton@khirnov.net>