无法使用 JME3-JFX 播放电影文件
cant play movie file with JME3-JFX
我正在尝试使用 JME3X-JFX and i use the demo class and can play their file via the http url method. I can also download their flv and play it with the flv method. But i cant seem to play my own flv file (downloaded after using a site eg. keepvid(尝试过几次)从 youtube 视频 url(开放许可)转换来播放 flv 文件。
编辑元数据使其与有效的演示视频相似,这听起来有点类似于 this question, where only black screen shows, but for me, the videos sound plays. I have tried using RichFLV。
此外,我尝试播放的视频至少是其磁盘文件(下载后)文件大小的一半。
此外,大多数 avis 也不会为我播放,因为我不支持 YCbCr_422,我认为这可能是 mp4 的苹果版本。我不需要 mp4,但我至少需要一种类型才能工作。
回到FLV。
我只是换行:
final Media media = new Media("file:////Users/juliusskye/Desktop/FYPI/simplevoicehud/assets/Video/test.flv");
(这是他们要测试的视频重命名),
final Media media = new Media("file:////Users/juliusskye/Desktop/FYPI/simplevoicehud/assets/Video/myvideo.flv");
不同的是,工作版本(他们的视频)会调整大小,但我的不会。
========
在职的
=========
Oct 23, 2015 6:04:02 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Oct 23, 2015 6:04:02 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: /Users/juliusskye/Desktop/FYPI/simplevoicehud
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel Inc.
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1 INTEL-8.24.16
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel HD Graphics 3000 OpenGL Engine
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20
2015-10-23 18:04:03.855 java[45029:ae17] Error loading /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: no matching architecture in universal wrapper
2015-10-23 18:04:03.857 java[45029:ae17] Cannot find function pointer NewDigiCoreAudioPlugIn for factory B8A063B5-2F3D-444A-88CB-D0B8F1B22042 in CFBundle/CFPlugIn 0x7fb20bc51a40 </Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin> (bundle, not loaded)
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
resize : 540 x 540
============
不工作
==============
Oct 23, 2015 6:03:02 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Oct 23, 2015 6:03:03 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: /Users/juliusskye/Desktop/FYPI/simplevoicehud
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel Inc.
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1 INTEL-8.24.16
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel HD Graphics 3000 OpenGL Engine
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20
2015-10-23 18:03:04.350 java[44916:d107] Error loading /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: no matching architecture in universal wrapper
2015-10-23 18:03:04.352 java[44916:d107] Cannot find function pointer NewDigiCoreAudioPlugIn for factory B8A063B5-2F3D-444A-88CB-D0B8F1B22042 in CFBundle/CFPlugIn 0x7f9d025d6fa0 </Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin> (bundle, not loaded)
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
JavaFX库只支持用VP6编解码器编码的flv,支持转换的程序很少。
http://forums.macrumors.com/threads/vp6-codec-im-out-of-luck-arent-i.81314/
https://docs.oracle.com/javafx/2/api/javafx/scene/media/package-summary.html
我能够下载 Sorenson Squeeze 的试用版,它允许在 mac 上转换为 VP6。
encoding.com 似乎也提供转换服务。
我正在尝试使用 JME3X-JFX and i use the demo class and can play their file via the http url method. I can also download their flv and play it with the flv method. But i cant seem to play my own flv file (downloaded after using a site eg. keepvid(尝试过几次)从 youtube 视频 url(开放许可)转换来播放 flv 文件。
编辑元数据使其与有效的演示视频相似,这听起来有点类似于 this question, where only black screen shows, but for me, the videos sound plays. I have tried using RichFLV。
此外,我尝试播放的视频至少是其磁盘文件(下载后)文件大小的一半。
此外,大多数 avis 也不会为我播放,因为我不支持 YCbCr_422,我认为这可能是 mp4 的苹果版本。我不需要 mp4,但我至少需要一种类型才能工作。
回到FLV。 我只是换行:
final Media media = new Media("file:////Users/juliusskye/Desktop/FYPI/simplevoicehud/assets/Video/test.flv");
(这是他们要测试的视频重命名),
final Media media = new Media("file:////Users/juliusskye/Desktop/FYPI/simplevoicehud/assets/Video/myvideo.flv");
不同的是,工作版本(他们的视频)会调整大小,但我的不会。
======== 在职的 =========
Oct 23, 2015 6:04:02 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Oct 23, 2015 6:04:02 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: /Users/juliusskye/Desktop/FYPI/simplevoicehud
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel Inc.
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1 INTEL-8.24.16
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel HD Graphics 3000 OpenGL Engine
Oct 23, 2015 6:04:02 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20
2015-10-23 18:04:03.855 java[45029:ae17] Error loading /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: no matching architecture in universal wrapper
2015-10-23 18:04:03.857 java[45029:ae17] Cannot find function pointer NewDigiCoreAudioPlugIn for factory B8A063B5-2F3D-444A-88CB-D0B8F1B22042 in CFBundle/CFPlugIn 0x7fb20bc51a40 </Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin> (bundle, not loaded)
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Oct 23, 2015 6:04:03 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
resize : 540 x 540
============ 不工作 ==============
Oct 23, 2015 6:03:02 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Oct 23, 2015 6:03:03 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: /Users/juliusskye/Desktop/FYPI/simplevoicehud
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel Inc.
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1 INTEL-8.24.16
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel HD Graphics 3000 OpenGL Engine
Oct 23, 2015 6:03:03 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20
2015-10-23 18:03:04.350 java[44916:d107] Error loading /Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio: no matching architecture in universal wrapper
2015-10-23 18:03:04.352 java[44916:d107] Cannot find function pointer NewDigiCoreAudioPlugIn for factory B8A063B5-2F3D-444A-88CB-D0B8F1B22042 in CFBundle/CFPlugIn 0x7f9d025d6fa0 </Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin> (bundle, not loaded)
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Oct 23, 2015 6:03:04 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
JavaFX库只支持用VP6编解码器编码的flv,支持转换的程序很少。
http://forums.macrumors.com/threads/vp6-codec-im-out-of-luck-arent-i.81314/ https://docs.oracle.com/javafx/2/api/javafx/scene/media/package-summary.html
我能够下载 Sorenson Squeeze 的试用版,它允许在 mac 上转换为 VP6。 encoding.com 似乎也提供转换服务。