Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (64)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6075)

  • 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

  • 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

  • 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