
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (63)
-
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 (11190)
-
Extract just the audio link from a youtube video without converting
19 janvier 2017, par kamron shawI know there are hundreds of sites to convert youtube video to mp3. Most of them do it by first downloading the video and then converting it to mp3(or any other audio format) on their server using youtube-dl, ffmpeg or similar programs.
What I want to know is, is there any way I can just extract the audio link for any youtube video ? I don’t know if it’s possible but I saw a couple of websites doing it .
First Website : Openaisearch.com
This website simply gives a download link for the audio(getting it from youtube videos). I searched for a song and saw the download url, it looked something like this :https://redirector.googlevideo.com/videoplayback?source=youtube&requiressl=yes&clen=3814013&upn=dzwY9aUVYME&lmt=1469875393441562&expire=1484854959&mime=audio%2Fmp4&nh=IgpwcjAxLnNlYTA5Kg01Mi45NS4yMTYuMTAy&itag=140...........
I believe that this is not done by first downloading and converting the video to audio format(Correct me if I am wrong).
Although the file which gets downloaded after using this link is without any extension, but adding ".m4a" at the end of downloaded file does the work.Second Website : http://keepvid.com/ ?url=https ://www.youtube.com/watch?v=PT2_F-1esPk
Again similar website with similar audio link. You can check by visiting the URL and see link of audio files.
Any idea how these websites get that "googlevideo.com" link ? Do they scrap the youtube video links or something ?
Thanks.
-
Fail to get the statistics of https video using ffprobe
23 janvier 2017, par amithI want to collect the statistics of a video stream backed by https url.
on executing
ffprobe https://www.youtube.com/watch?v=YbYjtSFa5FsI get the following output
vagrant@kaybus:/vagrant/kaybus$ ffprobe https://www.youtube.com/watch?v=YbYjtSFa5Fs
ffprobe version N-80901-gfebc862 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[tls @ 0x3547140] A TLS packet with unexpected length was received.
https://www.youtube.com/watch?v=YbYjtSFa5Fs: Input/output error[tls @ 0x3547140] A TLS packet with unexpected length was received.
How to fix the above error ?https is listed in ffprobe’s supported input and output protocols.
ffprobe -version
vagrant@kaybus:/vagrant/kaybus$ ffprobe -version
ffprobe version N-80901-gfebc862 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)Thanks
-
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’