
Recherche avancée
Autres articles (44)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6349)
-
How to initiate a class object out of a Dictionary with Lambda/LINQ, parsed by Newtonsoft.Json ?
18 mars 2019, par Hassanslawsince 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 -
Revision 114338 : constructeur de saisies : en plus de la class sur la saisie elle même, ...
4 mars 2019, par maieul@… — Logconstructeur de saisies : en plus de la class sur la saisie elle même, pouvoir régler celle sur le conteneur. Pour le moment on ne met que sur les saisies qui ont déjà des réglages de classes