Posts: 827
Joined: Jun 2014
Reputation:
25
CiNcH
Posting Freak
Posts: 827
Yes. Crashes after 1-2s of playback.
Posts: 630
Joined: Mar 2013
Reputation:
43
2018-09-14, 21:14
(This post was last modified: 2018-09-15, 13:47 by manül.)
So I'm once again able to reproduce the problem. It asserts if timeshifting is not enabled, custom stream read chunk size is set and in the range between 56 - 64 kB. Below or above the stream works.
Regarding the flags: Currently I'm (already) using READ_NO_CACHE. I just looked at the wrong place. Adding/removing READ_AUDIO_VIDEO does not help.
Posts: 6,810
Joined: Jul 2010
Reputation:
198
I'll dig into ffmpeg and try to understand why exactlty it asserts
Posts: 630
Joined: Mar 2013
Reputation:
43
Thank you for looking into it! Should a live stream reader still use one or all of the flags you used in DVDFactoryInputStream? You're using truncated, bitrate and chunked. I'm using none of them right now.
Posts: 6,810
Joined: Jul 2010
Reputation:
198
You don't need bitrate but you should use the others.
Posts: 630
Joined: Mar 2013
Reputation:
43
Why do you want to cache data in memory or even on storage that get's only read once?