
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (84)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9376)
-
appending a string constant selectively within a while loop in bash
29 janvier 2017, par Maxwell ChandlerI have a script called
automateutube
that I edit in VIM and execute in the terminal withsh ./automateutube.sh
This script pulls youtube links from a file called songs.txt and downloads the video from youtube then extracts the audio.The songs.txt file looks like this
https://www.youtube.com/watch?v=IxQOlZ3pqtI
https://www.youtube.com/watch?v=IxQOlZ3pqtI
https://www.youtube.com/watch?v=IxQOlZ3pqtI
https://www.youtube.com/watch?v=IxQOlZ3pqtIIt is just a bunch of links, one per line.
The script looks like this
#!/bin/bash
while read p; do
x=/tmp/.youtube-dl-$(date +%y.%m.%d_%H.%M.%S)-$RANDOM.flv
youtube-dl --audio-quality 160k --output=$x --format=18 "$p"
ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"
rm $x
done code>Now the first part executes. It downloads the video and starts to unpack it.
It is the second part that fails.
ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"
This is because
"$p"
is supposed to be in format "filename.mp3" However as it is p takes the value of a youtube link, without ".mp3" appended.This works for the first line
youtube-dl --audio-quality 160k --output=$x --format=18 "$p"
because
"$p"
is supposed to be in the form of a link there.Now I have tried adding three lines in
a="$.mp3"
b="$p"
c=$b$aand making
ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"
into
ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$c"
but I am still getting an error. Any ideas ?
parse error, at least 3 arguments were expected, only 1 given in string ’om/watch ?v=sOAHOxbMOJY’
-
FFMPEG : How to create video using 1 file .mov (transparent) and 1 image (.jpg)
29 mai 2017, par Jim2kHow to create video using 1 file .mov loop (transparent) and 1 image (.jpg Full length video)
like same : https://www.youtube.com/watch?v=fXzh3sMxTpM!!!Sorry for my poor english !!!
-
Revision 103307 : - Les plugins-dist de spip 3.2 ne sont pas supposé avoir de support ...
17 mars 2017, par spip.franck@… — LogLes plugins-dist de spip 3.2 ne sont pas supposé avoir de support pour qu’il fonctionne avec spip 3.1, donc, j’ai fait un z+1 quand il y avait déjà un "y" de différence entre spip 3.1 et 3.2 sinon, j’ai fait un y+1, ainsi il sera toujours possible de faire des corrections d’éventuel bugs future qui ne concernerait que les plugs de la version 3.1
La version de mini de compatibilité est maintenant 3.2.0-dev, comme, ça, quand l’alpha sortira, cela devrait être bon (quand la version 3.2.0 stable sortira, je mettrais 3.2.0 comme version mini)
Il y avait aussi un ou deux mots avec des accents comme par exemple & ;#232 ; j’ai fait le changement pour y mettre à la place è ou autres