Page 1 of 1

x265 encoded TS files jerky in Windows, and here is the reason...

Posted: 10 May 2017 18:51
by oviano
I've been tracing through an issue where a 50fps x265 TS file, encoded using ffmpeg was playing back very jerkily on the Windows nightly builds since 5th April. I haven't tried other platforms but I would suspect it would be the same.

It is caused by this commit

https://github.com/videolan/vlc/commit/ ... 33ee78660c

If these changes are reverted, my problem goes away.

Interestingly, files encoded using NVENC HEVC don't have this issue.

Re: x265 encoded TS files jerky in Windows, and here is the reason...

Posted: 12 May 2017 09:56
by oviano
Here are the test files, should a developer want to look at it. All three were created by ffmpeg from the same initial DS capture.

File that produces jerky output (x265 encode, mpeg-ts):
https://www.dropbox.com/s/lp351vfjiksis ... 65.ts?dl=0

File that is ok (x265 encode, mp4)
https://www.dropbox.com/s/5cpjnbe7a3t62 ... 5.mp4?dl=0

File that is ok (NVENC encode, mpeg-t)
https://www.dropbox.com/s/mnfw8ngnj7sv0 ... nc.ts?dl=0

So it's the specific combination of an x265 encode with the mpeg-ts container format that is the problem.

As I say, revert the above check-in and the problem goes away.

Re: x265 encoded TS files jerky in Windows, and here is the reason...

Posted: 12 May 2017 10:13
by Jean-Baptiste Kempf
Can you share logs, please?

Re: x265 encoded TS files jerky in Windows, and here is the reason...

Posted: 12 May 2017 11:38
by InTheWings
double timestamp usage.

should have been fixed.

Re: x265 encoded TS files jerky in Windows, and here is the reason...

Posted: 12 May 2017 11:58
by Jean-Baptiste Kempf

Re: x265 encoded TS files jerky in Windows, and here is the reason...

Posted: 13 May 2017 16:34
by oviano
Great news, I will test that out and let you know if I still have some problems.