
Recherche avancée
Autres articles (76)
-
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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 (8447)
-
How to use FFSampledSP to play gsm files
25 novembre 2014, par QuentinTanioartinoI am trying to use FFSampledSP on MacOSX but I couldn’t make it working
These are the steps I executed :
- I downloader the jar here :
- I added the jar into my build path using eclipse
- I downloaded the native library ffsampledsp-universal-0.9.9.jnilib here
- I renamed the library to
libffsampledsp.jnilib
- I put the library into the java.library.path
Then I tried to play the file with the java audio player developed but without any success
It fails on
AudioInputStream pcmStream = AudioSystem.getAudioInputStream(encodedFile);
This is the error :
java.lang.UnsatisfiedLinkError: no ffsampledsp-x86_64-darwin in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:107)
at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:89)
at com.tagtraum.ffsampledsp.FFNativeLibraryLoader.loadLibrary(FFNativeLibraryLoader.java:73)
at com.tagtraum.ffsampledsp.FFAudioFileReader.<clinit>(FFAudioFileReader.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at java.lang.Class.newInstance(Class.java:438)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at com.sun.media.sound.JSSecurityManager.getProviders(JSSecurityManager.java:216)
at com.sun.media.sound.JDK13Services.getProviders(JDK13Services.java:107)
at javax.sound.sampled.AudioSystem.getProviders(AudioSystem.java:1631)
at javax.sound.sampled.AudioSystem.getAudioFileReaders(AudioSystem.java:1406)
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1175)
at com.audioplayer.AudioPlayer.load(AudioPlayer.java:47)
at com.view.PlayerView$2.run(PlayerView.java:375)
at java.lang.Thread.run(Thread.java:745)
Nov 25, 2014 9:20:14 AM com.tagtraum.ffsampledsp.FFNativeLibraryLoader loadLibrary
SEVERE: Failed to load native library 'ffsampledsp'. Please check your library path. FFSampledSP will be dysfunctional.
</clinit>Apparently it does not find the ffsampledsp-x86_64-darwin library
Therefore I tried to import it directly using the following but still without any result
static
{
try
{
System.load("/Users/server/Desktop/libffsampledsp.jnilib");
}
catch (UnsatisfiedLinkError e)
{
System.err.println("Native code library failed to load.\n" + e);
System.exit(1);
}
}Do you know where the issue is ?
-
ffmpeg play RTSP stream while recording
18 décembre 2018, par Emiliano SpadaI successfully record to a file a RTSP stream using ffmpeg with the following command :
ffmpeg -i "rtsp://1.1.1.1:554/user=admin&password=admin&channel=1&stream=1" -acodec copy -vcodec copy -movflags frag_keyframe+empty_moov -y http://www.example.com/rec/1.mp4
now I need to play video while ffmpeg is still writing to file. Even changing file format, is it possible ?
-
FFMPEG - MP4 won't play in FireFox - file corrupt
21 décembre 2018, par fightstarr20I am encoding
MP4
file usingFFMPEG
with the following command...ffmpeg -ignore_chapters 1 -i video.mov -c:v libx264 -preset veryslow -crf 23 -an -r 24 -s 1280x720 video.mp4
The resulting
MP4
file plays correctly in Chrome, but inSafari
andFireFox
I get nothing. FireFox tells me the file is corrupt and can’t be played.Where am I going wrong ?