Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (12122)

  • Python UnicodeEncodeError : 'charmap' codec can't encode

    8 août 2015, par Tony Roczz

    I have been fiddling with python geopy and I tried the basic commands given in the documentation. But I am getting the UnicodeEncodeError when trying the raw command(to geolocate a query to an address and coordinates)

    print(location.raw)

    Error UnicodeEncodeError: 'charmap' codec can't encode character '\xa9' in position 83: character maps to <undefined></undefined>

    Then I tried the other way around (To find the address corresponding to a set of coordinates)

    print(location.address)    

    I am getting the same error UnicodeEncodeError: 'charmap' codec can't encode character '\u0101' in position 10: character maps to <undefined></undefined>

    I tried print((location.address).encode("utf-8")) , now am not getting any error but the output printed is like this b'NH39, Mirz\xc4\x81pur

    and when using print((location.raw).encode("utf-8")) I am getting error

    AttributeError: 'dict' object has no attribute 'encode'

    Can anyone tell me what is going on here and what I should do to get a proper output ?

    Edit :(After being marked as duplicate)

    Based on the solution given in this problem I am reporting on how it does not solve my problem

    What I wanted to know is why do I get the UnicodeEncodeError when trying out the basic sample codings given in the documentation and it did answer for that.

    If I want to use it an application how do I solve the error and I cannot have the application running on separate IDE or send the output to a external file since my application will function based on the output from geopy, I want the application to run in the terminal as my other applications do.

  • OpenCV and RTMP

    28 mai 2014, par user2723463

    I want to be able to create an application that can read and publish an RTMP stream.

    Using OpenCV i could read rtp due to it’s ffmpeg backend.

    Stream video from ffmpeg and capture with OpenCV

    C++ RTMP is another possibility, but this is an RTMP server so it mainly requests and sends files. Although open source, i am unsure how to build or integrate this into a Visual Studio application in such a way as to make the function calls available to my project.

    OTher sources indicate that OpenCV’s RTSP isn’t great.

    http://workingwithcomputervision.blogspot.co.nz/2012/06/issues-with-opencv-and-rtsp.html

    How can you run a streaming server, such as RTMP C++ and get the raw data out. OpenCV can encode and decode image data for streaming, but how can you link the two ?

    Could a C++ application pipe a stream together ? How could i interface with that stream to send it more images ? Also, for receiving images ?

    Regards,

  • Create H.264 stream from single PNG

    28 avril 2017, par Jim Rhodes

    I have an application that uses RTSP to get a video stream from an IP camera. The application extracts the H.264 data from the RTP packets and sends it to a remote process that decodes the stream (using ffmpeg) and displays it. If the video stream is interrupted for any reason, I would like to insert a static image into the stream being sent to the remote process.

    I have a PNG that is the same resolution as the camera. I thought I could use ffmpeg to encode the PNG to H.264 to get an IFrame that I could insert into the stream but I have not had any success. Using ffmpeg I created an MP4 with H.264 encoding from the PNG image and then extracted what I believed was the H.264 data from the MP4 but when I try to decode it ffmpeg returns an error.

    Anyone have any ideas on how I could accomplish this ?