⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pluginmanagerinitializer.java

📁 FMJ(freedom media for java)是java视频开发的新选择
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.dvi.JavaEncoder", 			new Format[] {				new AudioFormat("LINEAR", -1.0, 16, 1, 0, 1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("dvi/rtp", -1.0, 4, 1, -1, -1, -1, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.gsm.JavaEncoder", 			new Format[] {				new AudioFormat("LINEAR", -1.0, 16, 1, 0, 1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("gsm", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.gsm.JavaEncoder_ms", 			new Format[] {				new AudioFormat("LINEAR", -1.0, 16, 1, 0, 1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new com.sun.media.format.WavAudioFormat("gsm/ms", -1.0, -1, -1, -1, -1, -1, -1, -1.0f, Format.byteArray, null),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.ima4.JavaEncoder", 			new Format[] {				new AudioFormat("LINEAR", -1.0, 16, -1, 0, 1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("ima4", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.ima4.JavaEncoder_ms", 			new Format[] {				new AudioFormat("LINEAR", -1.0, 16, -1, 0, 1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new com.sun.media.format.WavAudioFormat("ima4/ms", -1.0, -1, -1, -1, -1, -1, -1, -1.0f, Format.byteArray, null),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.audio.ulaw.Packetizer", 			new Format[] {				new AudioFormat("ULAW", -1.0, 8, 1, -1, -1, 8, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("ULAW/rtp", -1.0, 8, 1, -1, -1, 8, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.audio.ulaw.DePacketizer", 			new Format[] {				new AudioFormat("ULAW/rtp", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("ULAW", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.audio.mpa.Packetizer", 			new Format[] {				new AudioFormat("mpeglayer3", 16000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 22050.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 24000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 32000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 44100.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 48000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 16000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 22050.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 24000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 32000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 44100.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 48000.0, -1, -1, -1, 1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("mpegaudio/rtp", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.audio.mpa.DePacketizer", 			new Format[] {				new AudioFormat("mpegaudio/rtp", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("mpegaudio", 44100.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 48000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 32000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 22050.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 24000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 16000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 11025.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 12000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpegaudio", 8000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 44100.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 48000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 32000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 22050.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 24000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 16000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 11025.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 12000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),				new AudioFormat("mpeglayer3", 8000.0, 16, -1, 1, 1, -1, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.gsm.Packetizer", 			new Format[] {				new AudioFormat("gsm", 8000.0, -1, 1, -1, -1, 264, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("gsm/rtp", 8000.0, -1, 1, -1, -1, 264, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.ibm.media.codec.audio.g723.Packetizer", 			new Format[] {				new AudioFormat("g723", 8000.0, -1, 1, -1, -1, 192, -1.0, Format.byteArray),			}, 			new Format[] {				new AudioFormat("g723/rtp", 8000.0, -1, 1, -1, -1, 192, -1.0, Format.byteArray),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.video.jpeg.Packetizer", 			new Format[] {				new VideoFormat("jpeg", null, -1, Format.byteArray, -1.0f),			}, 			new Format[] {				new VideoFormat("jpeg/rtp", null, -1, Format.byteArray, -1.0f),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.video.jpeg.DePacketizer", 			new Format[] {				new VideoFormat("jpeg/rtp", null, -1, Format.byteArray, -1.0f),			}, 			new Format[] {				new VideoFormat("jpeg", null, -1, Format.byteArray, -1.0f),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.video.mpeg.Packetizer", 			new Format[] {				new VideoFormat("mpeg", null, -1, Format.byteArray, -1.0f),			}, 			new Format[] {				new VideoFormat("mpeg/rtp", null, -1, Format.byteArray, -1.0f),			}, 			PlugInManager.CODEC);		PlugInManager.addPlugIn("com.sun.media.codec.video.mpeg.DePacketizer", 			new Format[] {				new VideoFormat("mpeg/rtp", null, -1, Format.byteArray, -1.0f),			}, 			new Format[] {				new VideoFormat("mpeg", null, -1, Format.byteArray, -1.0f),			}, 			PlugInManager.CODEC);//		 PlugInManager.EFFECT://		 PlugInManager.RENDERER:		PlugInManager.addPlugIn("com.sun.media.renderer.audio.JavaSoundRenderer", 			new Format[] {				new AudioFormat("LINEAR", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),				new AudioFormat("ULAW", -1.0, -1, -1, -1, -1, -1, -1.0, Format.byteArray),			}, 			new Format[] {}, 			PlugInManager.RENDERER);		PlugInManager.addPlugIn("com.sun.media.renderer.audio.SunAudioRenderer", 			new Format[] {				new AudioFormat("ULAW", 8000.0, 8, 1, -1, -1, -1, -1.0, Format.byteArray),			}, 			new Format[] {}, 			PlugInManager.RENDERER);		PlugInManager.addPlugIn("com.sun.media.renderer.video.AWTRenderer", 			new Format[] {				new RGBFormat(null, -1, Format.intArray, -1.0f, 32, 0xff0000, 0xff00, 0xff, 1, -1, 0, -1),				new RGBFormat(null, -1, Format.intArray, -1.0f, 32, 0xff, 0xff00, 0xff0000, 1, -1, 0, -1),			}, 			new Format[] {}, 			PlugInManager.RENDERER);		PlugInManager.addPlugIn("com.sun.media.renderer.video.LightWeightRenderer", 			new Format[] {				new RGBFormat(null, -1, Format.intArray, -1.0f, 32, 0xff0000, 0xff00, 0xff, 1, -1, 0, -1),				new RGBFormat(null, -1, Format.intArray, -1.0f, 32, 0xff, 0xff00, 0xff0000, 1, -1, 0, -1),			}, 			new Format[] {}, 			PlugInManager.RENDERER);		PlugInManager.addPlugIn("com.sun.media.renderer.video.JPEGRenderer", 			new Format[] {				new VideoFormat("jpeg", null, -1, Format.byteArray, -1.0f),			}, 			new Format[] {}, 			PlugInManager.RENDERER);//		 PlugInManager.MULTIPLEXER:		PlugInManager.addPlugIn("com.sun.media.multiplexer.RawBufferMux", 			new Format[] {}, 			new Format[] {				new ContentDescriptor("raw"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.RawSyncBufferMux", 			new Format[] {}, 			new Format[] {				new ContentDescriptor("raw"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.RTPSyncBufferMux", 			new Format[] {}, 			new Format[] {				new ContentDescriptor("raw.rtp"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.audio.GSMMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("audio.x_gsm"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.audio.MPEGMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("audio.mpeg"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.audio.WAVMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("audio.x_wav"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.audio.AIFFMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("audio.x_aiff"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.audio.AUMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("audio.basic"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.video.AVIMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("video.x_msvideo"),			}, 			PlugInManager.MULTIPLEXER);		PlugInManager.addPlugIn("com.sun.media.multiplexer.video.QuicktimeMux", 			new Format[] {}, 			new Format[] {				new FileTypeDescriptor("video.quicktime"),			}, 			PlugInManager.MULTIPLEXER);	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -