-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With Dual display support no video on secondary display. #32
Comments
this is not implemented at master branch so only one display is supported |
Hi Mittron, |
Hi Mittrron, Regards Regards |
No, it's only possible to use one display now. |
i dont any need any scaler to enabled , could this possible by changing the code, |
You need two scaler layers to convert colorspace in video. |
You also can do it without any code change by wrapping ioctl. Look preload code in cedarxplayertest-gui. I wrapped some functions in CedarXPlayerTest and rescaled image and moved it to another screen. |
hi mittorn, |
Hi Mittron, |
http://codepad.org/giQv9CXj |
Hi Mittorn, without osd enabled. With osd enabled <4>[DISP] layer 2 in screen 0 not inited! |
Try to reboot and manually disable scaller on both displays with a10disp. You also should disable hardware cursor, if present. OSD must be disabled because it is broken with my changes and it uses another layer. |
After few crashes layers was not released because of disp bug, it is only way to reboot to release them. |
which player do you use 192 MB is afik the highest amount which could be assigned save. |
hi Mittorn, |
thank you mittorn, finally its working on both display once i disable scaler by using a10 disp. |
You can recalculate video size in presentation_queue. Or you can simply use only one output. Are you sure that you really need video on both displays at the same time? |
Also you can control layers by a10disp by specifing layer_handle. It is 102 when hardware cursor enabled and 101 when disabled. |
Yes i want on both display , is it possible by changing layerinfo(2 times paasing) for screen0 and screen1. or is it possible with a10disp command. i want video to play on both display without any missing of portion(alittle is ok). |
i dont have --layer-handle option in a10disp command. |
Try use https://github.com/mittorn/a10disp/ , testing branch. It has many new options. https://github.com/mittorn/a10disp/blob/testing/README |
hi mittorn, |
Second command will only work when video is showing. |
Hi MIttron, Regards |
I don't know how it works on android |
hi punith444 Can you tell me how you add the layer2 layer? I just need to modify this thing in my hands |
i ported mpv with cedarx in my A20 ubuntu board , so now i am able to play videos smoothly.
but with dual display support i am not getting video output on second display (its full black screen).
[disp_init]
disp_init_enable = 1
disp_mode = 4
screen0_output_type = 3
screen0_output_mode = 4
screen1_output_type = 2
screen1_output_mode = 11
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb0_width = 0
fb0_height = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
fb1_width = 0
fb1_height = 0
lcd0_backlight = 197
lcd1_backlight = 197
lcd0_bright = 50
lcd0_contrast = 50
lcd0_saturation = 57
lcd0_hue = 50
lcd1_bright = 50
lcd1_contrast = 50
lcd1_saturation = 57
lcd1_hue = 50
Regards
Punith
The text was updated successfully, but these errors were encountered: