home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
IPTV/DVB-IP in MP: Support for http, rtp and udp
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="velis" data-source="post: 728776" data-attributes="member: 96429"><p>Precisely. The funny thing I found was that even if I had buffer set to 1MB, I would never get more than 1360 bytes from it. So if I am not reading fast enough, I'll miss the packet.</p><p>If what you say is correct, that means there's no need for grabber thread. Just set a timer to read once in 30 ms and then read the entire 250 KB, passing it directly to DirectShow chain.</p><p>No stutter, no lost packets, no fuss...</p><p></p><p>Though I must say current code of your version does support this. Otherwise sleep(10) when no data had been read would lose huge packet numbers. But then again, such was the original code (it had sleep(1)) and it lost packets like crazy <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p><p></p><p>Edit: BTW: after 2 hrs, no stuttering. So your filter looks really good so far</p></blockquote><p></p>
[QUOTE="velis, post: 728776, member: 96429"] Precisely. The funny thing I found was that even if I had buffer set to 1MB, I would never get more than 1360 bytes from it. So if I am not reading fast enough, I'll miss the packet. If what you say is correct, that means there's no need for grabber thread. Just set a timer to read once in 30 ms and then read the entire 250 KB, passing it directly to DirectShow chain. No stutter, no lost packets, no fuss... Though I must say current code of your version does support this. Otherwise sleep(10) when no data had been read would lose huge packet numbers. But then again, such was the original code (it had sleep(1)) and it lost packets like crazy :S Edit: BTW: after 2 hrs, no stuttering. So your filter looks really good so far [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
IPTV/DVB-IP in MP: Support for http, rtp and udp
Contact us
RSS
Top
Bottom