Android 2.2视频播放器播放宽度= 1920,身高= 1080?

时间:2011-11-08 07:21:52

标签: android android-video-player

我正在尝试在我的DroidX上播放由新的摩托罗拉Bionic手机录制的高清视频,但视频似乎没有在DroidX上播放,但它在Bionic上播放。

我使用以下代码在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);

但它在hout Logout中给了我以下警告。

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'

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

0 个答案:

没有答案