Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (50)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le 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 (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7562)

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

  • ffmpeg crashing on my ec2 linux

    19 décembre 2016, par Alex Bollbach

    I have a node script that has the line :

    execSync('ffmpeg -loglevel panic -i ${path} -acodec copy -f segment -segment_time 10 -vcodec copy -reset_timestamps 1 -map 0 ./tmp/%d.ts');

    Basically, I’m splitting a given video into 10 second segments. This works on my development machine where I have ffmpeg installed :

    However, when I push the code to my ec2 instance (running the linux AMI), I get this crash :

    Error: Command failed: ffmpeg -loglevel panic -i ../test11.mp4 -acodec copy -f segment -segment_time 10 -vcodec copy -reset_timestamps 1 -map 0 ./tmp/%d.ts

    I have checked that all the files and directories exist and are organized correctly in both cases. The only thing I’ve deduced is that the ffmpeg versions vary between machines, so :

    (developement-Machine)$ ffmpeg -version

    (developement-Machine)$ ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers

    (ec2)$ ffmpeg -version

    (ec2)$ ffmpeg version N-61041-g52a2138

    Is it the case that the ffmpeg version issues are the culprit here and if so how can I get them in sync ? Locally I simply used Homebrew to install ffmpeg. On the ec2, I’ve used YUM as a package manager to install node and npm before but it isn’t trivial to install ffmpeg. I’ve tried to wget the static builds on ffmpeg sites but after un-taring them I get a directory of directories and I’m not sure how to proceed. The original ffmpeg I installed on my ec2 was here (http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.2014-02-16.tar.gz)

    Either way I am making no progress and I could spend the next 6 hours figuring out what is going on in my linux shell. So I realize this question is a bit unfocused but is the crash likely an ffmpeg version ? and if so, how can I install the local version I have of ffmpeg on my production ec2 server ?

  • Mirror not found when trying to install FFMPEG on CENTOS7

    31 octobre 2016, par Peter

    I’m on a dedicated server with Root access. not familiar with servers. Im trying to install FFMpeg on my server but following online instructions I’m getting errors can’t figure out how to solve it. So any light on this will be very appreciated.

    [root@ns335004 ~]# yum update
    base                                                                                                           | 3.6 kB  00:00:00    
    http://apt.sw.be/redhat/el7/en/x86_64/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below knowledge base article

    https://access.redhat.com/articles/1320623

    If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/



    One of the configured repositories failed (DAG RPM Repository),
    and yum doesn't have enough cached data to continue. At this point the only
    safe thing yum can do is fail. There are a few ways to work "fix" this:

        1. Contact the upstream for the repository and get them to fix the problem.

        2. Reconfigure the baseurl/etc. for the repository, to point to a working
           upstream. This is most often useful if you are using a newer
           distribution release than is supported by the repository (and the
           packages for the previous distribution release still work).

        3. Disable the repository, so yum won't use it by default. Yum will then
           just ignore the repository until you permanently enable it again or use
           --enablerepo for temporary usage:

               yum-config-manager --disable dag

        4. Configure the failing repository to be skipped, if it is unavailable.
           Note that yum will try to contact the repo. when it runs most commands,
           so will have to try and fail each time (and thus. yum will be be much
           slower). If it is a very temporary problem though, this is often a nice
           compromise:

               yum-config-manager --save --setopt=dag.skip_if_unavailable=true

    failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try.
    http://apt.sw.be/redhat/el7/en/x86_64/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

    repolist

    [root@ns335004 ~]# yum repolist all
    http://apt.sw.be/redhat/el7/en/x86_64/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below knowledge base article

    https://access.redhat.com/articles/1320623

    If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

    http://apt.sw.be/redhat/el7/en/x86_64/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    repo id                                  repo name                                                                     status
    C7.0.1406-base/x86_64                    CentOS-7.0.1406 - Base                                                        disabled
    C7.0.1406-centosplus/x86_64              CentOS-7.0.1406 - CentOSPlus                                                  disabled
    C7.0.1406-extras/x86_64                  CentOS-7.0.1406 - Extras                                                      disabled
    C7.0.1406-fasttrack/x86_64               CentOS-7.0.1406 - CentOSPlus                                                  disabled
    C7.0.1406-updates/x86_64                 CentOS-7.0.1406 - Updates                                                     disabled
    C7.1.1503-base/x86_64                    CentOS-7.1.1503 - Base                                                        disabled
    C7.1.1503-centosplus/x86_64              CentOS-7.1.1503 - CentOSPlus                                                  disabled
    C7.1.1503-extras/x86_64                  CentOS-7.1.1503 - Extras                                                      disabled
    C7.1.1503-fasttrack/x86_64               CentOS-7.1.1503 - CentOSPlus                                                  disabled
    C7.1.1503-updates/x86_64                 CentOS-7.1.1503 - Updates                                                     disabled
    base/7/x86_64                            CentOS-7 - Base                                                               enabled:  9,007
    base-debuginfo/x86_64                    CentOS-7 - Debuginfo                                                          disabled
    base-source/7                            CentOS-7 - Base Sources                                                       disabled
    c7-media                                 CentOS-7 - Media                                                              disabled
    centosplus/7/x86_64                      CentOS-7 - Plus                                                               disabled
    centosplus-source/7                      CentOS-7 - Plus Sources                                                       disabled
    cr/7/x86_64                              CentOS-7 - cr                                                                 disabled
    dag/7/x86_64                             DAG RPM Repository                                                            enabled:      0
    epel/x86_64                              Extra Packages for Enterprise Linux 7 - x86_64                                enabled: 10,764
    epel-debuginfo/x86_64                    Extra Packages for Enterprise Linux 7 - x86_64 - Debug                        disabled
    epel-source/x86_64                       Extra Packages for Enterprise Linux 7 - x86_64 - Source                       disabled
    epel-testing/x86_64                      Extra Packages for Enterprise Linux 7 - Testing - x86_64                      disabled
    epel-testing-debuginfo/x86_64            Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug              disabled
    epel-testing-source/x86_64               Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source             disabled
    extras/7/x86_64                          CentOS-7 - Extras                                                             enabled:    393
    extras-source/7                          CentOS-7 - Extras Sources                                                     disabled
    fasttrack/7/x86_64                       CentOS-7 - fasttrack                                                          disabled
    nux-dextop/x86_64                        Nux.Ro RPMs for general desktop use                                           disabled
    nux-dextop-testing/x86_64                Nux.Ro RPMs for general desktop use - testing                                 disabled
    plesk-php-5.6                            PHP v 5.6 for Plesk - x86_64                                                  enabled:     31
    plesk-php-7.0                            PHP v 7.0 for Plesk - x86_64                                                  enabled:     28
    updates/7/x86_64                         CentOS-7 - Updates                                                            enabled:  2,560
    updates-source/7                         CentOS-7 - Updates Sources                                                    disabled
    repolist: 22,783

    I also tried :

    sudo yum clean metadata
    sudo yum clean all

    But still having same 404 Error.

    Thanks.