
Recherche avancée
Autres articles (62)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Les images
15 mai 2013 -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (6088)
-
images->video->web canvas : RGB/YUV issues
5 février 2016, par nrobWe’ve written an web app which :
- takes 3D, time dependent weather data
- tiles each 3D time point to make a 2D frame (written out as a png image)
- stitches these frames together into a video (using ffmpeg/avconv)
- streams this video into a web app
- polls the canvas for frames
- sends the frames to the GPU where they are converted back to 3D and ray traced
You can see the app here, code here and you can see the data video here
Currently the pngs are written as RGB images, the video codec is in YUV and getting frames from the canvas returns RGB. As such there is a significant loss of information due to the conversion between image spaces.
Does anyone have suggestions what is the best way round this ?
I’ve tried a bunch of RGB video codecs, but I can’t get any to work, and I don’t know if the web browser will support it anyway. Can anyone suggest a good RGB codec (both lossy and lossless would be great)
Also, is it possible to write to YUV images/read them from a video canvas in HTML5 ?
Ultimately, I don’t even want anything to do with images/videos, I’m just hacking the codecs to stream/compress large animated 3D data volumes
-
af_pan : avoid spaces before % to avoid possible issues with MSVC
12 avril 2013, par Michael Niedermayeraf_pan : avoid spaces before % to avoid possible issues with MSVC
-
PHP exec is causing issues in my webservice
11 novembre 2013, par medaGuys I need some help with this
I am building an android app that uploads a sound file to a server then converts it.
Then the next step in my app is to populate a spinner using JSON from another scriptEverything works as expected but for some reason I get an JSON parsing error on the next step.
I made sure the JSON is correct, so the problem is not there.
You can trust me on that, I debugged this.The android error is :
E/JSON Parser(14625) : Error parsing data org.json.JSONException : Value
!DOCTYPE of type java.lang.String cannot be converted to JSONObjectIt the JSON script is not even called, because I put some logs to make sure
It seems like the issue is comming from the webservice instead, particularly the following function
function ConvertFileToUlaw($input, $output) {
try {
exec("ffmpeg -i \"$input\" -codec:a pcm_mulaw -f mulaw \"$output\"");
//error_log($output);
}
catch (Exception $e) {
error_log($e->getMessage());
}
}I call it like this :
ConvertFileToUlaw($ThreeGpFilePath, $ulawFilePath);
Now this works fine, and my sound file is converted, but I can get the next script to run without error, unless I comment it out.
I am stumped at this point, please advice.