
Recherche avancée
Autres articles (79)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7965)
-
Error on Using ffmpeg to download and decrypt aes-128 HLS video stream
18 décembre 2016, par user1284567im trying to download and decrypt some video file
i have the keyfile and the manifest file but ffmpeg shows up an errorError when loading first segment 'http://212......m3u8: Invalid data found when processing input
here are the 2 files (key and manifest.m3u8)
http://www.mediafire.com/file/q1t2bwijys9kzt3/manifest.m3u8
http://www.mediafire.com/file/bsn9am2s89cqm4v/file.keythank you for any help !
-
Download MP4 Video In Specific Folder In server With CURL
14 novembre 2017, par AlishI’m Trying To Download
.MP4 Extension
File WithPHP Code In Specific Folder
My Code Working Fine For .MP4 Extension Only But I Can’t Download This URL MP4 Video With This CodeI’m Trying This Code
function download ($url, $location){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSLVERSION,3);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$data = curl_exec ($ch);
$error = curl_error($ch);
curl_close ($ch);
$file = fopen($location, "wb");
fwrite($file, $data);
fclose($file);
return 'done';
}
?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>">
Video URL (Only With .MP4 Extension):
<input type="text" placeholder="Video URL Here" required="required" /><br />
Video ID Number:
<input type="text" placeholder="Video ID Nmber eg:1,2,3" required="required" /><br />
<input type="submit" />
</form>
<?php
@$url = $_POST['url'];
@$ID = $_POST['id'];
$SCRIPT_DIR = dirname(__FILE__);
$TEMP_DIR = $SCRIPT_DIR . '/videos/';
$location = $TEMP_DIR . $ID . '.mp4';
if(isset($_POST['url'])){
echo download($url, $location);
} -
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&amp;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&amp;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