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="Azazyel" data-source="post: 128515" data-attributes="member: 46574"><p>There must be an issue I can't see.</p><p></p><p>I can play the timeshift and recordings with AC3Filter, but not ffdshow. As far as I can tell, the ATI Encoder has been working perfectly well, just ffdshow doesn't work with the mediaportal demux. I'll see if I can fiddle with the encoded audio format and get it working (I like using ffdshow, cause it outputs as SPDIF for me).</p><p></p><p>The changes required are (All in TvCardAnalog/Base)</p><p>1) In FindAudioVideoPins()</p><p></p><p>Add</p><p></p><p>[CODE]//Mod for Audio Capture</p><p> if (_pinAnalogVideo != null || _pinAnalogAudio == null)</p><p> {</p><p> Log.Log.WriteFile("analog: find pins on audio capture filter");</p><p> //Try adding a capture source to the graph, and using the line in as the audio pin.</p><p> string monikerAudioCpature = @"@device:cm:{33D9A762-90C8-11D0-BD43-00A0C911CE86}\Realtek AC97 Audio";</p><p> IBaseFilter audioCapture = Marshal.BindToMoniker(monikerAudioCpature) as IBaseFilter;</p><p> int hr = _graphBuilder.AddFilter(audioCapture, "Audio Capture");</p><p> if (hr != 0)</p><p> {</p><p> Log.Log.WriteFile("analog:AddAudioCapture returns:0x{0:X}", hr);</p><p> throw new TvException("Unable to add AddAudioCapture");</p><p> } </p><p> _pinAnalogAudio = FindMediaPin(audioCapture, MediaType.Audio, MediaSubType.Null);</p><p> }</p><p>//End mod[/CODE]</p><p></p><p>But modify it to grab the first Audio Capture Source (I just used the moniker for mine to speed it up)</p><p>I havent looked at the cleanup, so there may need to be a global version of audioCapture (_audioCapture)</p><p></p><p>2) Add a variable to indicate we don't need the demux/remux the stream again, and add it to the begining of AddMpeg2Demultiplexer (Early return), AddMpegMuxer (Early return) and AddTsFileSink (Use _filterAnalogMpegMuxer instead of _filterMpegMuxer (Can't just use _filterMpegMuxer because it is remade when the graph restarts))</p><p></p><p>3) Change around the desired Audio/Video compressors (ATI works well and is free to download), and sort out muxer.</p><p></p><p>Is there a reason for the mux-demux-remux? Can that be cut out entirely?</p></blockquote><p></p>
[QUOTE="Azazyel, post: 128515, member: 46574"] There must be an issue I can't see. I can play the timeshift and recordings with AC3Filter, but not ffdshow. As far as I can tell, the ATI Encoder has been working perfectly well, just ffdshow doesn't work with the mediaportal demux. I'll see if I can fiddle with the encoded audio format and get it working (I like using ffdshow, cause it outputs as SPDIF for me). The changes required are (All in TvCardAnalog/Base) 1) In FindAudioVideoPins() Add [CODE]//Mod for Audio Capture if (_pinAnalogVideo != null || _pinAnalogAudio == null) { Log.Log.WriteFile("analog: find pins on audio capture filter"); //Try adding a capture source to the graph, and using the line in as the audio pin. string monikerAudioCpature = @"@device:cm:{33D9A762-90C8-11D0-BD43-00A0C911CE86}\Realtek AC97 Audio"; IBaseFilter audioCapture = Marshal.BindToMoniker(monikerAudioCpature) as IBaseFilter; int hr = _graphBuilder.AddFilter(audioCapture, "Audio Capture"); if (hr != 0) { Log.Log.WriteFile("analog:AddAudioCapture returns:0x{0:X}", hr); throw new TvException("Unable to add AddAudioCapture"); } _pinAnalogAudio = FindMediaPin(audioCapture, MediaType.Audio, MediaSubType.Null); } //End mod[/CODE] But modify it to grab the first Audio Capture Source (I just used the moniker for mine to speed it up) I havent looked at the cleanup, so there may need to be a global version of audioCapture (_audioCapture) 2) Add a variable to indicate we don't need the demux/remux the stream again, and add it to the begining of AddMpeg2Demultiplexer (Early return), AddMpegMuxer (Early return) and AddTsFileSink (Use _filterAnalogMpegMuxer instead of _filterMpegMuxer (Can't just use _filterMpegMuxer because it is remade when the graph restarts)) 3) Change around the desired Audio/Video compressors (ATI works well and is free to download), and sort out muxer. Is there a reason for the mux-demux-remux? Can that be cut out entirely? [/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