|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
How I stopped VMR9 stuttering (including 1080i) and solved all my sound issues.
What I have (and hopefully you can as well) with the following setup procedure.
- HDTV playback with zero stutter (even 1080i) with fancy schmancy see through menus. - HDTV playback with full AC3 digital sound. - SDTV playback with 3/2.1 sound. - Matched HD and SD audio levels. - Music playback (mp3 & flac) in stereo sound. I believe steps 6-9 are the only ones necessary for stutter free playback. Steps 1-3 however work great for anyone exporting audio to an external receiver and seem to be the safest bet on full stutter free goodness. They are a result of many hours of research into each AC3Filter setting. I'll have to post what each one does sometime. If you're willing to do some reading check out this thread to find out for yourself. If you have any of the following problems this post will not help: - An insufficiently powered video card. At this point any Nvidia 6600 or higher seems sufficient. - A hard drive setup that can't effectively handle the syncronous read/write stress that simultaneous recording and playing of HD content throws at it. Almost any properly functioning new hard drive in a single drive setup should work. However, see my struggles here with a RAID 5 setup. - An AVerMedia A180 recording to a SATA hard drive. <-- This may only be with a specific SATA card/driver combination. Others have reported this combination of hardware working fine. If a link to discussion of the problem can't be found, this list item will be removed. My setup: - Nvidia 6600GT to HDTV via VGA connector running at a resolution of 1360 x 768. - Asus A7N8X Deluxe motherboard using onboard Nvidia sound (Nforce2 chipset) out to external 5.1 audio receiver via SPDIF. - Tuner cards: DIVCO Fusion Gold (OTA), Hauppauge HVR 950 (OTA), & HDHomeRun (QAM). I do not record via Firewire. - Sage 6.0.19 with Java 1.6 I'm using the newest Nvidia video and audio drivers and all Windows XP updates are applied to the OS. Software used: - Nvidia Purevideo Decoder - DirectShow Filter Manager - GraphEdit - AC3Filter How to: 1) In Sage leave all video and audio settings at default except: - Full Screen Exclusive Mode = True - 3D Acceleration = Enabled - Video Renderer = VMR9 2) Be sure you have your audio card outputting via SPDIF and doing no encoding. For the onboard Nvidia audio my setup has, this meant checking "use SPDIF" and setting the speaker array to "2 speakers". Also, turn all volume sliders up as far as they can go. You will need to control volume with your audio receiver because passed through HD sound levels can't be adjusted by the computer (the volume bar in Sage has no affect). 3) Configure AC3Filter like so: Mar 5th, 2007 - I no longer believe steps 4 & 5 are required for stutter free playback. See post 45 of this thread for my reason why. I'm leaving it here in a shrunken state so this thread doesn't seem completely screwy to someone reading for the first time. Also note; you may already be recording to .ts files if you have an HDHomeRun as it changes this setting during installation. 4) Be sure Sage is not running and in the Sage.properties file, set mmc/encode_digital_tv_as_program_stream=false. This setting makes all the HD recordings in my setup record as .ts files. This should be set on the server machine if you're running server/client. 5) Fire up Sage, go to the program guide and start recording an HD channel. Check your recording folder and be sure the resulting file has a .ts extension. Exit Sage. 6) Run DirectShow Filter Manager and scroll down to the Nvidia items. Double click NVIDIA Transport Demux, NVIDIA Video Decoder & NVIDIA Audio Decoder filters and set the merit of each to 00800001. The row color should become bright pink like this (other rows may be different, don't worry about them): 7) Reboot the computer so the new Merits (operating system defaults) will be applied. 8) With Sage closed, fire up GraphEdit and click File > Render file. Choose an HD recording from your recordings folder. If everything went well the resulting graph will have the same filter path as this: If it doesn't you'll have to repeat step 6 but use a higher Merit number. Something really high like 09040000 should bump them above any other filters. On boot, Windows chooses the Directshow Filters with the highest merit for its defaults. If you can't seem to get the Nvidia Demux to be chosen, try setting the merit of the one that is to 00000000 which tells the OS not to use it at all. 9) Close GraphEdit and fire up Sage. The stuttering should be gone and the sound should be normalized and properly decoded across all mediums. The key to undropped frames (no stutter) is being sure Sage is actually running in Full Screen Exclusive (FSE) mode. If you click the Window key on your keyboard and Sage minimizes itself, you were in FSE and there should be no stuttering. If the Start Menu pops up and Sage doesn't minimize then FSE wasn't actually initialized. If it did minimize there is a problem after maximizing Sage because it will no longer be in FSE mode. You have to exit the program and reopen for it to correctly reinitialize. I haven't tried it yet, but setting the Sage.properties entry 'disable_fse_on_focus_lost' parameter to false may fix this issue. Good luck! And let me know how the above settings work for you. Last edited by GollyJer; 03-07-2007 at 10:54 PM. |
#2
|
||||
|
||||
Thanks for sharing, GollyJer.
Could you explain the purpose of these they relate to stuttering? - Overlay Key Mapping = Enabled mmc/encode_digital_tv_as_program_stream=false Is using SPDIF as opposed to analog audio out part of the solution? I ask b/c we don't have a separate audio receiver that we could use to decode it. Finally, it seems you've had luck with the Nvidia demux. Last time I tried, it wouldn't parse some of the files I threw at it. I think it was firewire SDTV recordings that were giving it trouble. I do remember trying at least three different version of the Nvidia filters and finding that different versions had differing levels of success parsing transport streams, and also that only certain versions allowed the demux to be connected to a non-Nvidia audio decoder. I wonder if I should try the latest version again now. |
#3
|
||||
|
||||
Keep in mind that setting encode_digital_tv_as_program_stream to false will not work on all HDTV card.
|
#4
|
|||
|
|||
Thanks, you've got alomost the same filter chain as me. The only difference is I'm using nVIDIA audio decoder. I'll try AC3filter.
How do you think the enocde_digital_TV_as_program_stream affects firewire recording? |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
Thanks for the tips! I'll have to try some of these out this weekend
Quote:
For the firewire, though, you can modify your custom graph to convert the transport stream into program stream which pretty much does the same thing. That info is somewhere in that huge thread.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#7
|
|||
|
|||
You mean like this?
IIUC though, this would be the equivalent of setting mmc/encode_digital_tv_as_program_stream=true ie, the opposite of what the OP suggests. The straight forward dump to HDD using the SBDARecorder is the equivolent of setting it to false. Do I understand correctly? EDIT: Maybe I don't is it that SBDARecorder converts to PS but if I were to swap that out for MPEG2Dump, I'd just get the raw transport stream with no conversion? So I can just got stb->MPEG2Dump? EDIT I just found the answer, right under my nose page 2 of that monster thread. I was right the second time. stb-> MPEG2dump results in a ts, stb->SBDAREcorder results in a ps. Last edited by PhillJones; 03-02-2007 at 01:29 PM. |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
Quote:
Quote:
More info: Setting enocde_digital_TV_as_program_stream to false creates files with a .ts (transport stream) extension. When using Graphedit to reder a recording ONLY .ts files will use the default graph I posted above. ---EDIT Mar 05, 2007: The preceding sentence wasn't actually true. I hadn't tested .mpg (transport stream) HD files. The first post has been updated to reflect this.--- If I open a .mpg file (any SD recording), the Demuxer used is an MPEG demuxer and not the NVidia Transposrt Demux. My goal was to use the Nvidia filters, by default, whenever possible. For HD, recording to .ts files was the only way I could make it happen. enocde_digital_TV_as_program_stream applies to my HDHomeRun, the DIVCO and the HVR-950. When it's set to true they all record into a .mpg container. When it's set to true they all record into .ts files. Last edited by GollyJer; 03-05-2007 at 02:57 AM. |
#10
|
|||
|
|||
Quote:
If so then I didn't have that issue. I just set nVIDIA transport demux to high and all the other demux's and splitters to lower than 'do not use', ie minimum merit and it used nVIDIA. |
#11
|
||||
|
||||
Quote:
The AC3Filter settings are simply the way I am able to send the proper signals to my audio receiver for each type of sound stream I'm listening to. Quote:
|
#12
|
||||
|
||||
Quote:
My best opportunity will be when I install Sage Client on my home office computer. I will try the things I think have the biggest anti-stutter impact first; being sure Hardware Acceleration is on and FSE mode is truely being used. Last edited by GollyJer; 03-01-2007 at 12:20 PM. |
#13
|
|||
|
|||
Quote:
|
#14
|
|||
|
|||
yep i was that that guy re: nvidia audio decoder.
i absolutely couldn't play back any recordings from CBS when using the nvidia audio decoder. i initially switched to the sage mpeg decoder but that wouldn't parse ac3 and my soundcard was acting up so i switched to an audigy which improved things somewhat and then finally switched the audio codec to ac3filter. through all of this though i didn't touch the demux. i have nvidia .223 set as my default video renderer in radlight and ac3filter set to default for audio. i also have both selected in sage. my card is an agp 6600gt connected with dvi to my plasma. playback is vmr9 w/ FSE enabled. ps. my capture cards are an avermedia A180 and a hauppauge HVR-950 (actually shows up as 980 in the list) for Hd sources. i don't know why the OP has overlay key mapping enabled though? |
#15
|
||||
|
||||
Quote:
- HDTV playback with full AC3 digital sound. - SDTV playback with 3/2.1 sound. - Matched HD and SD audio levels. - Music playback (mp3 & flac) in stereo sound. I'm not sure it had anthing to do with helping the stuttering. To solve the video stutter I was simply aiming to use all of the NVidia supplied filters from the PureVideo install with my Nvidia hardware decoder card. |
#16
|
||||
|
||||
Quote:
|
#17
|
||||
|
||||
Quote:
Remember, when you change the Merit of a filter it won't be set to the system default until you reboot. Last edited by GollyJer; 03-01-2007 at 02:39 PM. |
#18
|
|||
|
|||
Are you sure SageTV uses the system's default graph though? I thought SageTV always used its own demux and only used the default video/audio decoders (assuming you haven't specified otherwise in detailed setup).
|
#19
|
||||
|
||||
Quote:
The only thing I am sure of is that this combination of settings works perfectly for my setup. |
#20
|
||||
|
||||
I'm pretty sure, based on observation and some comments I remember getting from Qian a while back, that Sage uses the DirectShow merit system to choose the demux.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|