SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-30-2007, 05:40 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
configuring sage for best X264 quality and size

(Second try to post this in a public-forum-approved manner, sorry guys)

I've seen some files on the net that have been encoded with really good H.264 results (~115 - ~120mb for a 40 minute video), and I really want to duplicate this quality in the sage transcoder. Along with the size being really minimal, the picture quality is pretty damn good on my SD tv, AND the cpu usage is relatively low on playback.

I've tried hacking around the Apple-TV transcoder lines in the sage.properties files, with not a lot of luck -- the size is too big, and the CPU usage is high enough that its sometimes choppy and any OSD displays are not very responsive. Here's a screenshot of a GSPOT output of what I want to duplicate.

What I'm looking for (ideally) is a transcoder format config line for the sage properties file to duplicate the output that I've describe (as shown in the screenshot). Here's another description of the encoding of the same file:

"VIDEO: 290Kbit/s X.264 (H.264) Codec rev. 600 (Twopass), 23.976fps
AUDIO: MPEG Layer3 64kBit/s High Quality Mode, Average Bitrate (ABR), 24.000 Hz Stereo (~62kBit/s)
"

Thanks for any help!

Cory

EDIT: attached a different screenshot that should be more clear and easy to read
Attached Images
File Type: bmp gspotoutput.bmp (153.2 KB, 206 views)

Last edited by bluenote; 10-30-2007 at 05:49 PM.
Reply With Quote
  #2  
Old 10-30-2007, 06:29 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
The short answer is: you can't. Those people...

a) Start with the highest quality source (HDTV or at the very least a digital transmission of an SD stream)
b) Heavily process the video (Crop, cut commercials, apply sharpening/denoise/deinterlace/IVTC filters) using avisynth.

As for the performance difference, that video is only 250 kb/s where as the videos you make in Sage is upwards of 1000 kb/s.
Reply With Quote
  #3  
Old 10-31-2007, 01:37 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
Thanks for the reply EP,

having said that, I don't suppose you want to take a shot at creating a transcoder format config line to match as close as possible those settings? Ive made some more modifications myself (starting with the Apple-TV setting) and gotten a pretty good result (at least, good enough for my home-environment, SD tv, amateurish efforts). The file size is pretty good (~300mb) the PQ is undistinguishable from my source, however it still seems pretty intensive and sage gets sluggish when playing, as opposed to being very responsive with the other files I have. The only difference I can see is that Im using AAC audio and not mp3, and they are in an AVI container.

thanks for any help,

Cory

EDIT: note that 300mb isnt bad when you figure my files dont have commercials or cropping, so they are +50% longer than what Im comparing to at ~ 150mb...
Reply With Quote
  #4  
Old 10-31-2007, 01:42 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I encode my videos a bit differently, so I don't know much about Sage's profile system
Reply With Quote
  #5  
Old 10-31-2007, 02:16 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
ooh, that looks nice. I don't much like Sage's manual compression, so that would solve a problem I haven't started to worry about just yet.

I dont want to change my look and feel though. Is that a dealbreaker? if I just import SageMC Im guessing a bunch of stuff is going to change for me without any further modification. ?

Cory
Reply With Quote
  #6  
Old 10-31-2007, 02:35 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
SageMC isn't an import, its an entirly new UI for Sage. I personally love it which is why I use it and write stuff for it
Reply With Quote
  #7  
Old 10-31-2007, 06:02 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
Hi Ep

I'll have to check it out because I certainly want to improve upon the launching and compression management that sage (doesn't) have.

Just for the sake of information for yourself and anyone else reading this thread, I got an (unexpected) email reply from the author of the files I was referring to -- it sounds like this is just achieved through the magic of H.264 and a high quality source. Here's those comments:

Quote:
Originally Posted by email

Since i don't know the software You're using, I can only give you simple parameters like bitrates etc.

Video: X264, Twopass, Bitrate ~340 Kbit (don't mistake with KiloBYTES), leave the rest of parameters on default
Audio: MP3 ABR (Average Bitrate) ~64 Kbit, 44000 or 32000 Hz, HQ mode, compressed using original LAME command line tool (gives the best quality)


This is all You need. You must find these settings in Your encoding software. I myself use VirtualDubMod, LAME command line tool, and sometimes Winamp and CoolEdit to correct or recompress the sound.
Thanks for taking an interest,

Cory
Reply With Quote
  #8  
Old 10-31-2007, 06:10 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by cnovak View Post
it sounds like this is just achieved through the magic of H.264 and a high quality source. Here's those comments:
There's got to be a little bit more to it than that. This person is *atleast* applying IVTC to knock the video down from 60/29.97/25 fps to 23.97 fps. But given the lowbitrate of the encode its possible that they're starting with a video that was already encoded from its original source.

Last edited by evilpenguin; 10-31-2007 at 06:12 PM.
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
Sage TV max quality vs. Beyond TV's pufftissue SageTV Software 3 02-06-2007 01:00 AM
Sage MPEG2 File is too Small mike1961 SageTV Beta Test Software 11 03-24-2006 10:25 PM
Digital Music - Nothing to do with Sage TheraEdge The SageTV Community 18 03-17-2006 08:58 PM
How To: In-place recompression of Sage Recordings nielm SageTV Customizations 39 02-18-2006 11:32 PM
question about quality settings and PVR500 camshaft Hardware Support 2 11-30-2005 09:22 AM


All times are GMT -6. The time now is 01:16 PM.


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