Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6639)

  • Http 400 error : requesting https site with ip instead of hostname Android

    8 novembre 2016, par David Barishev

    Im 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&amp;itag=22&amp;mt=1478622247&amp;ms=au&amp;ei=Mv0hWLWEAs-VW7zch6AB&amp;mv=m&amp;upn=DLluZN9oSzo&amp;mn=sn-ivuoxu-ua8l&amp;expire=1478644114&amp;mm=31&amp;ratebypass=yes&amp;id=o-AC_NwrGbkh5OVe-ypJh2WaxzMBK5grMVsSYyG_wMQVZI&amp;ip=5.29.246.6&amp;pcm2cms=yes&amp;key=yt6&amp;lmt=1478408938763105&amp;dur=229.575&amp;initcwndbps=2682500&amp;ipbits=0&amp;gcr=il&amp;requiressl=yes&amp;sparams=dur,ei,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pcm2cms,pl,ratebypass,requiressl,source,upn,expire&amp;mime=video/mp4&amp;source=youtube&amp;signature=0E47DFC7FBBDBCD6F36B56FB9871ED3B0DF4D12A.103BAB44FFEE918B78C7D076243B45AF69C444EC
    //Modifed url
    https://213.57.23.19/videoplayback?ratebypass=yes&amp;ipbits=0&amp;pl=26&amp;requiressl=yes&amp;mime=video/mp4&amp;expire=1478643396&amp;pcm2cms=yes&amp;mt=1478621598&amp;upn=mUgYIoXd3Dc&amp;itag=22&amp;mm=31&amp;mn=sn-ivuoxu-ua8l&amp;key=yt6&amp;ip=5.29.246.6&amp;dur=229.575&amp;source=youtube&amp;lmt=1478408938763105&amp;ei=ZPohWKzbFoG9cpGGsIgH&amp;id=o-AFbYd2BFoMp37bNWC1c0mtfqEwcwbQaNXrF2WraCeK2W&amp;ms=au&amp;gcr=il&amp;mv=m&amp;sparams=dur,ei,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pcm2cms,pl,ratebypass,requiressl,source,upn,expire&amp;initcwndbps=2657500&amp;signature=BFB25E20CD92AA3B85D115DB878F0BC2E94A1BF4.C36FBD7733D2CAF1E277FF3B625BED432822C012: Server returned 400 Bad Request

    I 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 ?

  • Need to Download Videos From (Ap.lk) This site [closed]

    20 mars 2024, par Seamon

    Getting this error when using the URL with FFmpeg

    &#xA;

    [https @ 00000191353bfc00] No trailing CRLF found in HTTP header. Adding it&#xA;[ in#0 @ 00000191353aa580] Error opening input: Invalid data found when processing input&#xA;&#xA;Error opening input file https://video.ap.lk/stream/ad470e41-5a62-43da-b8ab-6a0e9d0a7316 &#xA;&#xA;Error opening input files: Invalid data found when processing input&#xA;

    &#xA;

    This is the regular URL that I use to get the video :

    &#xA;

    https://video.ap.lk/stream/ad470e41-5a62-43da-b8ab-6a0e9d0a7316

    &#xA;

    Using this FFmpeg command :

    &#xA;

    ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0" -headers "Cookie: google-analyze=2f506b9c-9387-4727-ab57-821718fedb38; Path=/" -referer "https://ap.lk" -i "https://video.ap.lk/stream/ad470e41-5a62-43da-b8ab-6a0e9d0a7316" -c copy "ad470e41-5a62-43da-b8ab-6a0e9d0a7316.mp4"&#xA;

    &#xA;

    What should I do ? Is there anything wrong with URL or what else ?

    &#xA;

  • Anomalie #3756 (Fermé) : Plan du site de l’espace privé

    4 mai 2017