
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (19)
-
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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (4933)
-
Bash : bash script to download trimmed mp3 from youtube url
25 août 2017, par Bhishan PoudelI would like to download the initially x seconds trimmed mp3 from a video url of youtube.
I found that youtube-dl can download the video from youtube to local machine. But, when I looked at the man pages of youtube-dl, I could not find any trim options.So I tried to use the ffmpeg to trim downloaded mp3 file.
Instead of doing this is two steps, I like to write one bash script which does the same thing.
My attempt is given below.However, I was stuck at one place :
"HOW TO GET THE VARIABLE NAME OF OUTPUT MP3 FILE FROM YOUTUBE-DL ?"
The script is given below :# trim initial x seconds of mp3 file
# e.g. mytrim https://www.youtube.com/watch?v=dD5RgCf1hrI 30
function mytrim() {
youtube-dl --extract-audio --embed-thumbnail --audio-format mp3 -o "%(title)s.%(ext)s" $1
ffmpeg -ss $2 -i $OUTPUT_MP3 -acodec copy -y temp.mp3
mv temp.mp3 $OUTPUT_MP3
}How to get the variable value $OUTPUT_MP3 ?
echo "%(title)s.%(ext)s" gives the verbatim output, does not give the output filename.How could we make the script work ?
The help will be appreciated.
-
ffmpeg best settings for youtube live
24 mars 2023, par MarianoI have this settings for ffmpeg


ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i "rtsp://" -c:v libx264 -b:a 384k -ac 2 -preset slow -crf 18 -profile:v high -bf 2 -pix_fmt yuv420p -movflags +faststart -threads 4 -cpu-used 0 -b:v 5M -r 30 -g 15 -coder 1 -f flv "rtmp://a.rtmp.youtube.com/live2/"



but the quality and speed is not very good,
could some one tell me what at the best settings


thanks


-
Youtube-dl Python3 ERROR : audio conversion failed : No such file or directory
21 avril 2020, par WhiteABI was building a small executable, using the youtube-dl module and it is giving me the following error, and I have tried several things and nothing has worked for me



import pyperclip

url=pyperclip.paste()

os.system('''youtube-dl --no-playlist -x --prefer-ffmpeg --audio-format mp3 --audio-quality 0 '''+ url)




when i try to run it does this



[youtube] Ak6ynwcCv1Q: Downloading webpage
[youtube] Downloading just video Ak6ynwcCv1Q because of --no-playlist
[download] Bad Computer - Disarray [Monstercat Release]-Ak6ynwcCv1Q.webm has already been downloaded
[download] 100% of 4.49MiB
[ffmpeg] Destination: Bad Computer - Disarray [Monstercat Release]-Ak6ynwcCv1Q.mp3
ERROR: audio conversion failed: file:Bad Computer - Disarray [Monstercat Release]-Ak6ynwcCv1Q.mp3: No such file or directory




I believe that I need define a path to the mp3 file but I don't know where this path should be defined