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
Development
General Development (no feature request here!)
Fixes to s/w encoder
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="fherrador" data-source="post: 128683" data-attributes="member: 30335"><p><strong>Needed hmm?</strong></p><p></p><p>Needed, well, I don't think so, but, going on with your case. Have you tryed to extract the running graph to check if sound is really getting into the muxer, or at least being selected on the xbar?.</p><p></p><p>This is my StartTimeShifting() test method on TVCardAnalog.cs</p><p></p><p> public bool StartTimeShifting(string fileName)</p><p> {</p><p> if (!CheckThreadId()) return false;</p><p> Log.Log.WriteFile("Analog: StartTimeShifting()");</p><p> if (_graphState == GraphState.Created)</p><p> {</p><p> <strong>FilterGraphTools.SaveGraphFile(_graphBuilder, "CreatedStartTimeShifting.grf");</strong></p><p> string extension = System.IO.Path.GetExtension(fileName).ToLower();</p><p> StopGraph();</p><p> AddMpegMuxer(_currentChannel.IsTv);</p><p> AddTsFileSink(_currentChannel.IsTv);</p><p> SetTimeShiftFileName(fileName);</p><p> }</p><p> <strong>FilterGraphTools.SaveGraphFile(_graphBuilder, "StartTimeShifting.grf");</strong></p><p> _capBuilder.SetFiltergraph(_graphBuilder);</p><p> //*******</p><p> _rotEntry = new DsROTEntry(_graphBuilder);</p><p> RunGraph();</p><p> <strong>FilterGraphTools.SaveGraphFile(_graphBuilder, "RunningStartTimeShifting.grf");</strong></p><p> _graphState = GraphState.TimeShifting;</p><p> _lastSignalUpdate = DateTime.MinValue;</p><p> //FileAccessHelper.GrantFullControll(fileName);</p><p> _tunerLocked = false;</p><p> return true;</p><p> }</p><p></p><p>This way you will have the pre-rendered graph on _graphBuilder on the first file, just after adding mux & tsink on the second and the running graph on the third. Load that one and inspect carefully how the wiring and specially the properties pages and pin properties of the faulty path. Try to run it without poping errors (wont get anything displayed just the .ts files will be created on the tshift folder). </p><p></p><p>Almost forgot, if you go to channels list on setuptv and preview a channel (analog), graphedit can "connect to remote graph" and get a graph that will get the timesinkfile contents played on a window, save it for future tests. Then change it & re-graph with your preferred (working) decoders there, SetupTV uses MPV and MPA as default if you have also the full MP installed on that machine and i also had audio issues with MPA = no sound depending on the Audio Layer II encoder used, solved that using the cyberlink versions for my ATI Radeon that plays it all)</p><p></p><p>Hope all this helps you in any way, if not, post the captured graph, this way the rest of the crew will have a better scenario to figure what is happening.</p></blockquote><p></p>
[QUOTE="fherrador, post: 128683, member: 30335"] [b]Needed hmm?[/b] Needed, well, I don't think so, but, going on with your case. Have you tryed to extract the running graph to check if sound is really getting into the muxer, or at least being selected on the xbar?. This is my StartTimeShifting() test method on TVCardAnalog.cs public bool StartTimeShifting(string fileName) { if (!CheckThreadId()) return false; Log.Log.WriteFile("Analog: StartTimeShifting()"); if (_graphState == GraphState.Created) { [B]FilterGraphTools.SaveGraphFile(_graphBuilder, "CreatedStartTimeShifting.grf");[/B] string extension = System.IO.Path.GetExtension(fileName).ToLower(); StopGraph(); AddMpegMuxer(_currentChannel.IsTv); AddTsFileSink(_currentChannel.IsTv); SetTimeShiftFileName(fileName); } [B]FilterGraphTools.SaveGraphFile(_graphBuilder, "StartTimeShifting.grf");[/B] _capBuilder.SetFiltergraph(_graphBuilder); //******* _rotEntry = new DsROTEntry(_graphBuilder); RunGraph(); [B]FilterGraphTools.SaveGraphFile(_graphBuilder, "RunningStartTimeShifting.grf");[/B] _graphState = GraphState.TimeShifting; _lastSignalUpdate = DateTime.MinValue; //FileAccessHelper.GrantFullControll(fileName); _tunerLocked = false; return true; } This way you will have the pre-rendered graph on _graphBuilder on the first file, just after adding mux & tsink on the second and the running graph on the third. Load that one and inspect carefully how the wiring and specially the properties pages and pin properties of the faulty path. Try to run it without poping errors (wont get anything displayed just the .ts files will be created on the tshift folder). Almost forgot, if you go to channels list on setuptv and preview a channel (analog), graphedit can "connect to remote graph" and get a graph that will get the timesinkfile contents played on a window, save it for future tests. Then change it & re-graph with your preferred (working) decoders there, SetupTV uses MPV and MPA as default if you have also the full MP installed on that machine and i also had audio issues with MPA = no sound depending on the Audio Layer II encoder used, solved that using the cyberlink versions for my ATI Radeon that plays it all) Hope all this helps you in any way, if not, post the captured graph, this way the rest of the crew will have a better scenario to figure what is happening. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Fixes to s/w encoder
Contact us
RSS
Top
Bottom