Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (47)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5403)

  • Google Speech Recognition API output errors, unsure why they're occuring

    8 novembre 2019, par Requiem_7

    This is the output for when I feed flac files into Google’s Speech Recognition API. It says that if starts and finishes most of the files but then it gives me these errors when it nears the end. I have checked and all these files are native flac files. I took out a good chunk of the output above "source/out70.flac started" becuase it’s all the same besides the file number.

    source/out70.flac started
    source/out25.flac started
    source/out17.flac done
    source/out18.flac started
    source/out25.flac done
    source/out20.flac done
    source/out21.flac started
    source/out10.flac done
    source/out100.flac started
    source/out14.flac done
    source/out18.flac done
    source/out21.flac done
    Traceback (most recent call last):
     File "C:\Users\hmkur\AppData\Roaming\Python\Python37\site-packages\speech_recognition\__init__.py", line 203, in __enter__
       self.audio_reader = wave.open(self.filename_or_fileobject, "rb")
     File "C:\Program Files (x86)\Python37-32\lib\wave.py", line 510, in open
       return Wave_read(f)
     File "C:\Program Files (x86)\Python37-32\lib\wave.py", line 164, in __init__
       self.initfp(f)
     File "C:\Program Files (x86)\Python37-32\lib\wave.py", line 129, in initfp
       self._file = Chunk(file, bigendian = 0)
     File "C:\Program Files (x86)\Python37-32\lib\chunk.py", line 63, in __init__
       raise EOFError
    EOFError

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:\Users\hmkur\AppData\Roaming\Python\Python37\site-packages\speech_recognition\__init__.py", line 208, in __enter__
       self.audio_reader = aifc.open(self.filename_or_fileobject, "rb")
     File "C:\Program Files (x86)\Python37-32\lib\aifc.py", line 917, in open
       return Aifc_read(f)
     File "C:\Program Files (x86)\Python37-32\lib\aifc.py", line 352, in __init__
       self.initfp(file_object)
     File "C:\Program Files (x86)\Python37-32\lib\aifc.py", line 314, in initfp
       chunk = Chunk(file)
     File "C:\Program Files (x86)\Python37-32\lib\chunk.py", line 63, in __init__
       raise EOFError
    EOFError

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:\Users\hmkur\AppData\Roaming\Python\Python37\site-packages\speech_recognition\__init__.py", line 234, in __enter__
       self.audio_reader = aifc.open(aiff_file, "rb")
     File "C:\Program Files (x86)\Python37-32\lib\aifc.py", line 917, in open
       return Aifc_read(f)
     File "C:\Program Files (x86)\Python37-32\lib\aifc.py", line 358, in __init__
       self.initfp(f)
     File "C:\Program Files (x86)\Python37-32\lib\aifc.py", line 314, in initfp
       chunk = Chunk(file)
     File "C:\Program Files (x86)\Python37-32\lib\chunk.py", line 63, in __init__
       raise EOFError
    EOFError

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:\Users\hmkur\Desktop\Python\Transcribing_Audio_GoogleAPI_Python\fast.py", line 92, in <module>
       all_text = pool.map(transcribe, enumerate(files))
     File "C:\Program Files (x86)\Python37-32\lib\multiprocessing\pool.py", line 268, in map
       return self._map_async(func, iterable, mapstar, chunksize).get()
     File "C:\Program Files (x86)\Python37-32\lib\multiprocessing\pool.py", line 657, in get
       raise self._value
     File "C:\Program Files (x86)\Python37-32\lib\multiprocessing\pool.py", line 121, in worker
       result = (True, func(*args, **kwds))
     File "C:\Program Files (x86)\Python37-32\lib\multiprocessing\pool.py", line 44, in mapstar
       return list(map(*args))
     File "C:\Users\hmkur\Desktop\Python\Transcribing_Audio_GoogleAPI_Python\fast.py", line 82, in transcribe
       with sr.AudioFile(name) as source:
     File "C:\Users\hmkur\AppData\Roaming\Python\Python37\site-packages\speech_recognition\__init__.py", line 236, in __enter__
       raise ValueError("Audio file could not be read as PCM WAV, AIFF/AIFF-C, or Native FLAC; check if file is corrupted or in another format")
    ValueError: Audio file could not be read as PCM WAV, AIFF/AIFF-C, or Native FLAC; check if file is corrupted or in another format
    </module>
  • How to suppress `ffmpeg` output logging when using H.265 codec in quiet mode

    5 avril 2022, par user223364

    When I run :-

    &#xA;

    ffmpeg -v quiet -i "${INPUT}" -c:v libx265 -crf 23 "${OUTPUT}"&#xA;

    &#xA;

    I'm still getting output from the command even though the loglevel is set to silent (see the example of the output below)

    &#xA;

    x265 [info]: HEVC encoder version 3.5&#x2B;20-17839cc0d&#xA;x265 [info]: build info [Mac OS X][clang 11.0.0][64 bit] 8bit&#x2B;10bit&#x2B;12bit&#xA;x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX&#xA;x265 [info]: Main profile, Level-3 (Main tier)&#xA;x265 [info]: Thread pool created using 4 threads&#xA;x265 [info]: Slices                              : 1&#xA;x265 [info]: frame threads / pool features       : 2 / wpp(9 rows)&#xA;x265 [warning]: Source height &lt; 720p; disabling lookahead-slices&#xA;x265 [info]: Coding QT: max CU size, min CU size : 64 / 8&#xA;x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra&#xA;x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3&#xA;x265 [info]: Keyframe min / max / scenecut / bias  : 25 / 250 / 40 / 5.00&#xA;x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2&#xA;x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0&#xA;x265 [info]: References / ref-limit  cu / depth  : 3 / off / on&#xA;x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1&#xA;x265 [info]: Rate Control / qCompress            : CRF-23.0 / 0.60&#xA;x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp&#xA;x265 [info]: tools: b-intra strong-intra-smoothing deblock sao&#xA;

    &#xA;

    I'm using v5 of ffmpeg

    &#xA;

    ffmpeg version 5.0-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;

    &#xA;

    How do I get ffmpeg to be really quiet ?

    &#xA;

  • avutil/buffer : add av_buffer_pool_buffer_get_opaque

    7 décembre 2019, par Marton Balint
    avutil/buffer : add av_buffer_pool_buffer_get_opaque
    

    In order to access the original opaque parameter of a buffer in the buffer
    pool. (The buffer pool implementation overrides the normal opaque parameter but
    also saves it so it is accessible).

    v2 : add assertion check before dereferencing the BufferPoolEntry.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] doc/APIchanges
    • [DH] libavutil/buffer.c
    • [DH] libavutil/buffer.h
    • [DH] libavutil/version.h