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
WebService and Mobile Access
Graveyard
MPWebServices
MPWebServices and FFmpeg
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="Brownard" data-source="post: 627123" data-attributes="member: 48291"><p>Hey Cheezey</p><p></p><p>I had the same issues as you and never figured out what the problem was, I would also occasionally have the same problem with Mencoder. First I thought FFmpeg didn't like async read/writes as it worked perfect every time when I created another thread to handle the input and did all read/writes synchronously.</p><p></p><p>However I have since written my own streamer that is fully async, using only 1 thread, and it works OK. The encoding parameters, etc are all hardcoded so the EncoderWrapper/Config classes are not used, I also only pipe via ffmpeg's std in/out so no named pipes.</p><p></p><p>So in theory it should work, the problem lies somewhere within the encoder wrapper I think.</p><p>Attached is my streamer that successfully outputs flash video using ffmpeg (to enable viewing on an embedded player)</p><p></p><p>Hope it helps</p><p></p><p>**EDIT**</p><p></p><p>Just checked, my code isn't truly async as the Reads are synchronous so maybe the prob is with ffmpeg and async reads</p></blockquote><p></p>
[QUOTE="Brownard, post: 627123, member: 48291"] Hey Cheezey I had the same issues as you and never figured out what the problem was, I would also occasionally have the same problem with Mencoder. First I thought FFmpeg didn't like async read/writes as it worked perfect every time when I created another thread to handle the input and did all read/writes synchronously. However I have since written my own streamer that is fully async, using only 1 thread, and it works OK. The encoding parameters, etc are all hardcoded so the EncoderWrapper/Config classes are not used, I also only pipe via ffmpeg's std in/out so no named pipes. So in theory it should work, the problem lies somewhere within the encoder wrapper I think. Attached is my streamer that successfully outputs flash video using ffmpeg (to enable viewing on an embedded player) Hope it helps **EDIT** Just checked, my code isn't truly async as the Reads are synchronous so maybe the prob is with ffmpeg and async reads [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Graveyard
MPWebServices
MPWebServices and FFmpeg
Contact us
RSS
Top
Bottom