Choppy playback on x264 / 1080p
#1
When I watch HD video on KODI, get choppy/jerky playback (very obvious on camera pans or scrolling credits); as far as I can see, SD material plays back fine. My HD videos are all h264 encoded in either an MKV or MP4 container, all are 50Hz

When watching the videos, the TV reports that it has adjusted to 50 Hz

When I press the O button, I get the following lines (typically)
...
P(fr:50.000 vq:99%, dc:ff-h264-vdpau, Mb/s:2.30, drop:0, skip 550 [goes up about 1 per second], pc:1)
...
W(fps:44.91[varies 42-49] CPU0:15% CPU1:11%)

My settings are as follows:

Adjust display rate to match video: On start / stop
Pause during refresh rate change: 0.1 sec
Sync playback to display: Yes
A/V sync method: Video clock Resample audio

My system uses an AMD A6-5770K APU with 4 GB of single channel memory (I have read other posts that say that this is adequate -- if not please let me know)
I have the VDAPU acceleration installed (and it appears to be working -- CPU usage is typically around 20% when playing back, with acceleration turned off it is typically 70 - 90%)

I am running on Linux Mint 17.1 (AMD 64 bit version), with the Radeon open source driver (updated till 01/01/2015)
I am running KODI 14.0 (PPA install) (GIT: ad747d9)

I have pasted a debug log, please see http://pastebin.com/rzds10wZ


All help / suggestions very gratefully received.
Reply
#2
Deleted post
Reply
#3
Yes (and SD 50Hz video appears to work fine)
Reply
#4
(2015-01-03, 14:27)41nick Wrote: Yes (and SD 50Hz video appears to work fine)

Sorry - hadn't read your post carefully enough and saw reference to 50Hz being displayed on display, so tried to delete my post, but can't. Apologies.
Reply
#5
Does:
Code:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-headers-3.16.7-031607-generic_3.16.7-031607.201410301735_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-headers-3.16.7-031607_3.16.7-031607.201410301735_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-image-3.16.7-031607-generic_3.16.7-031607.201410301735_amd64.deb
sudo dpkg -i *3.16.7*deb

help?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
No worries.

Just to add, I've tried reverting to Gotham 13.2, and get the same results.

I've just been playing around with different recordings, and it only appears to apply to 50Hz recordings -- stuff recorded at 25 Hz seems fine.

Starting to suspect that the A6 isn't man enough for 50 frames/second HD
Reply
#7
Fritsch -- thanks for the advice -- just tried the new kernel but the problem remains
Reply
#8
Press the film role and set: Deinterlacing: Auto Deinterlacing Method: BOB
Scaling: Bilinear: Save for all movies.

Any difference?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
And post a new Debug Log please with this 3.16 kernel.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
Here's a new debug log: http://pastebin.com/DM8XxS7h

No change to the behaviour -- (note that I chose interlace as BOB, not BOB-VPADU)
Reply
#11
For interest, I've also been trying to set up surround sound, which I also couldnt get to work (this may become another thread).

However, to try to solve this, I downloaded Kodibuntu, and booted in test mode. This solved both the surround sound and the choppy video problem.

So in summary this would appear to be mint problem rather than a kodi problem
Reply
#12
Try with a recording, I see a lot of tvheadend spam in there.

Concerning your surround audio: http://kodi.wiki/view/PulseAudio
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
Thanks for the audio link -- I couldn't get that to work (but I don't want to hijack my own thread)

My only HD source is tvheadend (basically I use the system to watch DVDs and as a PVR).

When you said, "watch a recording", what I was watching was a recording made with tvheadend (rather than live TV).

Are you asking me to watch a recording from say a bluray (I will have to go and buy a drive) -- or simply play the same recording with the tvh plugin disabled?
Reply
#14
Does this work: http://solidrun.maltegrosse.de/~fritsch/..._mbaff.mp4 or this: http://solidrun.maltegrosse.de/~fritsch/1080i50_h264.ts

I'd also like to see a dmesg | pastebinit please
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#15
dmesg > http://pastebin.com/Lq73vk7E

Still downloading the videos
Reply

Logout Mark Read Team Forum Stats Members Help
Choppy playback on x264 / 1080p0