SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2016, 04:42 PM
Romnibus Romnibus is offline
New Member
 
Join Date: Aug 2016
Posts: 4
Slow SD Video After v9 Update on Windows

Hi everyone.

My update using the latest install package of a long used SageTV v7, running fine on Win10, to v9 seemed to go really well, no errors, service started fine, first channel I looked at played fine. Then I changed from that first HD channel to a SD channel and we are in slow motion. HD normal, SD slow!

I've tried installing the LAV filter/codecs, nothing changed. I'm a bit stumped as to what to what else to do. Can't find anything in the SageTV7 forums, or Google-land that helps. If anyone has some ideas please reply!


Some details:
Windows 10
HDHomerun tuners
New Zealand Freeview DVBT

I recorded a slow motion channel program and played it back with VLC - it plays at correct speed. VLC reports this codec Info:

Codec: MPEG AAC Audio (mp4a)
Channels: Stereo
Sample rate: 48000 Hz
AAC extension: SBR

Codec: H264 - MPEG-4 AVC (part 10) (h264)
Resolution: 720x578
Frame rate: 25
Decoded format: Planar 4:2:0 YUV

This compares with the HD channels that do work in SageTV 9:

Codec: A52 Audio (aka AC3) (a52 )
Channels: 3F2R/LFE
Sample rate: 48000 Hz
Bitrate: 384 kb/s

Codec: MPEG AAC Audio (mp4a)

Codec: MPEG AAC Audio (mp4a)

Codec: H264 - MPEG-4 AVC (part 10) (h264)
Resolution: 1920x1090
Frame rate: 25
Decoded format: Planar 4:2:0 YUV
Reply With Quote
  #2  
Old 08-04-2016, 05:32 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 499
I'll try to help. Can you list what you currently have set for your filters and renderers under the detailed setup/"video/audio menu"?
Reply With Quote
  #3  
Old 08-05-2016, 01:21 AM
Romnibus Romnibus is offline
New Member
 
Join Date: Aug 2016
Posts: 4
Thanks.

Settings I've currently got and work with HD are:

Video Renderer: EVR
MPEG2 Video Decoder Filter: LAV Video Decoder
H.264 Video Decoder Filter: LAV Video Decoder
VC-1 Video Decoder Filter: LAV Video Decoder
Media Player For Non-MPEG Files: DirectShow
Dscaler Deinterlacer Filter: Disabled
Audio Renderer: Default
MPEG2 Audio Decoder Filter: AC3Filter
HD Audio Decoder Filter: Default
Audio Playback Delay: 0
HD Audio Output: Enabled

Hope there is a clue in there somewhere http://forums.sagetv.com/forums/imag...s/confused.gif
Reply With Quote
  #4  
Old 08-05-2016, 11:55 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
The other thing that might help is if you post the log file from when you playback an HD recording and then also an SD recording. Then we can look at the two cases and try to see if anything is different between them...although I'm really not sure what it would be at this point.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 08-05-2016, 04:29 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Romnibus View Post
Thanks.

Settings I've currently got and work with HD are:

Video Renderer: EVR
MPEG2 Video Decoder Filter: LAV Video Decoder
H.264 Video Decoder Filter: LAV Video Decoder
VC-1 Video Decoder Filter: LAV Video Decoder
Media Player For Non-MPEG Files: DirectShow
Dscaler Deinterlacer Filter: Disabled
Audio Renderer: Default
MPEG2 Audio Decoder Filter: AC3Filter
HD Audio Decoder Filter: Default
Audio Playback Delay: 0
HD Audio Output: Enabled

Hope there is a clue in there somewhere http://forums.sagetv.com/forums/imag...s/confused.gif
If you really want to optimize SageTV set the Audio Renderer to what you are actually using as most sound-cards have diff. options for playback.

Set it to the actual Direct-sound Device you are using and stay away from default. I bet that will eliminate your Slow-mo problem. I know some will say what that has to do with Slo Mo Video but try it and you will be surprised. You will also notice your CPU usage go down.

If you go to this trhread you will see I had the same problem.

http://forums.sagetv.com/forums/show...3&postcount=59

You will see the solution on the next page I posted above.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 08-05-2016 at 04:46 PM.
Reply With Quote
  #6  
Old 08-05-2016, 05:22 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 499
If you haven't tried it yet, you can try enabling hardware decoding in the LAV video decoder. Without hardware encoding I'll have dropped frames while playing back VC-1 videos. To enable hardware encoding, start playing a video in Sage and then double click the LAV icon in your systray. Enable hardware acceleration (I use DXVA2 copy back) and apply. You have to stop and restart the video for the changes to take effect.
Reply With Quote
  #7  
Old 08-05-2016, 06:11 PM
Romnibus Romnibus is offline
New Member
 
Join Date: Aug 2016
Posts: 4
Today's lesson for me - how to capture logs in SageTV. Got there in the end.

Uploaded file "sagetvclient_0-HD-SD sample.txt" covers the sequence Start-Sage-client, watch HD channel, change to SD channel, close client.

With my limited experience I can see two things, but lack the knowledge to interpret:
1. While both invoke LAV Video, HD also invokes AC3Filter Audio codec, but SD invokes no Audio codec??? HD of course icludes 5.1 sound, but even SD stereo needs a codec???
2. Towards the end of SD there are a bunch of what I assume are media player re-syncs, e.g. Get getMediaTimeMillis0 cur:1196 s0:0 s1:0 new:1196.

Does this help anyone suggest something?
Attached Files
File Type: txt sagetvclient_0-HD-SD sample.txt (318.2 KB, 110 views)
Reply With Quote
  #8  
Old 08-05-2016, 08:51 PM
Romnibus Romnibus is offline
New Member
 
Join Date: Aug 2016
Posts: 4
Quote:
Originally Posted by nyplayer View Post
If you really want to optimize SageTV set the Audio Renderer to what you are actually using as most sound-cards have diff. options for playback.

Set it to the actual Direct-sound Device you are using and stay away from default. I bet that will eliminate your Slow-mo problem. I know some will say what that has to do with Slo Mo Video but try it and you will be surprised. You will also notice your CPU usage go down.

If you go to this trhread you will see I had the same problem.

http://forums.sagetv.com/forums/show...3&postcount=59

You will see the solution on the next page I posted above.
Thanks nyplayer, changing Audio Renderer from Default to the DirectShow HDMI option did fix the issue. HD+SD now playing at correct speed.

Think there must be a bug in this somewhere, not only should Default work anyway, but it DID work on 7 then not on 9???

Many thanks to those who gave me their brain power on this. V9 seems snappier to me, I didn't really want to do the v7 roll-back.

Reply With Quote
  #9  
Old 08-06-2016, 03:49 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Romnibus View Post
Thanks nyplayer, changing Audio Renderer from Default to the DirectShow HDMI option did fix the issue. HD+SD now playing at correct speed.

Think there must be a bug in this somewhere, not only should Default work anyway, but it DID work on 7 then not on 9???

Many thanks to those who gave me their brain power on this. V9 seems snappier to me, I didn't really want to do the v7 roll-back.


You are welcomed most people do not associate Video problems with the audio renderer ... I recommend setting this on any PC client as it will reduce CPU usage and not require a more powerful processor.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #10  
Old 08-08-2016, 11:53 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
I looked at the log, it was using the same audio renderer in both cases (Default DirectSound Device). But for SD playback, it was using both AC3Filter & LAV Audio Decoder for some reason (DirectShow auto inserted them itself). I guess having it connect the demux output to a specific audio renderer resolved that issue for some reason...it may be related to a setting in LAV Audio Decoder or AC3Filter as well; but either way, glad you got it fixed.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrgggggh - windows update! michaeldjcox General Discussion 19 05-03-2013 05:27 PM
Windows OS Update For Server? voorhees General Discussion 11 12-28-2012 03:26 PM
windows 7 MVP runs very slow and freezes DoPeFiSh SageTV Media Extender 4 05-17-2012 11:37 PM
Resolved conflicts slow to update in V7? Brent94Z SageTV Beta Test Software 9 10-23-2010 06:11 PM
slow audio and video, slow-motion like... xlr8shun SageTV Software 3 05-26-2006 01:50 PM


All times are GMT -6. The time now is 10:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.