2012-12-23, 18:02
dvdplayer/amcodec solutions has added tricks to keep a/v sync. But until we see how HISPlayer does this, it would be hard to recommend how to do the same.
(2012-12-23, 11:54)Memphiz Wrote: you got it right - davilla implemented an amlcodec for usage with the dvdplayerCool! This provides a good guideline for us!
(2012-12-23, 18:02)davilla Wrote: dvdplayer/amcodec solutions has added tricks to keep a/v sync. But until we see how HISPlayer does this, it would be hard to recommend how to do the same.
(2012-12-23, 18:02)davilla Wrote: dvdplayer/amcodec solutions has added tricks to keep a/v sync. But until we see how HISPlayer does this, it would be hard to recommend how to do the same.
(2012-12-24, 04:31)davilla Wrote: Since aml decodes to a separate video plane that is not accessible by OpenGLES, dvdplayer and renderer runs in a bypass mode where it knows where the video is set to appear and makes a hole for it. Otherwise, it does nothing to render it as it does not handle the actual rendering of the video frames.(1) Yeah, "dvdplayer and renderer runs in a bypass" that is a keypoint! hisilicon also decodes video to a seperate video plane called VO
Most embedded solutions work the same way with hardware decoders, video is actually decoded to a separate video plane that is under the framebuffer/opengles layer and they are blended together with a hw scaler.
(2012-12-23, 18:02)davilla Wrote: dvdplayer/amcodec solutions has added tricks to keep a/v sync. But until we see how HISPlayer does this, it would be hard to recommend how to do the same.
(2013-01-06, 15:50)davilla Wrote: you blind ?
https://github.com/pivosgroup
https://github.com/Pivosgroup/xbmc/blob/...LCodec.cpp
https://github.com/Pivosgroup/xbmc/blob/...mlogic.cpp
(2013-01-22, 17:35)davilla Wrote: see CAMLCodec:rocess
get_pts_video returns the pts of the last video frame that was presented by hw decoder
GetPlayerPtsSeconds returns the pts of dvdplayer according to the audio clock
SetVideoPtsSeconds is where we tell the hw video decoder to adjust its presentation pts to match dvdplayer.
(2013-01-22, 17:35)davilla Wrote: see CAMLCodec:rocess
get_pts_video returns the pts of the last video frame that was presented by hw decoder
GetPlayerPtsSeconds returns the pts of dvdplayer according to the audio clock
SetVideoPtsSeconds is where we tell the hw video decoder to adjust its presentation pts to match dvdplayer.
(2013-01-23, 04:42)sonach Wrote:(2013-01-22, 17:35)davilla Wrote: see CAMLCodec:rocess
get_pts_video returns the pts of the last video frame that was presented by hw decoder
GetPlayerPtsSeconds returns the pts of dvdplayer according to the audio clock
SetVideoPtsSeconds is where we tell the hw video decoder to adjust its presentation pts to match dvdplayer.
so now audio is decoded by CPU? It seems that it is a bit CPU-intensive(total CPU% is 65% when playing one TS file with video-hw-decode) on our hardware.
(2013-01-23, 04:52)davilla Wrote: Patches welcome to enable hw audio decode with dvdplayer Your choice is use amlplayer or dvdplayer, dvdplayer handles much more network streaming formats than amlplayer.