SageTV Community  

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

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #121  
Old 11-18-2008, 01:46 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Wow, thanks for the investigating, i'll take a look at that tomorrow.

Also, I figured out the green bar, its an issue in 1080i IVTC content. I'll update that file tommorow.
  #122  
Old 11-18-2008, 07:36 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
Wow, thanks for the investigating, i'll take a look at that tomorrow.
No problem, thank you for all your hard work. I really want to figure this out so I can stop gobbling up GB's on my server, so anything I can do to help debug the issue I will do.
Quote:
Originally Posted by evilpenguin View Post
Also, I figured out the green bar, its an issue in 1080i IVTC content. I'll update that file tommorow.
Excellent.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
  #123  
Old 11-18-2008, 05:13 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Ok, I think i've narrowed down the issue to splinting the audio/video for packing into mkv container. If you look though the log you an see that the "Dump Audio" the time it reports is shorter than the time of the avi output by mencoder.
  #124  
Old 11-19-2008, 09:03 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
Ok, I think i've narrowed down the issue to splinting the audio/video for packing into mkv container. If you look though the log you an see that the "Dump Audio" the time it reports is shorter than the time of the avi output by mencoder.
OK, I think I see what you are talking about... in the autocompress vanilla log CLI#30/33? It reports the wrong time. I looked in the dumpAudio.log and it was skipping a bunch of frames. Is this normal? Also, the wav, ac3 and aac audio files are all the wrong length (59s vs 1m05s video length).

To compare, the dumpAudio.log for the autoencode with mp3 switch does not show any dropped frames.

So perhaps this is what's causing the issue? for some reason when mencoder is re-encoding the audio it is dropping frames. but it doesn't do it when reencoding to mp3, that's the weird part. I would think it would either do it all the time or none of the time, independent of what the final format is.

Anyway, I uploaded all the logs created during the compression for the vanilla autoencode test and autoencode with mp3 test. The zips contain all the files in the work folder minus the intermediary video/audio files.

.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
  #125  
Old 11-20-2008, 01:57 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Hmm... I still need to do some more investigating on this. I think the problem might even go further back to the mencoder IVTC encodes.

I've got other IVTC methods I can compare to see if they exhibit the same issue.
  #126  
Old 11-20-2008, 04:09 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
Hmm... I still need to do some more investigating on this. I think the problem might even go further back to the mencoder IVTC encodes.

I've got other IVTC methods I can compare to see if they exhibit the same issue.

IVTC=inverse telecince, correct?

One of my test encodes was with reverse telecine disabled. For what its worth, that test had the same result (missing audio) and is displaying skipped frames in the dumpAudio.log. I attached all the log files for the no reverse telecine autoencode test.

When i get home tonight i will try to force handbrake to do the encode with ac3 audio and reverse telecine enabled.

Have you been able to reproduce the issue at all? The test file I have been working on is 125 mb and should be able to upload it somewhere for you to take a look at if you want, just don't know where
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
  #127  
Old 11-23-2008, 01:34 AM
perfessor101 perfessor101 is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Vancouver, British Columbia, Canada
Posts: 246
Subtitles - Disabling processing or files permissions? or ?

Hello, EP ...
just downloaded the lastest Developement.tar.gz and tried an autoencode
Worked great all the way through to the Subtitles processing and then 'stopped'.
(to my knowledge I am not recording subtitles with my Hauppauge WinTV-PVR-500MCE)

The system I was encoding on is a SageTVClient system with SageMC installed.
(the latest of both available to the general public)

I expanded Developement.tar.gz into C:\testing\EP

I am using UNC (SageTV Server) paths with Mapped drives common amongst all computers in my home network.

When I checked the WorkFolder (V:\Webdreams-5579766-0.mpg.Auto Encode.compress.WorkFolder) there was a valid mkv file that played well in Mplayer (beginning to end ... but unable to seek within file) SageTV will play it beginning to end but will stop play immediately if I try to seek within the file.

At the end of the encode I got this error
Error: The output file '//sagetvserver/tv6/Webdreams-5579766-0.mpg.Auto Encode.compress.WorkFolder/Webdreams-5579766-0.2_auto_encode.0.28.add_subtitle_track.main.mkv' could not be opened for writing (Invalid argument).

//sagetvserver/tv6 is mapped to network drive v:\

the complete logs are attached

Thanks for your time,
Bobby
Attached Files
File Type: zip Webdreams-5579766-0.Auto Encode.compress.zip (73.9 KB, 182 views)
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta
SageTV Client & 2 x HD-300 Extender.
40.8TB unRaid 6.6.5 media server
  #128  
Old 11-24-2008, 06:35 PM
Jetracers Jetracers is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Perrysburg, OH
Posts: 99
Quote:
Originally Posted by evilpenguin View Post
Ok, I think i've narrowed down the issue to splinting the audio/video for packing into mkv container. If you look though the log you an see that the "Dump Audio" the time it reports is shorter than the time of the avi output by mencoder.
So quick question if we were not to pack it into mkv container would that eliminate the audio issues?
__________________
Setup: AMD Phenom II x4 940@3.0 GHz Processor: Gigabyte GA-M750SLI-DS4 Motherboard: 4 GB Corsair PC2 6400 Memory:
OS Drive 320 GB Seagate hard drive: Recording Drives 2x500 GB WDCaviar 64k Clusters, 1x1.5TB Seagate 64k clusters, 1x320 GB Seagate 4k Clusters, 1x250 Seagate external USB 32k Clusters:Tuners(w/5 setup for recording HD; 2 for SD content): 1 Hauppauge HVR-1600, 1 HDHomeRun, 2x Hauppauge HVR-1250; XP Pro 32 bit, SageTV V6.5.9 SAGEMC V6.3.8a
  #129  
Old 11-24-2008, 07:44 PM
Jetracers Jetracers is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Perrysburg, OH
Posts: 99
For EP,
So i've been trying to debug the audio issue here is what i have come up with.
I have a small clip of House I sent it through the mencoder.bat and looked at the log for the second pass. Video=25.108s Audio=24.360 diff=.748s.
Next i sent the same clip through quickstream_fix.bat clip was shortened to 23.4s long, then sent it through mencoder.bat and the result. Video=23.373 Audio=23.448 diff=-.075 not sure what this means but hope this helps
__________________
Setup: AMD Phenom II x4 940@3.0 GHz Processor: Gigabyte GA-M750SLI-DS4 Motherboard: 4 GB Corsair PC2 6400 Memory:
OS Drive 320 GB Seagate hard drive: Recording Drives 2x500 GB WDCaviar 64k Clusters, 1x1.5TB Seagate 64k clusters, 1x320 GB Seagate 4k Clusters, 1x250 Seagate external USB 32k Clusters:Tuners(w/5 setup for recording HD; 2 for SD content): 1 Hauppauge HVR-1600, 1 HDHomeRun, 2x Hauppauge HVR-1250; XP Pro 32 bit, SageTV V6.5.9 SAGEMC V6.3.8a
  #130  
Old 11-25-2008, 02:13 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
We may be in luck, Handbrake just released a new version (9.3) and its handing 1080i/720p IVTC content very well. If this doesn't exhibit the audio loss and looks just as good as the mencoder encodes I may switch over to using it.

You can try it out by downloading the Windows GUI. For primetime HDTV shows (like Knight Rider) set the framerate to 23.976 and turn on the decomb filter.

Last edited by evilpenguin; 11-25-2008 at 02:15 PM.
  #131  
Old 11-29-2008, 09:18 AM
jelwood jelwood is offline
Sage User
 
Join Date: Dec 2007
Posts: 74
Quote:
Originally Posted by evilpenguin View Post
We may be in luck, Handbrake just released a new version (9.3) and its handing 1080i/720p IVTC content very well. If this doesn't exhibit the audio loss and looks just as good as the mencoder encodes I may switch over to using it.

You can try it out by downloading the Windows GUI. For primetime HDTV shows (like Knight Rider) set the framerate to 23.976 and turn on the decomb filter.
Just an FYI... I've been using the latest version of Handbrake that you mentioned for a few days and it re-encodes the HD-PVR files really well. I've done encodes for the IPod touch (H.264, AAC, in a m4v container) as well as the Blackberry (Xvid, AAC, in a MP4 container) and it has been working great.
  #132  
Old 11-29-2008, 11:02 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
We may be in luck, Handbrake just released a new version (9.3) and its handing 1080i/720p IVTC content very well. If this doesn't exhibit the audio loss and looks just as good as the mencoder encodes I may switch over to using it.

You can try it out by downloading the Windows GUI. For primetime HDTV shows (like Knight Rider) set the framerate to 23.976 and turn on the decomb filter.
So I just got a chance to test out the new Handbrake GUI... I was traveling for thanksgiving and was away from my computer and email... To summarize, I got a good encode with audio all the way to the end.

Here are the settings I used:

AC3 Audio
Start with "Basic Normal Profile" and change the following:
Format: MKV
Filters - Detelecine
Filters - Decomb
Deinterlace - Slow
Video Framerate to 23.976
Audio Track to AC3
AAC Audio
Start with "Basic Normal Profile" and change the following:
Format: MKV
Filters - Detelecine
Filters - Decomb
Deinterlace - Fast
Video Framerate to 24
Audio Track to AAC, 6 channel discrete
With both settings the audio was good and played all the way to the end. Also there were no green bars across the top of the video. I've attached both Handbrake logs for your perusal. Let me know if you want me to run any other tests.

Thanks
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
  #133  
Old 12-01-2008, 01:57 PM
Jetracers Jetracers is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Perrysburg, OH
Posts: 99
Quote:
Originally Posted by evilpenguin View Post
We may be in luck, Handbrake just released a new version (9.3) and its handing 1080i/720p IVTC content very well. If this doesn't exhibit the audio loss and looks just as good as the mencoder encodes I may switch over to using it.

You can try it out by downloading the Windows GUI. For primetime HDTV shows (like Knight Rider) set the framerate to 23.976 and turn on the decomb filter.
Is it possible to use this version in the current release of your plugin without changing much? or will the AutoEncode (or handbrake) profile kick it to mencoder automatically?
__________________
Setup: AMD Phenom II x4 940@3.0 GHz Processor: Gigabyte GA-M750SLI-DS4 Motherboard: 4 GB Corsair PC2 6400 Memory:
OS Drive 320 GB Seagate hard drive: Recording Drives 2x500 GB WDCaviar 64k Clusters, 1x1.5TB Seagate 64k clusters, 1x320 GB Seagate 4k Clusters, 1x250 Seagate external USB 32k Clusters:Tuners(w/5 setup for recording HD; 2 for SD content): 1 Hauppauge HVR-1600, 1 HDHomeRun, 2x Hauppauge HVR-1250; XP Pro 32 bit, SageTV V6.5.9 SAGEMC V6.3.8a
  #134  
Old 12-01-2008, 02:02 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
EP,
Just so you know, my wife is anxiously awaiting the UI update to your plugin. I told her we had to wait for this brilliant guy who was updating VideoTools to get the many features she wants. Mind you I know I can do much of the things this tool does manually, but I'm managing her tech-support questions and keeping her HTPC-related requests down to things already built-in to our SageTV HTPC setup.

So every week or so she asks when the brilliant guy is going to release the VideoTools update I'm looking forward to it too, but love to see here excited about new plugins
  #135  
Old 12-01-2008, 02:39 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by Jetracers View Post
Is it possible to use this version in the current release of your plugin without changing much? or will the AutoEncode (or handbrake) profile kick it to mencoder automatically?
I am also curious about this... also could we use the current handbrake (9.3) with videotools 3.0 (assuming that 3.5 UI development is on hold until Sage fixes things on their end)? I stopped automatically compressing shows with 3.0 because of the audio issue so i've been gobbling up gigabytes on the server.
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
  #136  
Old 12-04-2008, 11:01 AM
Jetracers Jetracers is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Perrysburg, OH
Posts: 99
Encoding wrong Audio

EP,
Hey I downloaded your latest revision of Vid tools rev 513. The Handbrake is working well encoding my HD content except that it is encoding the audio to Stereo. I don't think this occurs if I use Handbrake GUI (but ill verify this and repost) so just thought you may want to take a look at it. Thanks in advance.
Jet
__________________
Setup: AMD Phenom II x4 940@3.0 GHz Processor: Gigabyte GA-M750SLI-DS4 Motherboard: 4 GB Corsair PC2 6400 Memory:
OS Drive 320 GB Seagate hard drive: Recording Drives 2x500 GB WDCaviar 64k Clusters, 1x1.5TB Seagate 64k clusters, 1x320 GB Seagate 4k Clusters, 1x250 Seagate external USB 32k Clusters:Tuners(w/5 setup for recording HD; 2 for SD content): 1 Hauppauge HVR-1600, 1 HDHomeRun, 2x Hauppauge HVR-1250; XP Pro 32 bit, SageTV V6.5.9 SAGEMC V6.3.8a

Last edited by Jetracers; 12-04-2008 at 01:46 PM. Reason: added logs
  #137  
Old 12-08-2008, 06:39 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Hey, just a quick update:

I finally tracked down the exact cause of the missing audio problem to mencoder's AC3 encoder which I use to make 5.1 AAC audio. This means i've got some options now...

1) Just use Handbrake and encode directly to 5.1 AAC.
* Pros - Great A/V sync and better deinterlacing
* Cons - I'm still not sure about their IVTC for HDTV and it can be slower than mencoder.
2) Use the original AC3 audio track when encoding to 5.1 AAC.
* Pros - Still can use mencoder for video which is much faster for HDTV
* Cons - Potential A/V sync issues when the video and audio don't get encoded at the same time.
3) Don't do 5.1 AAC
* Pros - 95% of what we record doesn't really use 5.1 anyway.
* Cons - Lose out on the few shows that do use it i.e. Lost, 24.

I think for now i'll go for #1 and in the future i'll look for a way to try and automatically detect shows that make good use of the 5.1 track and do a hybrid of #1 and #3..
  #138  
Old 12-08-2008, 06:49 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
I like #1 as the primary option. # 3 as a secondary option.
  #139  
Old 12-08-2008, 07:49 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by Brent View Post
I like #1 as the primary option. # 3 as a secondary option.
+1
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
  #140  
Old 12-08-2008, 08:04 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
I finally tracked down the exact cause of the missing audio problem to mencoder's AC3 encoder which I use to make 5.1 AAC audio.
When I forced the autoencode profile to encode the original AC3 to a new AC3 stream the audio problem was there. (I just ran another test to make sure because I couldn't remember exactly). So is it safe to say the problem is not mencoder's ability to make AAC but with its ability to decode the original AC3?
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Closed Thread

Tags
compress, encode, handbrake, mencoder, sagemc


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
STV Import: SageMC Video Tools v3.0 evilpenguin SageMC Custom Interface 799 08-28-2009 02:20 PM
STV Import: SageMC Video Tools v2.0.1a (2/02/07) evilpenguin SageMC Custom Interface 501 04-06-2009 05:13 PM
anybody have SageMC Video Tools working on a Mac? gveres SageMC Custom Interface 2 03-27-2008 06:42 PM
SageMC Video Tools 2.5 Alpha (need testers) evilpenguin SageMC Custom Interface 6 02-23-2007 07:59 PM
SageMC Video Tools vividweb SageMC Custom Interface 2 12-08-2006 06:34 PM


All times are GMT -6. The time now is 10:16 AM.


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