{"action":"created","issue":{"url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi/issues/50","repository_url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi","labels_url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi/issues/50/comments","events_url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi/issues/50/events","html_url":"https://github.com/linux-sunxi/libvdpau-sunxi/issues/50","id":162480349,"number":50,"title":"Video panning/jitter observed with hardware acceleration on mplayer using libvdpau-sunxi","user":{"login":"navjotsingh07","id":20169689,"avatar_url":"https://avatars2.githubusercontent.com/u/20169689?v=4","gravatar_id":"","url":"https://api.github.com/users/navjotsingh07","html_url":"https://github.com/navjotsingh07","followers_url":"https://api.github.com/users/navjotsingh07/followers","following_url":"https://api.github.com/users/navjotsingh07/following{/other_user}","gists_url":"https://api.github.com/users/navjotsingh07/gists{/gist_id}","starred_url":"https://api.github.com/users/navjotsingh07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navjotsingh07/subscriptions","organizations_url":"https://api.github.com/users/navjotsingh07/orgs","repos_url":"https://api.github.com/users/navjotsingh07/repos","events_url":"https://api.github.com/users/navjotsingh07/events{/privacy}","received_events_url":"https://api.github.com/users/navjotsingh07/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":55,"created_at":"2016-06-27T15:29:18Z","updated_at":"2017-09-10T12:54:46Z","closed_at":null,"author_association":"NONE","body":"I am working on 1080p MP4 (around 20 Mbps/29.97 fps) video play with hardware acceleration on mplayer that use video output as vdpau and video codecs as ffmpeg12vdpau, ffh264vdpau, ffwmv3vdpau, ffvc1vdpau\nI already installed libvdpau-sunxi on my debian system. The debian version I am using is 3.4.90+ (wheezy). The hardware is based on Allwinner A20.\nBut when I play video using serial console command:\nmplayer video1.mp4\n**I observed panning/jitters on many frames of the video. The audio and video are also out of sync in the first iteration of the video. The out of sync problem happens only in the first iteration of the video; if I play the same video again, the audio-video remains in sync, but the panning/jitters are still there in the video.** I tried to troubleshoot the issue with different videos/web forums, but couldn't get success. Since A20 can easily play 30 Mbps/30 fps 1080p videos, I don't understand why my hardware is not playing it smoothly. Is there any kind of specific settings that I need to look upon. Since I am quite new to A20 allwinner based development, so need a direction to fix my issue.\n\nCan anyone help me out to solve the issue? \n\nthanks\nNav\n"},"comment":{"url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi/issues/comments/328340906","html_url":"https://github.com/linux-sunxi/libvdpau-sunxi/issues/50#issuecomment-328340906","issue_url":"https://api.github.com/repos/linux-sunxi/libvdpau-sunxi/issues/50","id":328340906,"user":{"login":"m13253","id":1808930,"avatar_url":"https://avatars3.githubusercontent.com/u/1808930?v=4","gravatar_id":"","url":"https://api.github.com/users/m13253","html_url":"https://github.com/m13253","followers_url":"https://api.github.com/users/m13253/followers","following_url":"https://api.github.com/users/m13253/following{/other_user}","gists_url":"https://api.github.com/users/m13253/gists{/gist_id}","starred_url":"https://api.github.com/users/m13253/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m13253/subscriptions","organizations_url":"https://api.github.com/users/m13253/orgs","repos_url":"https://api.github.com/users/m13253/repos","events_url":"https://api.github.com/users/m13253/events{/privacy}","received_events_url":"https://api.github.com/users/m13253/received_events","type":"User","site_admin":false},"created_at":"2017-09-10T12:54:46Z","updated_at":"2017-09-10T12:54:46Z","author_association":"NONE","body":"This issue might be related to [the hardware scaler](https://linux-sunxi.org/Display#Using_hardware_scaler):\r\n\r\n> More specifcally. when driving a high bandwidth screen resolution (specifically 1920x1080 (1080p) with 32bpp at 60Hz) the Allwinner chip may sometimes be starved for memory bandwidth for refreshing the screen, especially if other components on the chip are utilizing a lot of memory bandwidth. The symptom is a \"wavy screen\" with most of the screen scanlines bouncing up and down quickly. This has been observed on an A10 in the Xorg environment (small bouncing), and on an A20 in X when running GLES accelerated Mali applications (heavy bouncing), especially with a large window size. Turning on \"scaler mode\" seems to solve the issue in both cases (sometimes it can be enough to lower the refresh rate, for example use 1080p at 50 Hz instead of 60 Hz). Scaler mode can be enabled by changing script.bin (fb0_scaler_mode_enable = 1) or using a runtime mode-setting utility such as [[1]].\r\n"}}
{"actor":{"display_login":"m13253"}}