Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (62)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (8650)

  • lavf/hashenc : Correct the hash/MD5 muxer class name

    29 mars 2019, par Jun Zhao
    lavf/hashenc : Correct the hash/MD5 muxer class name
    

    Follow the name style to correct the hash/md5 muxer class name

    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] libavformat/hashenc.c
  • How to initiate a class object out of a Dictionary with Lambda/LINQ, parsed by Newtonsoft.Json ?

    18 mars 2019, par Hassanslaw

    since yesterday I tried to implement ffmpeg via Xabe-Wrapper in my C#-Project.
    I used FFMpeg => FFProbe to get Format and Stream data as a json-string from some movies. This is the json I got for the Streams.

    "{
     "streams": [
       {"codec_name": "mpeg4", "codec_type": "video"},
       {"codec_name": "mp3"  , "codec_type": "audio"}
     ]
    }"

    Follow thing the Newtonsoft Wiki, I deserialized it as a DataSet. I started playing around and found a way to do this in a "oneliner".

    Streams = (JsonConvert.DeserializeObject<dataset>(StreamProbeJSON,
        JSerializerSettings)).Tables["streams"].AsEnumerable().Select(value => new
        FormatAVInfo.SInfo(value.Field<string>("codec_type"), value.Field<string>
        ("codec_name")));</string></string></dataset>

    For Format, I get this Json

    {
       "format": {
           "format_name": "avi",
           "probe_score": 100
       }
    }

    Follow thing the Newtonsoft Wiki, I deserialized this one as a Dictionary, but I am not ably to do this in a oneliner again. Its not a big problem, but I would like to now how I can achieve this ?

    I tried this

    Format = (JsonConvert.DeserializeObject>>(FormatProbeJSON, JSerializerSettings))
       ["format"].Select(value => new FormatAVInfo.FInfo(value["format_name"],
       value["probe_score"]));

    But, sure, Iam getting a KeyValuePair and not able to use a indexer for this. I also tried with JObject, with the same result. Sure, I could just make another Field

    Dictionary Temp =
       (JsonConvert.DeserializeObject>>(FormatProbeJSON, JSerializerSettings))
       ["format"]

    And instanciate afterwards, but Iam curious if there is a way to do this.

    Thank you

  • Revision 113525 : Ajout d’une vérification pour la chaine d’un attribut class d’une ...

    20 janvier 2019, par eric@… — Log

    Ajout d’une vérification pour la chaine d’un attribut class d’une balise HTML