0

我正在尝试在我的 DroidX 上播放由新的摩托罗拉仿生手机录制的高清视频,但该视频似乎无法在 DroidX 上播放,但可以在仿生上播放。

我正在使用以下代码在 Android 的内置视频播放器中呈现视频

String videoFileExtension =  fileName.substring(fileName.lastIndexOf(".")+1);
Intent intent = new Intent(Intent.ACTION_VIEW); 
intent.setDataAndType(Uri.parse("file://"+pathToFile), "video/"+videoFileExtension); startActivity(intent);

但它在注销时给了我以下警告。

11-08 00:30:58.293: W/ConfigParser(1221): Exceeds maximum supported resolution, width=1920, height=1080 for 'OMX.qcom.7x30.video.decoder.avc'
11-08 00:30:58.293: W/ConfigParser(1221): Exceeds maximum supported resolution, width=1920, height=1080 for 'OMX.qcom.video.decoder.avc'
11-08 00:30:58.293: W/ConfigParser(1221): Exceeds maximum supported resolution, width=1920, height=1080 for 'OMX.TI.720P.Decoder'
11-08 00:30:58.293: W/ConfigParser(1221): Exceeds maximum supported resolution, width=1920, height=1080 for 'OMX.TI.Video.Decoder'
11-08 00:30:58.293: W/ConfigParser(1221): Exceeds maximum supported resolution, width=1920, height=1080 for 'OMX.SEC.AVC.Decoder'
11-08 00:30:58.293: W/ConfigParser(1221): Exceeds maximum supported resolution, width=1920, height=1080 for 'AVCDecoder'

无论如何在我们开始意图之前通过意图标志设置宽度和高度?

4

0 回答 0