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 02-21-2013, 10:38 PM
timg11's Avatar
timg11 timg11 is offline
Sage Aficionado
 
Join Date: Sep 2008
Posts: 472
How fast is the built in convert function?

I'm testing the built in convert function. I'm converting a 1/2 hour MPEG2 show (1080i) from the HD HomeRun to High Quality H.264 MKV.

The conversion process (SageTVTranscoder.exe) has been running at 100% CPU on two cores for about an hour.

There is a tmp file in the shows folder that is about 700Mbytes at this point in time.

Typically a 1/2 hour show in H.264 from the HD-PVR is about 1.8G, so I'm guessing it is about halfway done.

Is 25% of real time the expected conversion rate? Is there anything that can be done to accelerate the process? (I know converting at lower resolution or upgrading the hardware would help - I'm asking about configuration changes or alternatives to the transcoder).

Also, is there any way to monitor status or cancel the conversion once you start it from SageTV and click "continue using SageTV"?
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT.

Last edited by timg11; 02-21-2013 at 10:43 PM.
Reply With Quote
  #2  
Old 02-22-2013, 06:07 AM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Quote:
Originally Posted by timg11 View Post
Is there anything that can be done to accelerate the process?
Short of getting a faster computer...no. There has been talk about rewriting the transcode service on this forum but nothing has been released as of yet. The source code is open source and it is based on a modified version of ffmpeg (an older and less efficient version).

Quote:
Originally Posted by timg11 View Post
Also, is there any way to monitor status or cancel the conversion once you start it from SageTV and click "continue using SageTV"?
Under the video menu, click on video conversions.
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #3  
Old 02-22-2013, 11:56 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
the converter inside Sage, I find, is relatively slow, but not outrageously so. I use Handbrake mostly, since it retains 5.1 audio in addition to a stereo track, and to convert a two-hour film to a 1280/720 resolution file (Apple TV) takes around three hours. Less time if you convert to a lower resolution
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #4  
Old 02-22-2013, 11:58 AM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
SageTVTranscoder.exe is basically ffmpeg, and you can play with the various command line options in the Sage.properties file if you want to adjust how it's working.
Reply With Quote
  #5  
Old 02-22-2013, 01:59 PM
timg11's Avatar
timg11 timg11 is offline
Sage Aficionado
 
Join Date: Sep 2008
Posts: 472
tvmaster2, thanks for the tip. I was not aware the the built in converter lost the 5.1 audio. I'll look into Handbrake. Can you offer any tips on settings or options for MPEG2 to MP4 conversion with Handbrake?
__________________
HD300 extender with (2020 New Build) SageTV 64 bit V9.2.2.903 (service mode), Running on Windows 10 (64 bit), Intel Core i7-10700K CPU, 16G RAM, GIGABYTE Z490 UD motherboard. NVidia GTX1650 Super; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun HDHR5-4US tuner, Hauppauge "Siena" 1512 HD-PVR2 connected to Cisco Cable modem from Spectrum, tuned with USB-UIRT.
Reply With Quote
  #6  
Old 02-22-2013, 03:59 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by timg11 View Post
tvmaster2, thanks for the tip. I was not aware the the built in converter lost the 5.1 audio. I'll look into Handbrake. Can you offer any tips on settings or options for MPEG2 to MP4 conversion with Handbrake?
all of the Apple TV profiles automatically set up a second audio channel under the "audio" tab; first, the mixed down stereo that Apple devices need, and second, the AC3 DD passthrough that is your 5.1 audio.

When playing these re-coded files in Sage, you then have to manually select
the second audio "language" from a menu for the 5.1 playback.
This is because the Apple devices need to see the stereo feed first to play back any audio at all (Apple not capable of choosing beween tracks?).

you can also manually add any number of audio tracks if you don't like the Apple presets. Select the audio tab in Handbrake, choose the audio track you want to insert from the drop-down menu to the left (if it's a Sage recording, there's likely only a 5.1 track listed), and then select "add track" (just above the drop-down item). Then click the drop-down menu above "audio codec", and you'll see a selection of what kind of audio you want to create - AC3 passthrough is the one I use for DD 5.1

You can resize the screen resolution to whatever you want, as the audio engine works independantly. For SD shows, since there's no 5.1 audio anyway, you'll just need one audio track. For HD programs, you can save alot of space by using lower resolutions like the preset for "iPhone & iPod Touch". I use that for shows that I just keep for old times sake, like the last episode of a TV series, or a news item I want to keep, or just for being able to play on older devices. A 2-hour movie can come down 8 gigs to under 1 gig this way.
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #7  
Old 02-22-2013, 04:15 PM
HuMan321's Avatar
HuMan321 HuMan321 is offline
Sage Aficionado
 
Join Date: Apr 2009
Location: Idaho
Posts: 365
What format in the Sage Transcoder gives the best bang for the buck on a tablet? (Mine is HP Touchpad running Android)
Thanks,
Reply With Quote
  #8  
Old 03-22-2013, 06:51 PM
jgs14 jgs14 is offline
Sage User
 
Join Date: Dec 2007
Posts: 23
After much experimenting, I added the following to my Sage.properties file. It converts to a H.264 MP4 in SD while preserving AC3 audio as passthrough. Plays well on PS3 (although SD, of course):

Code:
transcoder/formats/MPEG4-High\ Quality\ H.264\ MP4=f\=mp4;MCompressionDetails\=-coder 1 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -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 2 -directpred 1 -trellis 1 -flags2 +bpyramid+mixed_refs+wpred+dct8x8+fastpskip -wpredp 2 -rc_lookahead 30;[bf\=vid;f\=h264;br\=2000000;w\=848;h\=480;fps\=29.97;][bf\=aud;]
The biggest problem with this approach seems to be that SageTranscoder's deinterlace filter is somewhat poor so you get bluring of motion. Probably not as big of an issue on a tablet size screen, however.

Last edited by jgs14; 03-22-2013 at 06:55 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
Commercial skip built in?? Petrucci SageTV Software 3 12-12-2009 03:33 PM
Built in EPG Problem jwarder SageTV EPG Service 3 06-02-2007 03:15 PM
Pre-built or build your own? jettman Hardware Support 13 04-18-2006 01:16 PM
v3.0.7 built in plugins? camTexas SageTV Beta Test Software 6 09-18-2005 07:56 PM
Built in Webserver??? Cayars SageTV Beta Test Software 4 01-24-2004 09:43 AM


All times are GMT -6. The time now is 10:44 PM.


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