0

新しい Motorola Bionic 携帯電話で録画した HD ビデオを DroidX で再生しようとしていますが、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);

しかし、ログアウト時に次の警告が表示されます。

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