
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (112)
-
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 ;
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (11877)
-
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 ? -
avcodec/vvc_mvs : remove an unnecessary AV_ZERO64() call
24 janvier 2024, par James Almer -
avcodec/vvc_ctu : align motion vector fields
23 janvier 2024, par James Almer