Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (53)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 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, par

    MediaSPIP 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, par

    Mediaspip 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 Williams

    Edit : 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 Aiko

    So 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):&#xA;  File "/users/work/s163838/./main.py", line 126, in <module>&#xA;    &#xA;  File "/users/work/s163838/./main.py", line 96, in main&#xA;    print("e")&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 521, in __next__&#xA;    data = self._next_data()&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data&#xA;    return self._process_data(data)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data&#xA;    data.reraise()&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/_utils.py", line 425, in reraise&#xA;    raise self.exc_type(msg)&#xA;EOFError: Caught EOFError in DataLoader worker process 0.&#xA;Original Traceback (most recent call last):&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 164, in load&#xA;    y, sr_native = __soundfile_load(path, offset, duration, dtype)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 195, in __soundfile_load&#xA;    context = sf.SoundFile(path)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 629, in __init__&#xA;    self._file = self._open(file, mode_int, closefd)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 1183, in _open&#xA;    _error_check(_snd.sf_error(file_ptr),&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/soundfile.py", line 1357, in _error_check&#xA;    raise RuntimeError(prefix &#x2B; _ffi.string(err_str).decode(&#x27;utf-8&#x27;, &#x27;replace&#x27;))&#xA;RuntimeError: Error opening &#x27;vox2/dev/aac/id08194/QnBYPze-x9A/00079.m4a&#x27;: File contains data in an unknown format.&#xA;&#xA;During handling of the above exception, another exception occurred:&#xA;&#xA;Traceback (most recent call last):&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop&#xA;    data = fetcher.fetch(index)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch&#xA;    data = [self.dataset[idx] for idx in possibly_batched_index]&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>&#xA;    data = [self.dataset[idx] for idx in possibly_batched_index]&#xA;  File "/users/work/s163838/vox_celeb_loader.py", line 53, in __getitem__&#xA;    load(speaker2utt1, self.num_samples)&#xA;  File "/users/work/s163838/vox_celeb_loader.py", line 13, in load&#xA;    wav, sr = librosa.load(path, sr=16000)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/util/decorators.py", line 88, in inner_f&#xA;    return f(*args, **kwargs)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 170, in load&#xA;    y, sr_native = __audioread_load(path, offset, duration, dtype)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/librosa/core/audio.py", line 226, in __audioread_load&#xA;    reader = audioread.audio_open(path)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/audioread/__init__.py", line 111, in audio_open&#xA;    return BackendClass(path)&#xA;  File "/users/kdm/s163838/.local/lib/python3.9/site-packages/audioread/rawread.py", line 65, in __init__&#xA;    self._file = aifc.open(self._fh)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 917, in open&#xA;    return Aifc_read(f)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 358, in __init__&#xA;    self.initfp(f)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/aifc.py", line 314, in initfp&#xA;    chunk = Chunk(file)&#xA;  File "/apl/tryton/python/3.9.5/lib/python3.9/chunk.py", line 63, in __init__&#xA;    raise EOFError&#xA;EOFError&#xA;&#xA;</listcomp></module>

    &#xA;

    I am using this command

    &#xA;

        wav, sr = librosa.load(path, sr=16000)&#xA;

    &#xA;

    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 ?

    &#xA;

  • lavc/mediacodecdec_common : enable refcounting of buffers unconditionally

    18 septembre 2022, par sfan5
    lavc/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>

    • [DH] libavcodec/mediacodecdec_common.c