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 12-15-2011, 01:28 PM
wildgoose wildgoose is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: CA
Posts: 156
What format to archive recordings in?

I am beginning to accumulate TV recordings that I want to keep rather than watch and delete. I am wondering if there’s a better format to keep the recordings in to save HD space, and preserve the information about the recording SageTV displays in the UI too.

The current recordings are mpg files from an HDHomeRun tuner. They are about 4-5G for an hour of 1080i recording.

So do you post process the recordings if you want to keep them around? Or just buy a bigger HD?
Reply With Quote
  #2  
Old 12-15-2011, 01:43 PM
bkirk bkirk is offline
New Member
 
Join Date: Jun 2010
Location: Kingwood, TX
Posts: 4
I use VideoReDo to remove commercials and correct any stream errors followed by HandBrake to convert to H.264. The size of the final output will depend on what quality you're willing to live with. I can take a ~1.5 hour Formula One race down from 12000MB to about 600-700MB by downscaling to 700x400 and setting the average bitrate to 750kbps. If you leave the resolution at 1080 you'll probably want a bitrate over 1000kbps, and even at 1500kbps you're looking at around 1GB per hour of video.
Reply With Quote
  #3  
Old 12-15-2011, 03:02 PM
SWKerr SWKerr is offline
Sage Icon
 
Join Date: Jun 2008
Posts: 1,178
Do you intend to play them on any other device or just have a copy to play back in SageTV at a later date?

mp4 is probably the most commonly supported across all devices but many can not handle certain bit rates etc. I have never found anything that is perfect. If you have anything apple I would use mp4 but most other vendors play nice with other formats.

I would not cut out commercial myself as I often have errors in the comskip marking. It is probably 90% correct but that 10% may be important.

There are a number of easy to use options that are built into SageTV compression as well. You can test them and see if the quality is to your liking just make sure you check the keep the original recording until you have decided on a standard of your liking.

MediaShrink does a very good job. (search the forum) Just drag the file onto the executable and it runs. Lots of options but no GUI. I have never found something I think is perfect.
__________________

Retired SageTV in favor of Plex\Emby and YouTubeTV.
Reply With Quote
  #4  
Old 12-15-2011, 05:19 PM
wildgoose wildgoose is offline
Sage Advanced User
 
Join Date: Jan 2010
Location: CA
Posts: 156
Thanks for the suggestions. If I use handbrake to reprocess the videos, will it preserve the meta-data Sage keeps in the file? (things such as episode highlight, air date info, etc..), what about closed captioning?

When I re-installed sage on a clean new machine, it found the recordings and the info are there, so I assume it's encoded in the file somewhere. Preserving these info will be ideal.

I may need to playback the files on other devices, though right now I only have Sage HD300. Can you elaborate on how I can do the compressing in Sage itself?

Will try Handbreak..

Thanks!
Reply With Quote
  #5  
Old 12-15-2011, 06:27 PM
firenice firenice is offline
Sage Advanced User
 
Join Date: Jul 2010
Location: Houston, Texas
Posts: 139
Quote:
Originally Posted by wildgoose View Post
Thanks for the suggestions. If I use handbrake to reprocess the videos, will it preserve the meta-data Sage keeps in the file? (things such as episode highlight, air date info, etc..), what about closed captioning?

When I re-installed sage on a clean new machine, it found the recordings and the info are there, so I assume it's encoded in the file somewhere. Preserving these info will be ideal.

I may need to playback the files on other devices, though right now I only have Sage HD300. Can you elaborate on how I can do the compressing in Sage itself?

Will try Handbreak..

Thanks!
+1 on VRD (VideoRedo)
I archived shows from last season that averaged 3.5 to 5 GB each to less than a GB using VRD and a 3rd party program called VAP. Using a MKV profile at 1280x720 with an average bit rate of 2500 and max of 4000. Good thing about these mkv's is that I can transcode to mp4 or any other format when required. VAP will work with HandBrake also.

Good Luck
Mike
Reply With Quote
  #6  
Old 12-20-2011, 03:28 PM
bkirk bkirk is offline
New Member
 
Join Date: Jun 2010
Location: Kingwood, TX
Posts: 4
VideoReDo claims to preserve TiVo and BeyondTV meta-data, but doesn't say anything about SageTV meta-data. The top-of-the-line version of VRD can also do the conversion to H.264, so if it can handle the meta-data, that might be your all-in-one solution.

I'd be very surprised if HandBrake passed the meta-data on to the newly encoded H.264 file. In that case, your only hope is if SageTV updated the meta-data in the file from the wiz.bin database. Someone with a lot more SageTV experience than me will have to tell you if it will do that. I still haven't figured out how to see what meta-data is in the recording file in the first place.
Reply With Quote
  #7  
Old 12-20-2011, 03:37 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by wildgoose View Post
Thanks for the suggestions. If I use handbrake to reprocess the videos, will it preserve the meta-data Sage keeps in the file? (things such as episode highlight, air date info, etc..), what about closed captioning?
I'm not sure anything but an MPEG transport stream supports closed captioning.
Reply With Quote
  #8  
Old 12-21-2011, 07:53 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by bkirk View Post
I still haven't figured out how to see what meta-data is in the recording file in the first place.
use a hex editor and look at the end of the file... it should be stored in plane text there.... good luck finding an editor that can open multi gigabyte files though...
__________________
Server 2003 r2 32bit, SageTV9 (finally!)
2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast)
2x HD300, 1x SageClient (Win10 Test/Development)
Check out TVExplorer
Reply With Quote
  #9  
Old 12-21-2011, 04:21 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by razrsharpe View Post
use a hex editor and look at the end of the file... it should be stored in plane text there.... good luck finding an editor that can open multi gigabyte files though...
Standard linux hexump works fine, but its a bit awkward to figure out how many bytes to skip. Eg:

Code:
% hexdump -s 5023210550 -C /video/tv/PrimeSuspect-S01E09-AGorgeousMosaic-2724430-0.mpg | head
12b681c36  98 9f 11 ee 50 23 f8 06  f9 27 30 76 80 4c e1 23  |....P#...'0v.L.#|
12b681c46  a2 62 3b 0d fe 6d 57 51  d1 b1 3e e4 c3 32 13 4e  |.b;..mWQ..>..2.N|
12b681c56  a0 3f 19 c0 90 26 ff eb  82 68 02 12 c8 16 61 5c  |.?...&...h....a\|
12b681c66  13 3f f4 13 c0 10 96 40  bb 88 34 16 76 40 00 c1  |.?.....@..4.v@..|
12b681c76  a8 b3 83 4e 61 2c 41 83  51 80 0f 51 b0 26 00 1b  |...Na,A.Q..Q.&..|
12b681c86  40 1a 75 b8 1a 8c 00 00  01 be 02 c3 4d 45 54 41  |@.u.........META|
12b681c96  41 69 72 69 6e 67 44 75  72 61 74 69 6f 6e 3d 33  |AiringDuration=3|
12b681ca6  36 30 30 30 30 30 3b 41  69 72 69 6e 67 54 69 6d  |600000;AiringTim|
12b681cb6  65 3d 31 33 32 34 30 30  34 34 30 30 30 30 30 3b  |e=1324004400000;|
12b681cc6  48 44 54 56 3d 74 72 75  65 3b 43 43 3d 74 72 75  |HDTV=true;CC=tru|
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #10  
Old 12-26-2011, 08:27 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Quote:
Originally Posted by firenice View Post
+1 on VRD (VideoRedo)
I archived shows from last season that averaged 3.5 to 5 GB each to less than a GB using VRD and a 3rd party program called VAP. Using a MKV profile at 1280x720 with an average bit rate of 2500 and max of 4000. Good thing about these mkv's is that I can transcode to mp4 or any other format when required. VAP will work with HandBrake also.

Good Luck
Mike
Same here. I use MKV for all archiving, mainly due to it being the only h.264 container that preserves DTS audio.

Takes me about 30 to 60 seconds per show to ensure commercials are cut properly.
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
Tv recordings format nissse Batch Metadata Tools 8 11-20-2010 05:08 AM
HD Recordings in Proprietary Format? jkohn SageTV Software 10 10-11-2006 09:19 PM
importing other TV recordings into archive Belgrath SageTV Customizations 1 09-29-2006 09:21 AM
what format are sage recordings aoehlke General Discussion 2 05-12-2005 02:06 PM
How to move shows from the archive back to SageTV Recordings Opus4 SageTV Software 1 08-24-2004 07:09 PM


All times are GMT -6. The time now is 02:13 AM.


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