
Recherche avancée
Autres articles (69)
-
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (8103)
-
Making youtube-dl download mp3's faster
12 novembre 2017, par sciencelordIt takes a long time to download mp3 songs using youtube-dl, and it takes even longer when downloading a bunch of mp3 songs. Is there a way to make it significantly faster ? I don’t mind reducing quality. I’ve been using the command below.
youtube-dl --extract-audio --audio-format "mp3" --output "%(title)s.%(ext)s" "https://www.youtube.com/watch?v={videoid}
I also took a look at this post :
ffmpeg command for faster encoding at a decent bitrate with smaller file sizeBut I wasn’t sure how to change the above command using the ffmpeg modifications.
Thanks !
-
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);
} -
Android convert exo to mp4 after download dash
7 août 2018, par AliI have downloaded a Dynamic Adaptive Streaming over HTTP (DASH) via android DashDownloader class that is provided by exo player.
SimpleCache cache = new SimpleCache(file.getAbsoluteFile(), new NoOpCacheEvictor());
DefaultHttpDataSourceFactory factory = new DefaultHttpDataSourceFactory("ExoPlayer", null);
DownloaderConstructorHelper constructorHelper = new DownloaderConstructorHelper(cache, factory);
// Create a downloader for the first representation of the first adaptation set of the first
// period.
DashDownloader dashDownloader = new DashDownloader(Uri.parse(url), Collections.singletonList(new RepresentationKey(0, 0, 0)), constructorHelper);
dashDownloader.download();Above code save many chunk .exo files into provided directory, How can i convert this files to single mp4 file ?