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.)

View Poll Results: Should SageTV record into an MKV container?
Yes. MKV would provide so many new features to the base sage product. 17 32.69%
I suppose. Though it wouldnt' change anything for me 15 28.85%
No.. change is bad.. mkay? 13 25.00%
MK-who? 7 13.46%
Voters: 52. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-17-2009, 06:03 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
QUESTION: Is it time for a new container?

I've been brainstorming a bit lately about sage, and how it is working, and some common problems people have with it. One, it seems, is the dependance on the wiz.bin file. I understand the need for having a central database for this information, for performance reasons, but it's downside is obvious. I'm curious, with the current work on extending the features and capabilities of the recording and playback filters, if thought has been given to moving sage's recordings into a different, more capable container format - one that could easily support all the formats currently in use by sage (like the current MPEG2-TS container does) but also the ability to store robust metadata in the file.

I'm not saying sage should use this metadata as the primary source, as that would definately hurt performance. But, I do think it makes sense to have this information in the recording files, so that when the wiz.bin inevetably goes south, the data can be rescanned back in to repopulate a NEW wiz.bin, instead of restoring an older backup that may contain further un-found errors. This, combined with redownloading the guide data would allow the wiz.bin's loss to be relatively painless.

So, what do the experts think?

Fuzzy.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room

Last edited by Fuzzy; 10-17-2009 at 06:06 AM.
Reply With Quote
  #2  
Old 10-17-2009, 07:27 AM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
I was actually thinking something similar last night.

I am not sure if the benefits of using mkv for recording are that great but I SageTV should at least provide an mkv format in the "Convert" feature.

That would allow post recording conversion to mkv for those who need it.
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2
3 x HD300s
Reply With Quote
  #3  
Old 10-17-2009, 07:51 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Thre are plenty of tools to convert to mkv. However, I don't think that really gains you all that much (people are either converting to H.264, to save space, or converting to another format for a portable device, which already IS supported, and wouldn't use mkv anyways). To me, the only advantage of going to a more robust container is to actually use the more advanced features. If all your going to have in it is video and audio, there's nothing wrong with MP2TS files. They do that perfectly fine, and very efficiently. I really think there needs to be a standardized way for sage to store metadata IN THE FILE.. which m2ts cannot do... but mkv can. This really needs to be written when the file is created, which is why i believe it needs to be done as the main recording format from sage.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #4  
Old 10-17-2009, 08:25 AM
SWKerr SWKerr is offline
Sage Icon
 
Join Date: Jun 2008
Posts: 1,178
I have found that the current recording formats are well supported across a number of different platforms and software so I am good with them. Not sure what any change would do for me.

I was using mkv for my movie collection for awhile but have recently started putting everything in a m2ts container. I am really just putting everything in h.264 at this point and the m2ts seems to have great support across in the market. (I am guessing because of BluRays.) Once the video file is in h.264 I have found it relatively easy to switch to mkv or mp4.
Reply With Quote
  #5  
Old 10-17-2009, 08:47 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Yeah, I don't think there's any reason to record to MKV, I don't think it gains you anything. As far as metadata goes, mpeg-ts supports a ton of supporting data. There's the whole PSIP strucuture that OTA broadcasts use to deliver both information about the current program, and program guide data. Also, IIRC BTV put metadata in standard mpeg-ps files.

Personally I think it would be a mistake to record to an essentially computer only, "underground" format when they can just as easilly record to a 100% industry standard container.
Reply With Quote
  #6  
Old 10-17-2009, 08:55 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
well, if m2ts/ps would support the metadata, then they REALLY need to start using that capability. Using an undescribed file with just a practically randomly generated id number in the filename that points to a spot in a historically unreliable database is hardly a practical method.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #7  
Old 10-17-2009, 09:48 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
I'm not sure what you're doing with your wiz.bin but I've been running Sage since 2003 and I had 1 bad wiz.bin that was corrupted from a hard down with a power outage. Previous day backup fixed that. (and that is with running all the betas.)
If I wanted the metadata stored with the file I probably would have moved to Windows Media Center. But with tools like BMT, imdb plugin, DVDProfiler plugin, nielm's webserver I already have the alternatives in place for retrieving and keeping that metadata.
To me the database format doesn't matter because it is all back-end work. As long as Sage has its APIs and those keep improving I'm pretty sure Sage can keep up with the rest. Ansd I also think the plugin developers here help push that envelope with Sage. Look how quick they responded to support EP's UpnpPodcast with Hulu. Netflix and sub-categories within the core product.
For me I don't see another container buying me anything and support for the standards out there just continues to work fine. I like change as much as the next person but it has to get me something more than I already have. I do look forward to see what Ortus and other projects bring to the table.
I voted no. Not because change is bad but this change wouldn't really get me anything, in my opinion.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 10-17-2009 at 09:51 AM.
Reply With Quote
  #8  
Old 10-17-2009, 10:34 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Like Gerry, I take exception to the idea that Wiz.bin failure is inevitable. I've never lost a Wiz.bin other than to hard drive failure (and even then was able to restore a working copy from backup).

That said, if you want to keep a backup copy of the metadata outside of Wiz.bin, Nielm's XML generator does that nicely, and his web server allows re-importation of those files into Wiz.bin. So the tools already exist to do what you want without changing file formats.

I did not actually vote since "change is bad" doesn't really describe my position. I just don't think this particular change is a productive use of the devs' time.
__________________
-- Greg
Reply With Quote
  #9  
Old 10-17-2009, 12:16 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by GKusnick View Post
I did not actually vote since "change is bad" doesn't really describe my position. I just don't think this particular change is a productive use of the devs' time.
I did, but only because I took as a not-optimally worded "No I don't think a new recording container is necessary".

And I to have had a single wiz.bin for ages.
Reply With Quote
  #10  
Old 10-17-2009, 01:54 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I 100% agree. While I know its easy enough to backup wiz.bin (and I do it weekly), but heres how I see it: wiz.bin has no chioce but to useless without the recordings but there's no reason the recordings have to be useless without wiz.bin.

As for recording straight into a new format, I personally could go either way. It'd really all depend on how easy it would actually be to record straight into a more advanced format for Sage. And I wouldn't worry about the tools for handing those recordings in the new format, writting something to convert the recordings back to mpeg2 so you could process them with your normal workflow would be cake.

Last edited by evilpenguin; 10-17-2009 at 01:56 PM.
Reply With Quote
  #11  
Old 10-17-2009, 04:31 PM
SWKerr SWKerr is offline
Sage Icon
 
Join Date: Jun 2008
Posts: 1,178
I would much rather have a file format where the Metadata was embedded in the file. That way the format and changes can be easily shared between systems.

Wouldn't it be nice if when you recorded you shows in sage the description info appeared in iTunes or the Zune player. Now with my music collection I maintain the tag into in iTunes and it magically shows up in Sage when I import it.

I would much rather have the metadata in the file or an associated file than having it exclusively stored in the wiz.bin. Transportable metadata would be great.
Reply With Quote
  #12  
Old 10-17-2009, 07:57 PM
nick_l's Avatar
nick_l nick_l is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pgh, PA
Posts: 257
file+metadata=win!

I voted yes, not so much for the specific container, but to the concept of metadata being kept with the file. Imo, metadata should always, always, always be kept with the file! One of the reasons I chose Sage was no drm, and thats great, but let's make it a usefull non-drm'd file. If I take a file outside of sage I'm left with a filename that may or may not tell me what the episode is and a random number that I can't even go and reference somewhere else.

I do understand the need for Sage to keep some info in a propritairy format. After all, they are a for profit company and the difficulty of getting certain info out of Sage and into another program easily (ie. favorites lists) is what helps to keep people from jumping around, at least in some small way. But the media files that Sage generates should be complete and portable files, with complete information included. Heck, even Apple is including metadata within all of it's files now (or so I'm told, I wouldnt go near it with a ten foot pole, personally).

That's my opinion anyway,
Nick
Reply With Quote
  #13  
Old 10-17-2009, 11:36 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by gplasky View Post
I'm not sure what you're doing with your wiz.bin but I've been running Sage since 2003 and I had 1 bad wiz.bin that was corrupted from a hard down with a power outage. Previous day backup fixed that. (and that is with running all the betas.)
Quote:
Originally Posted by GKusnick View Post
Like Gerry, I take exception to the idea that Wiz.bin failure is inevitable. I've never lost a Wiz.bin other than to hard drive failure (and even then was able to restore a working copy from backup).
Those are perfect examples of what I'm talking about. Those ARE the situations that end up damaging the wiz.bin files. And they DO happen (as you have just confirmed). The problem is, Sage's built-in backup mechanism is inadequate, as it usually results in the backup being overwritten with the bad file, when you inevitably restart to figure out why something isn't right. Sure, you can keep 10-30 days of sequential backups of the wiz.bin file, but:
1. That's not built into sage, and if it is that important, SHOULD be.
2. Wouldn't it be better if the data was backed up IN THE FILE? Aside from the other advantages of this, such as metadata portability. In your circumstances that caused your damaged wiz.bin's, how many of your video files got corrupted? And if they DO get corrupted/lost, there's no need for the metadata anyways.

The argument that it isn't needed because you prefer to keep your own backups and manually restore doesn't seem to make sense to me.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #14  
Old 10-18-2009, 01:12 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by Fuzzy View Post
The argument that it isn't needed because you prefer to keep your own backups and manually restore doesn't seem to make sense to me.
Of course I prefer to make backups of important files. This has nothing to do with Sage or Wiz.bin; it's just common sense. Disk failures happen, but that's not an argument for requiring a special backup mechanism just for Wiz.bin; it's an argument for including Wiz.bin in your general system backup procedures.

Now there may be other valid reasons for wanting metadata stored in the recording files. I just don't find the alleged fragility of Wiz.bin to be a particularly compelling one.
__________________
-- Greg
Reply With Quote
  #15  
Old 10-18-2009, 04:05 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
In my example it wouldn't matter what database file was being used, wiz.bin, sql, oracle, mysql, postgreSQL, firebird, etc. Database and other types of file can get corrupt especial if the OS does not shutdown gracefully. Backups are a necessity based on what you think you can afford to lose. The wiz.bin contains other info, historical info that I don't think you are going to want to keep in files individually, i.e watched, station recorded from, like, don't like, etc that makes the most sense to be contained in a central database so it can be sorted quickly. We don't keep our recordings forever. We usually watch and within the month delete them. Without a central database that info would be lost without keeping all the files.
Now it would be nice if there was a standard like the ID3 music tags, let's call it ID4 for video files. But add it to the standard file formats just like it has been added to the different music file formats. I don't think it takes a another type of container to do it.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #16  
Old 10-18-2009, 06:38 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I think your missing where i'm going with this Gerry. I'm not talking about a replacement to the wiz.bin. I am talking about metadata being stored in the files, just like you seem to want with the ID4 proposal. And no, I'm not talking about watched status, history, etc. I'm just meaning the non-dynamic show inforamtion. title, episode, description, cast/crew, etc. THAT is they stuff that hurts to lose when teh wiz.bin goes south. Yes, someone COULD develop a standardized form of metadata to be placed in the M2TS, TS, MPG, whatever Mpeg container you choose, and attempt to get the MPEG to approve it... But wouldn't it be easier to just switch to a container format that already supports robust metadata, like MKV?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 10-18-2009, 08:29 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Fuzzy View Post
I think your missing where i'm going with this Gerry. I'm not talking about a replacement to the wiz.bin. I am talking about metadata being stored in the files, just like you seem to want with the ID4 proposal. And no, I'm not talking about watched status, history, etc. I'm just meaning the non-dynamic show inforamtion. title, episode, description, cast/crew, etc. THAT is they stuff that hurts to lose when teh wiz.bin goes south.
How often does your wiz.bin go south, really? But I think Gerry's point was this, IMO the above info is not what "really hurts" to lose, that's all "easy" to recover with online searches. The stuff that would be a real loss is your watched history, likes dislikes, all the stuff that as you say, has no place tied up inside a recording.

Sounds like Gerry and I use Sage similarly, recordings never really stick around that long. I usually watch any recording within a couple days (heck usually within a day) and it gets deleted.

So I don't see how this would be of any real benefit, at least not for those who use Sage like Gerry and I.

Quote:
Yes, someone COULD develop a standardized form of metadata to be placed in the M2TS, TS, MPG, whatever Mpeg container you choose, and attempt to get the MPEG to approve it... But wouldn't it be easier to just switch to a container format that already supports robust metadata, like MKV?
But that container is harder to work with. Less well supported.
Reply With Quote
  #18  
Old 10-18-2009, 09:59 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by stanger89 View Post
The stuff that would be a real loss is your watched history, likes dislikes, all the stuff that as you say, has no place tied up inside a recording.
I guess everyone works a little differently but I don't give a damn about watched history, likes or dislikes. A lot of my shows are kids' shows and they will watch the same show a thousand times. When it comes to my shows a lot of them are sports and if I don't watch them right away I will delete as there is no point in keeping them around. Most of the stuff I record I will know if I have seen it before and often I don't care because I am interested in watching it again. I have seen every Seinfeld many times so I if "The Contest" has been watched - that is irrelevant to me.

But I do see lots of value in storing metadata with the media file. But I am not sure that I want everything in a less supported media type like MKV/H.264 until we get decent support for those files in other programs like VideoReDo, etc.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #19  
Old 10-18-2009, 10:09 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
The watched history, like and dislike is the most important for me. I watch and delete. If I want a series I buy the DVD so meta data to me is not that important... but one thing I don't want is to record a series or show I have already watched and lose one that I have not watched because there is no watched history.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #20  
Old 10-19-2009, 01:08 PM
jlmdxtv jlmdxtv is offline
Sage Advanced User
 
Join Date: Oct 2005
Location: PA
Posts: 182
Thumbs up

I'm desperately trying to keep all of my recordings to mpg format. I haven't bothered with HD-PVR because it doesn't record in mpg. I'm also not open to the time involved in converting files because I watch them once, often skipping through them and immediately deleting them.

I'm stuck on mpg because for me WINDVD7 is the best video player out there. It plays with sound at faster playback speeds (better than VLC) so I can really zip through all the crap and sports I'm recoding. (I know WINDVD9+ does other formats too but I've had little luck with anything but mpg).

BTW: my Wiz.bin has never crashed.

john
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
Subtitle support in mp4 container with 6.5.4? dvd_maniac SageTV Beta Test Software 10 07-27-2010 06:38 PM
Compressed Container that preserves DVD like menus wrems The SageTV Community 2 09-11-2009 04:03 PM
Audio tracks switching works also for mp4 container bastafidli SageTV Beta Test Software 0 01-09-2009 11:16 PM
Which video container is best, AVI, MKV, MP4... jvl711 SageTV Media Extender 40 04-16-2008 08:56 AM
Support for the new DIVX container?? edbmdave SageTV Software 0 11-05-2005 08:12 PM


All times are GMT -6. The time now is 05:51 PM.


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