SageTV Community  

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


SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Thread Tools Search this Thread Display Modes
Old 08-18-2008, 03:35 PM
lobosrul's Avatar
lobosrul lobosrul is offline
Sage Expert
Join Date: Aug 2005
Location: Albuquerque, NM
Posts: 573
Arrow Utility: Batch MKV AR Fixer For STX-HD100

This is a batch utility to correct the aspect ratio of multiple anamorphic h.264 mkv files on the STX-HD100 extender easily. This is caused by mkvmerge not keeping the stream's AR info, and the STX-HD100 ignoring the containers value.

While it was already possible to fix them, it took multiple steps with multiple utilities. No problem if you had a handful of mkv's to fix, but a giant PITA if you're like me and have several hundred.

It can be found here:

See: for more details.

Copy of the included readme follows:
A) Purpose
	An automated (batch) process to correct the aspect ratio of anamorphic h.264 streams on certain hardware players (ie SageTV STX HD-100) using tsmuxer, mp4box and mkvmerge.
	All audio and subtitle streams are copied.
B) Installation
	1) Unzip to any folder you like
	2) You must have mkvmerge installed!
C) Usage
	1) Command-line
	 	sarfixer.exe input_file sar_value fps Example: sarfixer.exe "an input file" 40:33 23.976
	2) From queue
		edit the file "tobefixed.txt" with a different mkv file on each line, there are two examples already there.
		The default FPS is 25
D) Notes
	1) This has only been tested with mkv's but it may work with mp4's and avi's.
	2) On choosing correct SAR values:
		See "SAR VALUES.txt" and choose the correct number based on what type of DVD you encoded. 
		ITU values are genreally correct if there is more than 2 black lines on either side.
		Experiment to see which one looks best.
	3) The final output is placed in the input directory with the "SAR_FIXED" added to the end of the file. The original is not over-written.
Reply With Quote

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
Automated VideoRedo (DOS batch files) grauchy SageTV Customizations 3 09-08-2011 10:01 PM
HD100 playback issues jprine01 SageTV Media Extender 5 08-10-2008 10:26 AM
Video Orbit on HD100 Razillian SageTV Beta Test Software 2 06-07-2008 01:10 PM
Another HD100 first install report mikesm SageTV Media Extender 6 03-21-2008 10:21 PM
MKV File Support in SageTV Narflex SageTV Beta Test Software 28 12-14-2007 09:47 AM

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

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