
Recherche avancée
Autres articles (82)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (5589)
-
Révision 24115 : Or, https://checklists.opquast.com/fr/oqs-v3/criteria/les-styles-ne-justifient-pa...
1er octobre 2018, par erational@erational.org#4185 (RealET) SPIP 3.2.1 et 3.3 justifient le texte dans l’admin.
Objectif
Faciliter la lecture à l’écran, notamment pour les personnes dyslexiques.Solution technique
Ne pas utiliser la propriété CSS text-align avec la valeur justify, ou tout autre équivalent. -
doc : replace http/git by https urls
1er avril, par Michael Niedermayer -
Http 400 error : requesting https site with ip instead of hostname Android
8 novembre 2016, par David BarishevIm am developing an android application using xamarin.android.
In my application i use ffmpeg as a static library, from here.In my app i try to access a https site, but i was getting a dns error until i read the documentation, it stated that :
A limitation of statically linking glibc is the loss of DNS
resolution. Installing
nscd through your package manager will fix this or you can use
"ffmpeg -i http://<ip address="address" here="here">/"</ip>
instead of"ffmpeg -i http://example.com/"
So i tried to lookup the ip address and just replace the hostname. Here is the code i have written :
...
//part of main program
if (inputUrl.StartsWith("http"))
{
var splits = inputUrl.Split('/');
var hostName = splits[2];
var ip = GetIpForHost(hostName);
splits[2] = ip;
inputUrl= string.Join("/",splits);
}
//calling ffmpeg with the new url
...
private static string GetIpForHost(string hostname)
{
System.Net.IPHostEntry host = System.Net.Dns.GetHostEntry(hostname);
return host.AddressList.First().ToString();
}The code works fine, but now i’m getting different error, here is the ffmpeg log :
[https @ 0xb2b08e0] HTTP error 400 Bad Request
The original url i tried :
https://r8---sn-ivuoxu-ua8l.googlevideo.com/videoplayback?pl=26&itag=22&mt=1478622247&ms=au&ei=Mv0hWLWEAs-VW7zch6AB&mv=m&upn=DLluZN9oSzo&mn=sn-ivuoxu-ua8l&expire=1478644114&mm=31&ratebypass=yes&id=o-AC_NwrGbkh5OVe-ypJh2WaxzMBK5grMVsSYyG_wMQVZI&ip=5.29.246.6&pcm2cms=yes&key=yt6&lmt=1478408938763105&dur=229.575&initcwndbps=2682500&ipbits=0&gcr=il&requiressl=yes&sparams=dur,ei,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pcm2cms,pl,ratebypass,requiressl,source,upn,expire&mime=video/mp4&source=youtube&signature=0E47DFC7FBBDBCD6F36B56FB9871ED3B0DF4D12A.103BAB44FFEE918B78C7D076243B45AF69C444EC
//Modifed url
https://213.57.23.19/videoplayback?ratebypass=yes&ipbits=0&pl=26&requiressl=yes&mime=video/mp4&expire=1478643396&pcm2cms=yes&mt=1478621598&upn=mUgYIoXd3Dc&itag=22&mm=31&mn=sn-ivuoxu-ua8l&key=yt6&ip=5.29.246.6&dur=229.575&source=youtube&lmt=1478408938763105&ei=ZPohWKzbFoG9cpGGsIgH&id=o-AFbYd2BFoMp37bNWC1c0mtfqEwcwbQaNXrF2WraCeK2W&ms=au&gcr=il&mv=m&sparams=dur,ei,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pcm2cms,pl,ratebypass,requiressl,source,upn,expire&initcwndbps=2657500&signature=BFB25E20CD92AA3B85D115DB878F0BC2E94A1BF4.C36FBD7733D2CAF1E277FF3B625BED432822C012: Server returned 400 Bad RequestI have no problem accessing the original url through the browser, at the time i ran the program(There is a expired tag in the url,since i’m generating it at runtime).
I speculate that it’s not possible to connect via https through ip ?
Is there another way to connect to the url without the hostname, since android does have build in dns resolution, since i am able to view the url through the browser ?