
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (78)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (7026)
-
Use bash script with yt-download and ffmpeg to extract OR covert depending on format
7 juin 2018, par KeyslingerI have a batch of files I uploaded to YouTube which I now wish to backup on my MacBook. When I download and extract the audio, I get either *.m4a or *. opus :
#!/bin/sh
ID="$1"
youtube-dl -f bestaudio -x -i --audio-format best -o '%(playlist)s/%(playlist_index)s %(uploader)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list="$ID"When the file extension is m4a, I need to leave it that way and perform no conversion, when the extension is opus, I need to convert it to m4a.
If I want to convert every file, I can do something like this :
youtube-dl -f bestaudio -x -i --audio-format m4a -o '%(playlist)s/%(playlist_index)s %(uploader)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list="$ID"
But then the conversion is performed no matter what.
How can I extract and only convert when the file extension is not m4a ?
-
Download ONLY audio from a youtube video
10 juin 2020, par FerasI know that there are a million ways to download a video from youtube and then convert it to audio or do further processing on it. But recently I was surprised to see an app called YoutubeToMp3 on mac actually showing "Skipping X mb of video" and supposedly only downloading the audio from the video, without the need to use bandwith to download the entire video and then convert it. I was wondering if this is actually correct and possible at all because I cant find any way to do that. Do you have any ideas ?



EDIT :
After some tests here is some additional information on the topic. The video which I tried to get the audio from is just a sample mp4 file from the internet :






I tried



ffmpeg -i "input" out.mp3



ffmpeg -i "input" -vn out.mp3



ffmpeg -i “input” -vn -ac 2 -ar 44100 -ab 320k -f mp3 output.mp3



ffmpeg -i “input” -vn -acodec copy output.mp3



Unfortunately non of these commands seems to be using less bandwith. They all download the entire video. Now that you have the video can you confirm if there is actually a command that downloads only the audio stream from it and lowers the bandwith usage ? Thanks !


-
Choose download resolution in m3u8 list with ffmpeg
31 mars 2024, par Bruno AndradeI'm trying to download video from a m3u8 playlist using ffmpeg but I do not know how to choose the resolution to download. Currently the command is downloading the highest version



the command I am using is :



/home/user/bin/ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0" -i "https://sitevideo.com/list.m3u8" -c copy "/home/file/video.ts"




My list is this



#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=400000,NAME="low"
size1.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=800000,NAME="med"
size2.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1900000,NAME="best"
size3.m3u8