
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (11355)
-
Error in av_write_frame when streaming over network (libavformat of ffmpeg)
4 décembre 2014, par user4324788I have been using the ffmpeg libraries (libavcodec, libavformat, etc.) in my C# application to encode buffer data retrieved from my camera/microphone (using DirectShow.Net) and stream it over the network to a destination IP address using MPEG-TS and UDP.
I communicate with the C++ libraries of ffmpeg through a C# wrapper (.dll) which I call with DllImport. I send the raw video and audio buffer data from C# to the C++ libraries for the purpose of encoding, muxing, and streaming.
The encoding and streaming works perfectly, however I sometimes seem to encounter a problem with the “av_write_frame” function which is used to write the encoded packet to the output media. After a seemingly random period of time, the following line produces an error ("oc" being the AVFormatContext and "pkt" being the AVPacket) :
av_write_frame(oc, &pkt)
One of two errors occurs :
- An I/O error is returned (return value -5).
- A ’System.AccessViolationException’ (Attempted to read or write protected memory. This is often an indication that other memory is corrupt.) is thrown.
This error sometimes occurs after a few minutes of streaming, other times after a much longer period (up to 20 minutes). Also, this error occurs at both video and audio encoding/writing, so I haven’t been able to pinpoint the exact reason behind this problem. Unfortunately it always results in my application either crashing or the streaming to stop working.
I have tried catching the AccessViolationException, which sometimes allows the application to continue for a little longer, but eventually it ends up exiting without any warning.
In case of the I/O error, I can reset my application, but eventually it still crashes.Any help with fixing this issue would be greatly appreciated !
Thank you very much in advance.
-
Use FFmpeg Library for Android
5 novembre 2020, par Morteza KhodaieI'm using 'com.arthenica:mobile-ffmpeg-full:4.2.2.LTS' for Compress and decode Video
But I get this error in build time

enter code hereManifest merger failed : Attribute application@theme value=(@style/Theme.Test) from AndroidManifest.xml:16:9-42 is also present at [com.arthenica:mobile-ffmpeg-full:4.2.2.LTS] AndroidManifest.xml:13:9-40 value=(@style/AppTheme). Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:8:5-24:19 to override.</application>


-
Python UnicodeEncodeError : 'charmap' codec can't encode when using GEOPY
23 février 2021, par Tony RoczzI 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 thisb'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.