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
Popular Plugins
iPiMP
Live TV streaming
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="DieBagger" data-source="post: 624585" data-attributes="member: 56421"><p>Really hard to say from a distance, also I don't know what you already know so forgive me if I tell you something obvious (or even worse false <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />).</p><p></p><p>First of all:</p><p></p><p>[CODE]</p><p>server.BeginWaitForConnection(New AsyncCallback(AddressOf WaitForConnection), server[B]).AsyncWaitHandle.WaitOne(10000)[/B]</p><p>[/CODE]</p><p></p><p>Why are you blocking the thread for 10000 ms, it isn't done in the c# original <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />? What you do with this is tell the NamedPipe to call the method WaitForConnection when the Pipe receives input. You get the input from your mencoder/ffmpeg which is registered in EncoderWrapper->StartProcess</p><p></p><p></p><p></p><p>If "WaitForConnection" is never called you might want to check if the process is set up correctly (path of ffmpeg?). Do you see the console popup from ffmpeg when the transcoding starts btw?</p><p></p><p>Hope that helped...</p></blockquote><p></p>
[QUOTE="DieBagger, post: 624585, member: 56421"] Really hard to say from a distance, also I don't know what you already know so forgive me if I tell you something obvious (or even worse false ;)). First of all: [CODE] server.BeginWaitForConnection(New AsyncCallback(AddressOf WaitForConnection), server[B]).AsyncWaitHandle.WaitOne(10000)[/B] [/CODE] Why are you blocking the thread for 10000 ms, it isn't done in the c# original ;)? What you do with this is tell the NamedPipe to call the method WaitForConnection when the Pipe receives input. You get the input from your mencoder/ffmpeg which is registered in EncoderWrapper->StartProcess If "WaitForConnection" is never called you might want to check if the process is set up correctly (path of ffmpeg?). Do you see the console popup from ffmpeg when the transcoding starts btw? Hope that helped... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
iPiMP
Live TV streaming
Contact us
RSS
Top
Bottom