
Recherche avancée
Autres articles (39)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar 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 (7677)
-
ffmpeg configure always returns "not found" when using sysroot and cross-prefix options - how to use them correctly ?
5 août 2014, par user2212461I try to build ffmpeg with a cross-compiler. When setting the configure flags I am getting the following errors :
WARNING: Compiler does not indicate floating-point ABI, guessing soft.
build_it.sh: 29: build_it.sh: --sysroot=/home/android/android-ndk-r9/platforms/
android-9/arch-arm/: not found
build_it.sh: 32: build_it.sh.sh: --cross-prefix=/home/android/android-ndk-r9/
toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-and
roideabi-: not foundThe error message "not found" sounds like the paths dont exist but they are all correct and existing. How can I resolve this error ?
build_it.sh :
NDK=/home/android/android-ndk-r9
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
CPU=arm
PREFIX=test
ADDI_CFLAGS="-marm"
platform="android-9"
./configure \
--disable-asm \
--enable-shared \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--disable-static \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS"
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--prefix=$PREFIX \
##configure fails here
... -
hey i need to download my coaching classes but they are using hls aes 128 bit encrypted streams. i downloaded m3u8 and all .ts files and found enc key
19 mars 2023, par tinu oneI downloaded all the .ts files using a python script but it is encrypted with aes 128.i found a encryption key (supposedly) under the network tab in developer options. I ran it through ffmpeg but got an error( invalid data found while processing ). I need these classes because they are going to remove it in may 2023. i am a noob to this and may have done step wrong. Please forgive me. I would deeply appreciate anyone who will help me find a solution to this problem. Thankyou.


I downloaded all the .ts files and m3u8 file and put it inside a folder. I hosted the key file in localhost that I found under the preview tab of the network tab in developer options( it was named key/ after all and had characters which was not human readable. it also had the request URL similar to that inside the m3u8 file)because ffmpeg did not want to read the key file from my local pc. I edited the m3u8 file to access the key stored in local host and it read successfully. but it shows error( invalid data found while processing).


encryption key from preview tab I found : Ø®¢Ù¦Aä [u
request url of the key : https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/


unedited m3u8 file :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:19
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="https://classes.brilliantpala.org/api/v2.4/encryption_key/40cd559c70c241699cfcda9072c4fb42/",IV=0x00000000000000000000000000000000
#EXTINF:11.680000,
video_0.ts
#EXTINF:10.000000,
video_1.ts
#EXTINF:10.000000,
etc etc..



fetch("https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/", {
 "headers": {
 "accept": "*/*",
 "accept-language": "en-US,en;q=0.9",
 "sec-ch-ua": "\"Microsoft Edge\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"",
 "sec-ch-ua-mobile": "?0",
 "sec-ch-ua-platform": "\"Windows\"",
 "sec-fetch-dest": "empty",
 "sec-fetch-mode": "cors",
 "sec-fetch-site": "same-origin",
 "x-key": "5e5d8c5d0486a678ccd4935ecb9fa8a01b1db7327396184ab00b50573119e947"
 },
 "referrer": "https://classes.brilliantpala.org/courses/535/contents/42475/",
 "referrerPolicy": "strict-origin-when-cross-origin",
 "body": null,
 "method": "GET",
 "mode": "cors",
 "credentials": "include"
});```





-
How to download ffmpeg utilities into Python venv with pip or manual way for torchaudio
14 décembre 2024, par Furkan Gözükaratorchaudio requiring avutil and other binary dll files


Source : https://pytorch.org/audio/2.3.0/installation.html


However they given example only for Anaconda


I am not using Anaconda but I am using Python 3.10.11 pip venv


I can't find these DLL files anywhere


How can I find and install them into Python venv ?


Since I can't find, I am getting below error


Traceback (most recent call last):
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\queueing.py", line 625, in process_events
 response = await route_utils.call_process_api(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
 output = await app.get_blocks().process_api(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\blocks.py", line 2047, in process_api
 result = await self.call_function(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\blocks.py", line 1594, in call_function
 prediction = await anyio.to_thread.run_sync( # type: ignore
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
 return await get_async_backend().run_sync_in_worker_thread(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2505, in run_sync_in_worker_thread
 return await future
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 1005, in run
 result = context.run(func, *args)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\utils.py", line 869, in wrapper
 response = f(*args, **kwargs)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
 return func(*args, **kwargs)
 File "R:\MMAudio_v1\MMAudio\gradio_demo.py", line 60, in video_to_audio
 clip_frames, sync_frames, duration = load_video(video, duration)
 File "R:\MMAudio_v1\MMAudio\mmaudio\eval_utils.py", line 178, in load_video
 reader = StreamingMediaDecoder(video_path)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\io\_streaming_media_decoder.py", line 526, in __init__
 self._be = ffmpeg_ext.StreamingMediaDecoder(os.path.normpath(src), format, option)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 25, in __getattr__
 self._import_once()
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 39, in _import_once
 self.module = self.import_func()
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 143, in _init_ffmpeg
 ext = _find_ffmpeg_extension(ffmpeg_vers)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 122, in _find_ffmpeg_extension
 raise ImportError(
ImportError: Failed to intialize FFmpeg extension. Tried versions: ['6', '5', '4', '']. Enable DEBUG logging to see more details about the error.