SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-14-2006, 11:15 AM
chip douglas chip douglas is offline
New Member
 
Join Date: Dec 2006
Posts: 2
Automated batch encoding?

Im new to SageTV and was wondering if its possible to do realtime XviD batch encoding?
Example:
Splits live stream into 5 minute segments
Does 1st pass on segments untill last segment
Then combines segments and does 2nd pass
Reply With Quote
  #2  
Old 12-14-2006, 12:29 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
The SageMC STV has a feature where it will automatically encode a show for you once its done recording. That's kinda close.
__________________
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
  #3  
Old 12-14-2006, 03:55 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
See my mad postings here:
Overnight Conversion MPG to XviD

Works perfectly for me.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #4  
Old 12-18-2006, 09:43 AM
chip douglas chip douglas is offline
New Member
 
Join Date: Dec 2006
Posts: 2
Quote:
Originally Posted by rickgillyon
See my mad postings here:
Overnight Conversion MPG to XviD

Works perfectly for me.
That would be good for recording and letting it encode overnight, but what im trying to do is encode 2 pass XviD close to realtime encoding.It would be impossible to do realtime without an XviD hardware decoder/encoder(If they even exist)And that can only be 1 pass cbr encoding.So my theory is splitting the recording into (example) 5 minute files.Single pass encoding those files as they are created.Once you are done recording,and single pass encoding is done to the last file,they get combined, and 2nd pass encoding starts.
Reply With Quote
  #5  
Old 12-18-2006, 02:49 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Wow, you're even crazier than me...
Don't even want to think about that one, but I suppose you could have something running every five minutes to chop the file etc. I suspect you'll be on your own though.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #6  
Old 12-18-2006, 03:13 PM
lobosrul's Avatar
lobosrul lobosrul is offline
Sage Expert
 
Join Date: Aug 2005
Location: Albuquerque, NM
Posts: 573
In reality two pass encodes are done in real time... sorta. Try doing a 2 pass encode, wait a few seconds, then open the output with VLC player. You will get (crappy looking) video and sound playback. Then wait until the 2nd pass has started, and you will see much better quality video. Dont even try this with WMP it will say the file is in use.

But, your way better off just doing a failry high bitrate single pass.
Reply With Quote
  #7  
Old 12-20-2006, 08:29 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by chip douglas
That would be good for recording and letting it encode overnight, but what im trying to do is encode 2 pass XviD close to realtime encoding.It would be impossible to do realtime without an XviD hardware decoder/encoder(If they even exist)And that can only be 1 pass cbr encoding.So my theory is splitting the recording into (example) 5 minute files.Single pass encoding those files as they are created.Once you are done recording,and single pass encoding is done to the last file,they get combined, and 2nd pass encoding starts.
Even if it were possible, and theoretically there is no reason why it wouldn't be, you would have major sound sync problems. Audio streams and video are seperate streams and each segment introduces small variations in synch that over an hour would be impossible to manage. Basically you need a frameserver to pass video segments to the media player in a way that the media player thinks its just one file, but in reality its seperate AVI chunks. With a fast enough CPU, you can conceivable do it except I am sure the audio synch will be a challenge.

Get a seperate computer on your network, even a cheap lowend PC and let it run off you network. It doesn't need to be realtime since it doesn't have to compete for processing power. Once you archive your AVI you can watch it later. If you're in a hurry to watch the TV show realtime, then watch the uncompressed mpeg2 and compress it later for archiving. I don't see the point behind real-time conversion.

PS- Lobosrul is right that there is nothing wrong with CBR 1 pass, as long as you don't mind having a larger file size.

Last edited by roxy99; 12-20-2006 at 08:36 AM.
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


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


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