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 09-24-2007, 09:42 PM
xj-boonie's Avatar
xj-boonie xj-boonie is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Minnesota
Posts: 110
Compression settings

Is there a way to add, and remove, the different options in the compress menu? I won't ever use the PSP or RAZR ones, but would like to add one for my palm TX.

Thanks,
Mike
Reply With Quote
  #2  
Old 09-24-2007, 09:50 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
You can't change or remove the existing conversion format options, but you could add properties for new formats. See the transcoder/formats/xxxx lines in sage.properties.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 09-24-2007, 10:26 PM
xj-boonie's Avatar
xj-boonie xj-boonie is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Minnesota
Posts: 110
Is there a guide to what all the arguments in those lines mean?
Reply With Quote
  #4  
Old 09-24-2007, 11:49 PM
Patilan Patilan is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Lake Forest, Illinois, USA
Posts: 237
Quote:
Originally Posted by xj-boonie View Post
Is there a guide to what all the arguments in those lines mean?
You wish!

...

Atcually, I too wish.
Reply With Quote
  #5  
Old 09-28-2007, 03:44 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
Me too, please?

Do any of these correspond to H.264 too?

thx

Cory
Reply With Quote
  #6  
Old 09-28-2007, 08:18 PM
omega's Avatar
omega omega is offline
Sage User
 
Join Date: May 2005
Location: Minnesota
Posts: 61
Since we know from past discussions that SageTVTranscoder.exe is essentially a customized version of (or at least based heavily on) the ffmpeg/libavcodec project, you can figure out the meanings of the options by reading the ffmpeg documentation. Obviously that won't help with the special syntax being used in the Sage.properties file, and we also don't know exactly which ffmpeg options are available with SageTVTranscoder.exe, but it should at least provide a useful baseline reference.
Reply With Quote
  #7  
Old 10-15-2007, 05:06 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by xj-boonie View Post
Is there a guide to what all the arguments in those lines mean?
No. but here are some hints.

Note that '=' signs need to be prefixed by a '\' -- I have removed that '\' here for clarity.
Note that anything x=y needs to have a ';' after it...

The format property line consists of:
transcoder/formats/<format group name>-<format sub-name>=<format parameters>

The <format parameters> consists of:

f=<file format dvd/avi/mp4/flv/psp/3gp etc>;
(Optional) MCompressionDetails=<arguments passed directly to ffmpeg>;
[bf=vid;<video format arguments>]
[bf=aud;<audio format arguments>]

<video format arguments> includes:
f=<video encoder supported by ffmpeg eg: mpeg4/xvid/h264/mpeg2video>;
br=<bitrate>;
fps=<framerate>
w=<width>
h=<height>
arn=<aspect ratio numerator, eg 4 or 16>
ard=<aspect ratio demoniator, eg 3 or 9>


<audio format arguments> includes
f=<audio encoder supported by ffmpeg eg: aac/mp2/mp3/ac3>;
sr=<sampling rate in Hz>;
ch=<channels 1=mono 2=stereo>;
bsmp=<bits/sample>;
br=<bitrate>;


if you just specify [br=vid;][br=aud;] with no further parameters, that stream is copied with no encoding (remuxing)

If you miss out [br=vid;...], then only the audio stream will be in the converted file


Here are some transcoding parameters I created:

700kbit/s Mpeg4, deinterlaced, resized to 384x288 (half-res PAL) with 128kbit MP3, labelled as DIVX
Code:
transcoder/formats/MPEG4-PAL Low\ Res\ Deint\ AVI=f\=avi;MCompressionDetails\=-vtag DIVX -deinterlace;[bf\=vid;f\=mpeg4;br\=700000;w\=384;h\=288;][bf\=aud;f\=mp3;sr\=44100;ch\=2;br\=128000;]
same but resized to 320x240 (half-res NTSC)
Code:
transcoder/formats/MPEG4-NTSC Low\ Res\ Deint\ AVI=f\=avi;MCompressionDetails\=-vtag DIVX -deinterlace;[bf\=vid;f\=mpeg4;br\=700000;w\=320;h\=240;][bf\=aud;f\=mp3;sr\=44100;ch\=2;br\=128000;]
2Mbit deinterlaced 640x480 FLV with 128kbit MP3
Code:
transcoder/formats/FLV-High\ Quality\ Deinterlaced=f\=flv;MCompressionDetails\=-deinterlace;[bf\=vid;f\=flv;br\=2000000;w\=640;h\=480;][bf\=aud;f\=mp3;sr\=44100;ch\=2;br\=128000;]
Convert 4x3 letterboxed to 16x9 anamorphic PAL DVD-format
(Deinterlace, Crop top and bottom, resize back to PAL format. Set AR as 16x9.Re-encode as MPEG2 )
Code:
transcoder/formats/DVD-St\ Play\ ltrbox-to-ana=f\=dvd;MCompressionDetails\=-deinterlace -croptop 64 -cropbottom 64 -aspect 16\:9 -s 720x576;[bf\=vid;f\=mpeg2video;br\=6400000;fps\=25;w\=720;h\=576;vbr\=1;][bf\=aud;f\=mp2;sr\=48000;ch\=2;bsmp\=16;br\=384000;]
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 10-16-2007 at 01:21 AM.
Reply With Quote
  #8  
Old 10-15-2007, 05:09 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by cnovak View Post
Do any of these correspond to H.264 too?
AppleTV formats are h264
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #9  
Old 10-15-2007, 06:25 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Just as an addition to Nielms nice guide, here's a quick little reference as to what the existing SageTV profiles actually translate to on the command line.

http://perl2dvd.svn.sourceforge.net/...xt?view=markup
__________________
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)
Reply With Quote
  #10  
Old 11-01-2007, 02:32 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
I've checked the ffmpeg documentation, and to my admittedly unskilled eyes, I can't seem to find the answer I'm looking for.

When I encode to mp3, gspot shows it as CBR afterwards. I far prefer VBR if I could (or ABR?? not sure about that). Is there a way to specify ?

thanks

Cory
Reply With Quote
  #11  
Old 11-21-2007, 06:34 PM
camus camus is offline
Sage Aficionado
 
Join Date: Jun 2006
Posts: 357
I really like the AppleTV Widescreen setting for HD, quality to file size is great, only problem is it converts to stereo, does it/can you convert to AAC 5.1?
__________________
AMD Athlon 3000 |1GB Memory | eVGA 7600GS | 80GB, 300GB and 500GB SATAII | HDHomerun |Hauppage PVR-150 | SageMC 16x9 | Windows XP Pro.
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
Disabling audio compression davephan SageTV Software 1 11-12-2006 10:40 PM
Placeshifter Feature Request: Individual Settings Per Bookmark mayamaniac SageTV Placeshifter 1 11-02-2006 06:00 AM
Your DIVX Compression Settings mrcandu General Discussion 4 10-10-2006 03:40 PM
I would like to reset all SageTV 4.0 registry settings back to the original defaults mkanet SageTV Software 3 11-14-2005 07:03 PM
What compression settings are people using successfully (I have the PVR-250) jimbobuk SageTV Software 9 05-14-2003 04:39 PM


All times are GMT -6. The time now is 07:01 AM.


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