MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2006-01-07, 10:36   #1 (permalink)
Retired Team Member
 
Join Date: Sep 2004
Location: Wellington
Posts: 346
Thanks: 0
Thanked 2 Times in 1 Post

Country:

My System

Default Guide: Record to MPG & stream Live TV (AutoDVRConvert)

Two problems have plagued Media Portal users since the dawn of time; the inability to record to MPG instead of DVR-MS, and no way to stream live TV. While this is in no ways a perfect solution for all, it is a rather nifty work around.

AutoDVRConvert lets you convert DVR-MS files to MPG. Quite plain, except for one feature - it can do it in real time. This means as soon as you begin recording a program in Media Portal, it is creating a MPG file at the same time, the same size, the same length.

So that’s one plus, recording in real time to MPG.

The second thing you can do with an MPG file created in real time is watch it with VLC while it is still being created. This means you can open that MPG file on another computer on the network and watch the file as it is being recorded, effectively a live TV stream.

I’m sure you can pause and skip around the file, but I’ve only tried watching it to see that it works. This won’t work in programs like Windows Media Player, Quicktime or Real Player as they can’t open a file that is in use by another program. As I said, VLC works, and I’m sure you’d have some luck with other alternative players.


1. Download AutoDVRConvert. You can extract this anywhere on your hard drive, I put mine in my Team Media Portal folder as it’s a good place to keep odds and ends close to hand.


2. Open AutoDVRConvert and configure it. You can see my settings from the screenshot below.



You can choose to delete the DVR-MS file once you’ve finished conversion. If a converted MPG file is deleted but not the original DVR-MS file, AutoDVRConvert will create another MPG copy.


3. Choose a DVR-MS to MPG graph. Unfortunately neither of the included graphs worked for me, so I created my own with GraphRenderer. If you want you can use my graph, paste it in to a Notepad document and save it in the same directory as AutoDVRConvert.exe as an .xgr file (My MPG.xgr in my case). Select it from the drop down list, this only detects files in the same directory.

Code:
<GRAPH version="1.0">
	<FILTER ID="Cyberlink_Dump_Filter" clsid="{3E8868CB-5FE8-402C-AA90-CB1AC6AE3240}">
		<PARAM name="src" value="D:\Recorded TV\Test.mpg"/>
	</FILTER>
	<FILTER ID="CyberLink_MPEG_Muxer" clsid="{BC650178-0DE4-47DF-AF50-BBD9C7AEF5A9}">
	</FILTER>
	<FILTER ID="DVR_Source_0" clsid="{C9F5FE02-F851-4EB5-99EE-AD602AF1E619}">
	</FILTER>
	<connect direct="yes" src="DVR_Source_0" srcpin="DVR Out - 1" dest="CyberLink_MPEG_Muxer" destpin="Audio In"/>
	<connect direct="yes" src="DVR_Source_0" srcpin="DVR Out - 2" dest="CyberLink_MPEG_Muxer" destpin="Video In"/>
	<connect direct="yes" src="CyberLink_MPEG_Muxer" srcpin="Output" dest="Cyberlink_Dump_Filter" destpin="Input"/>
</GRAPH>
I used the CyberLink MPEG Muxer and Cyberlink Dump Filter in my graph, both are likely already on your system - if not there are copies included in the downloaded AutoDVRConvert zip.

4. Start the converter. It’ll now start humming through the DVR-MS files in the input directory and any programs recording, it really doesn’t take long to convert the files.


Do more with your TV™
Record to MPG & stream Live TV (AutoDVRConvert)
Automated Ad Removal (DVRMS Toolbox)
Automated compression after x days (Crunchie)
Manually crop DVR-MS length and remove ads (DVR Edit)
__________________
My HTPC | Wiki Page for New Zealanders

Brocklander is offline   Reply With Quote
Old 2006-01-07, 11:10   #2 (permalink)
Retired Team Member
 
Join Date: Sep 2004
Location: Wellington
Posts: 346
Thanks: 0
Thanked 2 Times in 1 Post

Country:

My System

Default

Thought I'd explain my setup, it's a little different.

I like to keep the DVR-MS files around for a while to use in Media Portal’s Recorded TV, and also remove the ads over night. So my schedule (once I buy another hard drive) will look something like this…

i. A program is recorded, AutoDVRConvert creates an MPG copy so the show can be watched live from any computer (we have 7 networked computers between 6 people in our flat).

ii. Just after midnight DVRMS Toolbox runs, removing the ads from DVR-MS files in the recorded TV directory (see my guide).

iii. Several hours after that, the following batch file deletes all files in the directory the MPG files created by AutoDVRConvert are stored in. AutoDVRConvert then recreates them from the latest DVR-MS files - this way any shows that have been deleted from within Media Portal are removed, and the new MPG files have their ads removed.

Code:
del /q D:\Recorded TV\Stream\*.*
iv. Another day or two after that (I have to find out how much drive space all this is going to use) Crunchie compresses then deletes any DVR-MS files older than several days (see my guide). The above mentioned batch file cleans out the MPG files and those with deleted DVR-MS files aren’t recreated.

A little over the top, but I want to keep recorded programs in Media Portal’s Recorded TV database for viewing on the TV and full quality streamable files for a few days before compressing. We have 3 Macintosh computers that can’t view DVR-MS files, so the MPG versions are a necessity.
__________________
My HTPC | Wiki Page for New Zealanders

Brocklander is offline   Reply With Quote
Old 2006-01-07, 11:20   #3 (permalink)
Portal Member
 
Join Date: Aug 2005
Location: Melbourne, Australia
Age: 22
Posts: 707
Thanks: 0
Thanked 0 Times in 0 Posts

My System

Default

Any opinion on how well automatic commercial skipping works? I am especially worried about false positives stripping out part of a show I recorded, not so much about it leaving in commercials it should have cut.
jawbroken is offline   Reply With Quote
Old 2006-01-07, 11:42   #4 (permalink)
Retired Team Member
 
Join Date: Sep 2004
Location: Wellington
Posts: 346
Thanks: 0
Thanked 2 Times in 1 Post

Country:

My System

Default

As I mentioned in my guide here, it depends a lot on your signal. There's one channel it just won't detect any ads on, and occasionally it misses ad breaks on the others. Hopefully the reliability will go up with the better signal in my 'real' home (on holiday at the moment).

One thing it certainly hasn't done is remove something that isn't ads! I believe it uses the channel logos that don't appear in ads to detect them.
__________________
My HTPC | Wiki Page for New Zealanders

Brocklander is offline   Reply With Quote
Old 2006-01-07, 13:09   #5 (permalink)
Portal Member
 
Join Date: Aug 2005
Location: Melbourne, Australia
Age: 22
Posts: 707
Thanks: 0
Thanked 0 Times in 0 Posts

My System

Default

I see. I really hate station watermarks, but if they are used for commercial skipping then there is at least something good about them.
jawbroken is offline   Reply With Quote
Old 2006-01-07, 15:53   #6 (permalink)
Portal Member
 
wishywashy's Avatar
 
Join Date: Jan 2005
Location: Hill AFB, UT
Age: 33
Posts: 458
Thanks: 15
Thanked 3 Times in 3 Posts

Country:

My System

Default

Brocklander

Thank you so much for your guides! I am now useing the DVRMS toolbox to remove commercials from my wife's soap operas and she absolutly loves it. Thank you again!
wishywashy is offline   Reply With Quote
Old 2006-01-08, 00:42   #7 (permalink)
Retired Team Member
 
Join Date: Sep 2004
Location: Wellington
Posts: 346
Thanks: 0
Thanked 2 Times in 1 Post

Country:

My System

Default

Glad it's working okay for you, I've spent the last few weeks trying all this stuff (and others I wasn't so happy with), and thought I might as well save some others the effort
__________________
My HTPC | Wiki Page for New Zealanders

Brocklander is offline   Reply With Quote
Old 2006-06-16, 04:34   #8 (permalink)
Portal Member
 
Join Date: May 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Default Stream Live Tv

Doesnt media portal record all the time with the time shift feature on ? if so then where is that file as is would be good to be able to connect to a stream any time rather than only connecting to programs that are being recorded.


Shane
shanek is offline   Reply With Quote
Old 2006-06-16, 05:29   #9 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 6,602
Thanks: 129
Thanked 233 Times in 207 Posts

Country:

My System

Default

shanek

It does, but if you swtch channels, the timestream buffer is deleted and a new one created, also the same if you close TV down.
So example if your 20 minutes into watching a 1 hour show and you decide you want to record and save it. that will happen and you will get a file size of 9kb which links to the SBE file which will allow you to watch recorded TV.
If you want to keep and lets say put on a DVD then use the convert function to save as a mpeg file and you will get the full size file.

8)
Paranoid Delusion is offline   Reply With Quote
Reply

Bookmarks

Tags
autodvrconvert, guide, live, mpg, record, stream

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WebEPG issues ronald2oo2 WebEPG 28 2007-04-29 18:55
Any idea why WebEPG is putting the wrong date in tvguide.xml koach MediaPortal 1 Talk 3 2006-11-07 00:36
Leadtek TV2000 RM Gives Errors - Can't do anything slmckenzie General Support 1 2006-09-15 07:35
Recording Conflicts gwiley General Support 15 2006-09-15 07:28
A problem creating spanish TDT grabber for WEBEPG pegial WebEPG 7 2006-06-04 13:14


All times are GMT +1. The time now is 18:35.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden