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

This forum is about all development around libVLC.
oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

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

Postby oviano » 10 May 2017 18:51

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.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

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

Postby oviano » 12 May 2017 09:56

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 12 May 2017 10:13

Can you share logs, please?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

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

Postby InTheWings » 12 May 2017 11:38

double timestamp usage.

should have been fixed.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 12 May 2017 11:58

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

oviano
Cone that earned his stripes
Cone that earned his stripes
Posts: 120
Joined: 12 Jan 2012 11:12

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

Postby oviano » 13 May 2017 16:34

Great news, I will test that out and let you know if I still have some problems.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests