
Recherche avancée
Autres articles (35)
-
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) (...)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (5303)
-
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.



-
Python code to download hls stream to mp4
2 décembre 2024, par Maad A.GalilI wrote the following code to download a video from a website. Chrome extensions can detect the video and download it. However, my code gets the following errors. Any help ?


from bs4 import BeautifulSoup
import requests
from subprocess import check_output

video_url = 'https://www.dimakids.com/ab6al-aldigetal-s3-1415387355-21011.html#sets'
headers = {'User-Agent': 'Mozilla/5.0'}

url = requests.get(video_url, headers=headers)
page = url.content
soup = BeautifulSoup(page, "html.parser")

result = str(soup.find_all('video')[0])
result = result.split('src="')[1].split('" type=')[0] 
print(result)

# seg = requests.get(result)
# """
# Error: requests.exceptions.SSLError: HTTPSConnectionPool(host='stream.foupix.com', port=443): Max retries exceeded with url: /animeios/1415387355/ab6al_aldigetal_s3_01.mp4/index.m3u8?tkn=jja4Czj-AzbJx1JmvDvQeA&tms=1733079050 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
# """
# print(seg)


print(check_output(f'ffmpeg -i "{result}" -codec copy file.mp4', shell=True))
"""
Error: https://stream.foupix.com/animeios/1415387355/ab6al_aldigetal_s3_01.mp4/index.m3u8?tkn=SWf7n3qH8MwFLlq18wngIQ&tms=1733079103: Server returned 403 Forbidden (access denied)
"""



The link works as any hls downloader can capture the video and download it as seen here (of course token and timestamp values change everytime it captures the video) :


Page URL https://www.dimakids.com/ab6al-aldigetal-s3-1415387355-21011.html#sets


Thumbnail https://www.dimakids.com/images/anime/cat_1415387355.jpg




video component https://stream.foupix.com/animeios/1415387355/ab6al_aldigetal_s3_01.mp4/index.m3u8?tkn=6nyEskSbHBI713sG0uhZJQ&tms=1733171604


-
How do I use gpg to verify an ffmpeg source snapshot download ? [closed]
2 novembre 2024, par NeddieI downloaded two files :


ffmpeg-snapshot.tar.bz2
ffmpeg-devel.asc



The
.asc
file looks like this :

-----BEGIN PGP PUBLIC KEY BLOCK-----


mQENBE22rV0BCAC3DzRmA2XlhrqYv9HKoEvNHHf+PzosmCTHmYhWHDqvBxPkSvCl
...
+x8ETJgPoNK3kQoDagApj4qAt83Ayac3HzNIuEJ7LdvfINIOprujnJ9vH4n04XLg
I4EZ
=Rjbw
-----END PGP PUBLIC KEY BLOCK-----


The command


gpg --show-keys ffmpeg-devel.asc



gives


pub rsa2048 2011-04-26 [SC]
 FCF986EA15E6E293A5644F10B4322F04D67658D8
uid FFmpeg release signing key <ffmpeg-devel@ffmpeg.org>
sub rsa2048 2011-04-26 [E]



The command


gpg --verify ffmpeg-devel.asc ffmpeg-snapshot.tar.bz2



gives output


gpg: verify signatures failed: Unexpected error



I tried decompressing the bz2 file and then


gpg --verify ffmpeg-devel.asc ffmpeg-snapshot.tar



and got the same error.


What am I missing ?