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 01-14-2014, 10:46 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Video Conversions on Client

Is there a way to have SageTV run video conversions on a client? I ask because my SageTV server system is only a dual core whereas my client is quad core. It would be nice to be able to have the conversions run on the client system rather than bogging down my slower server.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #2  
Old 01-14-2014, 12:34 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Nope ... unless you use an external transcoder (Handbrake) and delete and replace the file.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #3  
Old 01-14-2014, 12:48 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by nyplayer View Post
Nope ... unless you use an external transcoder (Handbrake) and delete and replace the file.
The funny part is SageTVTranscoder.exe is part of the client package. I ended up using Process Explorer to get the full command-line that SageTV uses for my chosen profile.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #4  
Old 01-15-2014, 01:54 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Taddeusz View Post
The funny part is SageTVTranscoder.exe is part of the client package. I ended up using Process Explorer to get the full command-line that SageTV uses for my chosen profile.
Here is a sample of my batchfile.

MPEG4 HDTV-Good Quality H.264 MKV.bat

Code:
rem******* 0=no 1=yes*******
set DelOriginal=0
Set CheckforEDL=0
rem******* 0=no 1=yes*******

if %CheckforEDL% EQU 1 if not exist "%~d1%~p1%~n1.edl" exit 1
if not exist "%~d1%~p1tmpEncode" md "%~d1%~p1tmpEncode"

Rem************** Transcoder Options ************************************************
"C:\SageTVClient\SageTV\SageTVTranscoder.exe" -v 3 -y -threads 2 -sn -vsync 1 -async 100 -stdinctrl -i "%~f1" -threads 5 -f matroska -vcodec libx264 -b 1500000 -s 720x480 -r 29.97 -acodec ac3 -ac 2 -ar 48000 -ab 192000 -aspect 16:9 -coder 1 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4-partp8x8-partb8x8 -me_method dia -subq 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 3 -refs 1 -directpred 1 -trellis 0 -flags2 +bpyramid-mixed_refs+wpred+dct8x8+fastpskip-mbtree -wpredp 0 -rc_lookahead 0 -priority BELOWNORMAL "%~d1%~p1tmpEncode\%~n1.tmp"
Set transcoderror=%ERRORLEVEL%
Rem************** Transcoder Options ************************************************

if %transcoderror% NEQ 0 del "%~d1%~p1tmpEncode\%~n1.tmp"
if %transcoderror% NEQ 0 exit 1
if %transcoderror% EQU 0 "C:\SageTVClient\SageTV\touch.exe" -r "%~f1" "%~d1%~p1tmpEncode\%~n1.tmp"
if %transcoderror% EQU 0 move "%~d1%~p1tmpEncode\%~n1.tmp" "%~d1%~p1%~n1.mkv"
if exist "%~f1.properties" if %DelOriginal% EQU 1 if %transcoderror% EQU 0 move "%~f1.properties" "%~d1%~p1%~n1.mkv.properties"
if exist "%~f1.xml" if %DelOriginal% EQU 1 if %transcoderror% EQU 0 move "%~f1.xml" "%~d1%~p1%~n1.mkv.xml"
if exist "%~f1.properties" if %DelOriginal% EQU 0 if %transcoderror% EQU 0 copy "%~f1.properties" "%~d1%~p1%~n1.mkv.properties"
if exist "%~f1.xml" if %DelOriginal% EQU 0 if %transcoderror% EQU 0 copy "%~f1.xml" "%~d1%~p1%~n1.mkv.xml"
if %DelOriginal% EQU 1 if %transcoderror% EQU 0 del "%~f1"
exit 0
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
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
Video Conversions on Sage Server now trigger ESXi reboot WellThen Hardware Support 6 11-02-2013 12:47 PM
Conversions - Video to Audio rickgillyon SageTV Software 18 05-05-2011 09:23 AM
Working Folder for Video Conversions foleyma SageTV Software 2 04-19-2011 06:04 AM
Video Conversions Stopped Working squeed SageTV Software 2 01-09-2009 10:45 AM
Disable video conversions? dexterdom SageTV Software 3 03-17-2007 05:52 AM


All times are GMT -6. The time now is 03:12 PM.


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