
Recherche avancée
Autres articles (105)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang 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. -
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 ;
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (6994)
-
JAVAFX. MediaException : UNKNOWN. com.sun.media.jfxmedia.MediaException : Could not create player [duplicate]
25 avril 2020, par Gin Vui am very new to JAVAFX and i had this problem with my project when i try to play a mp3 file. I had tried install ffmpeg but it doesnt help. the issue is that cannot create player, so any other solution. I am using ubuntu 20.04.




 String video=new File(path).getAbsolutePath();
 Media media=new Media(new File(video).toURI().toString());
 MediaPlayer mediaPlayer=new MediaPlayer(media);```

```Caused by: MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!
 at javafx.media/javafx.scene.media.MediaException.exceptionToMediaException(MediaException.java:146)
 at javafx.media/javafx.scene.media.MediaPlayer.init(MediaPlayer.java:518)
 at javafx.media/javafx.scene.media.MediaPlayer.<init>(MediaPlayer.java:421)
 at sample.control.<init>(control.java:60)
 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
 at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:124)
 at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:346)
 at java.base/java.lang.Class.newInstance(Class.java:604)
 at javafx.fxml/javafx.fxml.FXMLLoader$ValueElement.processAttribute(FXMLLoader.java:936)
 at javafx.fxml/javafx.fxml.FXMLLoader$InstanceDeclarationElement.processAttribute(FXMLLoader.java:980)
 at javafx.fxml/javafx.fxml.FXMLLoader$Element.processStartElement(FXMLLoader.java:227)
 at javafx.fxml/javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:752)
 at javafx.fxml/javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2722)
 at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2552)
 ... 64 more```
</init></init>


-
ffmpeg what is the codec for play video in windows media player and web browser
27 septembre 2016, par SwagatI have a requirement to convert video to mp4 which can play both windows medial player(latest version) and web browser(video tag)
I got to run video in both windows media player or web browser, but two different video. i.e. in below scenario :
For windows media play, I am using
-codec:v mpeg4
and an example is :ffmpeg -i input.mp4 -filter_complex -codec:v mpeg4 -flags:v +qscale -global_quality:v 0 -codec:a libmp3lame output.mp4
For Web Browser I need to run with
-codec:v libx264
and an example is :ffmpeg -i input.mp4 -filter_complex -codec:v libx264 -flags:v +qscale -global_quality:v 0 -codec:a copy output.mp4
Both them are working perfectly in their respective player. Even I tried with combine both codec, its obvious, it is raising error.
Any way to play in both place. Any way of direction will also help me here.
Thanks in advance.
-
Record F4V in Flash Media Server
29 juin 2014, par M.YazdianI have problem with record live event in F4v through Flash Media Server
I publish my live event on FMS though FFMPEG
FFMPEG Code :ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera" -vcodec libx264 -b:v 32k -acodec libmp3lame -b:a 64k -ar 44100 -f flv rtmp://12.11.1.3/livepkgr/liveevent?adbe-live-event=liveevent
FMS Code to record F4V file :
var vodFile = Stream.get("mp4:" + StreamName.name + ".f4v");
vodFile.record();
vodFile.play(streamName,-1,-1);So when I use -vcodec libx264 in ffmpeg FMS cam’t to create F4V file, But when I erase -vcodec libx264 from FFMPEG FMS create F4V file currently.
Please advise me to solve this problem.