Bug #2857

Mis à jour par Matthieu Decorde il y a plus de 5 ans

reported by SJ with TXM 0.8.1 beta2

<pre>
Preparing media...
JFX Player Error:
MediaException: UNKNOWN : [com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer@6557dcea] ERROR_MEDIA_INVALID: ERROR_MEDIA_INVALID
at javafx.scene.media.MediaException.getMediaException(MediaException.java:160)
at javafx.scene.media.MediaPlayer$_MediaErrorListener.onError(MediaPlayer.java:2615)
at com.sun.media.jfxmediaimpl.NativeMediaPlayer$EventQueueThread.HandleErrorEvents(NativeMediaPlayer.java:691)
at com.sun.media.jfxmediaimpl.NativeMediaPlayer$EventQueueThread.run(NativeMediaPlayer.java:425).
</pre>

file information
<pre>
CLAPI_reunion_orga_dh_transcription_transcriber.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 1.57 GiB
Duration : 1h 42mn
Overall bit rate : 2 193 Kbps
Encoded date : UTC 2017-01-27 13:09:48
Tagged date : UTC 2017-01-27 13:10:28

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.2
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Format settings, GOP : M=2, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 42mn
Duration_LastFrame : -3ms
Bit rate : 1 997 Kbps
Width : 940 pixels
Height : 1 120 pixels
Display aspect ratio : 0.839
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.063
Stream size : 1.43 GiB (91%)
Language : English
Encoded date : UTC 2017-01-27 11:59:39
Tagged date : UTC 2017-01-27 13:10:28
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 42mn
Source duration : 1h 42mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 140 MiB (9%)
Source stream size : 140 MiB (9%)
Language : English
Encoded date : UTC 2017-01-27 11:59:38
Tagged date : UTC 2017-01-27 13:10:28
</pre>

h3. Hypothesis

Is it a Windows only problem ?

MD: it seems: I could open the file correctly in TXM 0.8.1 on Ubuntu 18.04.

The sample version of the file could be read correctly.

JavaFX codecs documentation: https://docs.oracle.com/javafx/2/api/javafx/scene/media/package-summary.html#SupportedMediaTypes

Retour