Page 3 of 4
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 2:59 am
by diogosena
hi, just tested your new beta version,
now mediacodec works and have subtitle in perfect sync.
the problem with mediacodec, is that image is not rendered correctly (looks stretched), please take a look if you can fine tune something.
I'm sending you the logs and images
mediacodec
https://drive.google.com/file/d/0B8KXpJ ... p=drivesdk
others
https://drive.google.com/file/d/0B8KXpJ ... p=drivesdk
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 7:24 am
by Prog
Bad picture if firmware problem of amlogic devices. I am not can fix on my side.
ps: FFmpeg good for subs also, but may be too slow for hi-bitrate.
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 7:43 am
by Prog
About openmax - ProgTV not have access for API of amlogic

For examle
access for /sys/class/tsync/pts_audio
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 8:00 am
by diogosena
i got root trough adb, can you list all files you need privileges ?
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 8:08 am
by Prog
/sys/class/tsdemux/discontinue_counter
/sys/class/tsync/mode
/sys/class/tsync/pts_audio
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 9:59 am
by diogosena
Prog wrote: ↑Thu Feb 15, 2018 8:08 am
/sys/class/tsdemux/discontinue_counter
/sys/class/tsync/mode
/sys/class/tsync/pts_audio
need 666 ?
-r--r--r-- 1 root root 4096 2018-02-15 07:57 discontinue_counter
-rw-rw-r-- 1 media system 4096 2014-12-31 22:00 mode
-rw-rw-r-- 1 system mediadrm 4096 2014-12-31 22:00 pts_audio
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 10:09 am
by Prog
Error in logs about access for read...
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 10:28 am
by diogosena
for kodi to use amcodec, I need to "setenforce 0" (permissive) i'm not at home right now, but i'll try that later today.
Re: Subtitle is there, but not visible
Posted: Thu Feb 15, 2018 9:09 pm
by diogosena
Perfect sync in all channels and all modes, after setting selinux to permissive.
really thanks!
if you ever need someone to test something or get logs, I'll gladly help!
( i have an internal satip and iptv server )
Re: Subtitle is there, but not visible
Posted: Fri Feb 16, 2018 6:29 am
by Prog
Do you now more common solution on app side?
Re: Subtitle is there, but not visible
Posted: Fri Feb 16, 2018 8:09 am
by diogosena
if you can do it on app side, is better.
but is already better and faster than my previous solution.
sometimes, im getting image freezes (like kodi with amcodec), sound and subs goes one. (still in sync)
and sometimes the app (beta) force closes, do you need logs of this?
Re: Subtitle is there, but not visible
Posted: Fri Feb 16, 2018 8:28 am
by Prog
Yes I need logs of crash after restart.
Re: Subtitle is there, but not visible
Posted: Fri Feb 16, 2018 8:32 pm
by Prog
What you do for access of ProgTV to amlogic files?
Re: Subtitle is there, but not visible
Posted: Fri Feb 16, 2018 8:51 pm
by diogosena
Prog wrote: ↑Fri Feb 16, 2018 8:32 pm
What you do for access of ProgTV to amlogic files?
My MiBox is running Nougat Beta 1028 (its a userdebug firmware, so it has root trough adb )
For the app to see the files it need, I only changed selinux to permissive. (I have to do that at every boot)
"adb connect
adb shell
su
setenforce 0"
I'm also sending you the log folder after two force closes of the app, ( +- 18:22 and 18:38)
Please take a look at those crashes also
Thanks!
Re: Subtitle is there, but not visible
Posted: Sat Feb 17, 2018 4:07 pm
by diogosena
another force close, using latest beta, (around 13:58)