• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
AMLogic hardware video decoding in nightly builds
#91
dvd-menu with still menus is a known issue.
Reply
#92
seems like the audio sync issue is fixed with some files but video with DTS is still very choppy... is this a licensing issue ?
Reply
#93
(2014-03-14, 03:45)epicdsl Wrote: seems like the audio sync issue is fixed with some files but video with DTS is still very choppy... is this a licensing issue ?

It is not a licensing issue.
Reply
#94
(2014-03-14, 03:45)epicdsl Wrote: seems like the audio sync issue is fixed with some files but video with DTS is still very choppy... is this a licensing issue ?

describe 'choppy' in detail.
Reply
#95
using a bluetimes mx5 box with nightly xbmc-20140311-b2f1d78-Gotham-armeabi-v7a

i will list files that play well and files that are "Choppy" the way i can describe it is the sound keeps going but the video frame freezes u skip forward it plays for 2 seconds then freezes and stays frozen and audio track keeps going.. some files play amazing others dont

FILES THAT PLAY WITH NO ISSUES



Format : Matroska
Format version : Version 2
File size : 9.38 GiB
Duration : 1h 56mn
Overall bit rate mode : Variable
Overall bit rate : 11.5 Mbps

Encoded date : UTC 2014-02-08 18:21:48
Writing library : libebml v0.7.8 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 56mn
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 1h 56mn
Bit rate mode : Variable
Bit rate : Unknown / 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy
Language : English
Default : Yes
Forced : No

eneral
Unique ID : 210427391552618486948607463296278708513 (0x9E4ED76955FEC2E59F648A2370D7C121)
Complete name
Format : Matroska
Format version : Version 2
File size : 3.93 GiB
Duration : 1h 34mn
Overall bit rate : 5 948 Kbps
Encoded date : UTC 2013-06-17 17:01:56
Writing application : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58
Writing library : libebml v1.2.0 + libmatroska v1.1.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 34mn
Bit rate : 5 200 Kbps
Width : 1 920 pixels
Height : 816 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.138
Stream size : 3.35 GiB (85%)
Writing library : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=6 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=128 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=7 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=150 / rc=2pass / mbtree=1 / bitrate=5200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=12000 / vbv_bufsize=12000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709


VIDEOS THAT ARE CHOPPY

General
Unique ID : 224068572199134908602860620860111005515 (0xA892098B253AB897A1D16E2FABDD274B)

Format : Matroska
Format version : Version 4 / Version 2
File size : 3.92 GiB
Duration : 1h 44mn
Overall bit rate : 5 375 Kbps
Encoded date : UTC 2014-03-10 02:59:53
Writing application : mkvmerge v6.7.0 ('Back to the Ground') 64bit built on Jan 8 2014 15:10:52
Writing library : libebml v1.3.0 + libmatroska v1.4.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 44mn
Width : 1 916 pixels
Height : 1 072 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Language : English
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 44mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 287 MiB (7%)
Language : English
Default : Yes
Forced : No

Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 1.32 GiB
Duration : 31mn 13s
Overall bit rate : 6 053 Kbps
Encoded date : UTC 2014-01-13 18:39:46
Tagged date : UTC 2014-01-13 23:22:34
Writing library : Apple QuickTime
Media/UUID : 29EC759B-B5E2-4DC4-A7F0-47CE4CC0F509

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Format settings, GOP : M=2, N=50
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 31mn 13s
Bit rate : 5 923 Kbps
Width : 1 888 pixels
Original width : 1 920 pixels
Height : 1 062 pixels
Original height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.118
Stream size : 1.29 GiB (98%)
Language : English
Encoded date : UTC 2014-01-13 23:20:37
Tagged date : UTC 2014-01-13 23:22:34
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 31mn 13s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 28.2 MiB (2%)
Language : English
Encoded date : UTC 2014-01-13 23:20:37
Tagged date : UTC 2014-01-13 23:22:34
Reply
#96
so AC-3/AAC are problematic and not DTS like in your original post.

next thing is xbmc.log playing one of the 'bad' ones. Let it play for 5-10 mins.
Reply
#97
as requested kind sir

http://xbmclogs.com/show.php?id=149288

im no expert but i do work in the i,t industry is it because my device doesn't have root ?

maybe i need to root it because i can see in the logs

08:37:53 T:1095560688 WARNING: aml_permissions: missing su, playback might fail
Reply
#98
yep, if aml device do not have certain device permissions set right, then a/v sync and other items will get strange.
Reply
#99
so i rooted my device and gave xbmc su access but still same issue Sad xbmc is stuck in 720p mode... any other suggestions ?

edit: i have installed busybox and a ssh server to my box my guess is id have to putty ssh in and change the cmod permissions some how ? any idea where id even start to look ?

worked out how to set permissions via ssh so set all these within the qoute marks but no luck will upload another log now

system("su -c chmod 666 /sys/class/video/axis");
system("su -c chmod 666 /sys/class/video/screen_mode");
system("su -c chmod 666 /sys/class/video/disable_video");
system("su -c chmod 666 /sys/class/tsync/pts_pcrscr");
system("su -c chmod 666 /sys/class/audiodsp/digital_raw");
system("su -c chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq");
system("su -c chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq");
system("su -c chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Reply
Same error in the debug log still?
Reply
new logs

http://xbmclogs.com/show.php?id=149382

does not have "WARNING: aml_permissions: missing su, playback might fail"

in it so thats gone but still same issue
:S

scratching my head with this one
Reply
I went though and checked all the permissions are 666 I have su in xbin su is granting the permissions every time I start xbmc .. Still it struggles to play ac3/AAC and only some of them... I can't piece it as to why .. Should I submit a bug report ? Android is set to 1920x1080 but xbmc only runs in 720p... Some thing must be wrong with xbmc
"People don't care how much you know until they know how much you care”
Reply
If you could submit a bug report for this, we'd greatly appreciate it. Even if it's just for tracking purposes, as I know right now is a busy time and it's easy for various issues to get lost in the shuffle.
Reply
(2014-03-16, 08:09)epicdsl Wrote: I went though and checked all the permissions are 666 I have su in xbin su is granting the permissions every time I start xbmc .. Still it struggles to play ac3/AAC and only some of them... I can't piece it as to why .. Should I submit a bug report ? Android is set to 1920x1080 but xbmc only runs in 720p... Some thing must be wrong with xbmc

Nothing is wrong with XBMC, it runs the GUI in 720p. Always has and always will until GLES improves enough to get decent fps from the GUI. Video is rendered my hw to a different video plane that has nothing to do with GLES.


AC3/DTS work fine for me on on AML devices. There must be something wrong with your firmware. I suggesting contacting you device vendor.
Reply
(2014-03-16, 22:10)davilla Wrote:
(2014-03-16, 08:09)epicdsl Wrote: I went though and checked all the permissions are 666 I have su in xbin su is granting the permissions every time I start xbmc .. Still it struggles to play ac3/AAC and only some of them... I can't piece it as to why .. Should I submit a bug report ? Android is set to 1920x1080 but xbmc only runs in 720p... Some thing must be wrong with xbmc

Nothing is wrong with XBMC, it runs the GUI in 720p. Always has and always will until GLES improves enough to get decent fps from the GUI. Video is rendered my hw to a different video plane that has nothing to do with GLES.


AC3/DTS work fine for me on on AML devices. There must be something wrong with your firmware. I suggesting contacting you device vendor.

Davilla
How to check resolution of video plane ?
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9

Logout Mark Read Team Forum Stats Members Help
AMLogic hardware video decoding in nightly builds1