Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

1080p@60Hz video on android 5.1

410

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
410

1080p@60Hz video on android 5.1

Posted at 3/2/2018 19:12:59      View:3214 | Replies:4        Print      Only Author   [Copy Link] 1#
Hi,

I want to play different types of video files on my Fireprime. To do so, I use Android 5.1 compiled from the sources (I have followed the instructions here => http://en.t-firefly.com/doc/product/info/id/301.html) and a custom apk written with Android Studio.

Using MediaPlayer object, I am able to play 1080p@30Hz videos encoded with h264 or h265 but when I want to play a 60fps file, the video stream does not play at full rate resulting in a loss of sync between audio and video. However, the MediaPlayer does not raise the flag "MEDIA_INFO_VIDEO_TRACK_LAGGING" or any other warning message.

So my questions are : Can I play FullHD files@60fps on this board ? And if so, how ?



Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 3/5/2018 15:09:44        Only Author  2#
have you the video app of the system? the same ?
Reply

Use props Report

410

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
410
Posted at 3/5/2018 15:30:53        Only Author  3#
Yes, the behavior with the pre-installed video player app is exactly the same.
Reply

Use props Report

410

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
410
Posted at 3/21/2018 22:44:05        Only Author  4#
I don't know if there is a link with my issue discribed above, but I noticed that no matter the screen connected to the HDMI, the resolution of the output video stream is always 720p.
  1. $ adb shell wm size
Copy the code
returns
  1. Physical size: 1280x720
Copy the code

Also, on a 1080p screen, when I set /sys/class/display/HDMI/mode to "auto" it results in a small window in the upper left corner and a green background.

Is there a reason why the video is downscaled ? How can I have it to fit the display with correct resolution (based on EDID) ?
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 3/29/2018 19:50:55        Only Author  5#
kiwor Posted at 3/21/2018 22:44
I don't know if there is a link with my issue discribed above, but I noticed that no matter the scre ...

Now cannot good support it .
they will update the sdk later and test it, just wait patiently.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list