SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Media Extender
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-11-2008, 08:07 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
HD extender doesn't playback mpgs after fixing them with VideoReDo

I am about to file a bug and provide an example to tech support but I figured I would post it here too.

I am using an R5000 w/ StarChoice. The mpg files that come out of the R5000 have a number of timeline errors and I have enabled the flag that strips the padding. This is the only useful way to use an R5000 in my opinion. But it leads to a number of problems. The media extender and Sage in general, has a hard time skipping forward and backwards through the file. VLC doesn't see a timeline for the file so you can't skip around in VLC at all. BTV doesn't play the file at all.

I found yesterday that VideoReDo has this feature called QuickStream Fix. This will clean up the time code issues with the file. It does a great job and it runs pretty fast. I am working on getting it setup to run automatically on every recording.

Once I run QuickStream Fix on my R5000 generated mpgs, I can play it back in Sage Client and the results are much better. Sage can seek around easier and faster. There are no lags. I have done this on a Mac Client and on a PC based placeshifter. I can play the recording back in VLC with a timeline so I can do seeks. I can even play it back in BTV.

I can't however, play it back on the HD extender. I get a 4 second pause and then an error that says:

There was a Playback Error in playback. Details:
sage.Playback Exception

I have done enough to narrow this down to a problem with the files after processing them with VideoReDo. If I record something and don't run videoReDo on it, then everything is fine.

Has anybody else seen this? It might be the nature of the files coming from StarChoice.

Greg
Reply With Quote
  #2  
Old 05-11-2008, 11:23 PM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
I have the same issues with any HD mpg2 files. Mine play fine though. The problem is just skipping backwards and forward.
__________________
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 05-12-2008, 06:57 AM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
Hi Lucas,

I am not sure what part you are agreeing with. After VideoReDo,all the HD mpg files play perfectly in all players that I have tried except the HD extender (I haven't broken out the old MVP yet to see if the SD VideoReDo processed files play on it).

Before processing the HD files, seeking around was problematic everywhere. To me, VideoReDo is a life saver. It allows me to do all the things I used to do with the SD files from the PVR250 to the HD files coming from the R5000.

Greg
Reply With Quote
  #4  
Old 05-12-2008, 08:28 AM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
I am agreeing with the problems faced in playing back .mpg files on the extenders. Mine play, albeit with problems when skipping but I have not processed them using VideoRedo.

In your case it seems that VideoRedo is making them totally unplayable.
__________________
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
  #5  
Old 05-12-2008, 12:56 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
Yes, that is correct. Before that the extender could handle them ok if you played them start to end without jumping around or skipping commercials. But the Sage client had similar problems. With the videoReDo processing, the Sage client plays them back flawlessly - just as good as BTV did with my PVR250 SD recordings, which is great given the extra amount of data and processing required.

Greg
Reply With Quote
  #6  
Old 05-13-2008, 10:29 AM
dotheDVDeed dotheDVDeed is offline
Sage Advanced User
 
Join Date: Mar 2007
Posts: 84
Question: Are you bringing your Videoredo fixed recording into the SageTV Recordings folder or the Imported Videos folder in the Media Center?

I seem to have difficulty with the fixed recordings in the SageTV recordings folder but not if they are in the Imported Videos folder. Maybe there's a timing issue with the quickstream fixed videos not matching the original recordings and sageTV's database?
Reply With Quote
  #7  
Old 05-13-2008, 08:50 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
I overwrite the original recording (the bat file I am using processes to a temp file, the moves the file back to the original location).

I have tried to play them back as recordings and by navigating in the video folders to play them as an imported video.

Neither worked for me. I have been talking with support and I sent them a sample. The support guy says that he can play back my file with the beta firmware on the HD extender. I have not been able to yet. I get a different result with the beta firmware (the screen is just black and there is no audio, but there is no error message coming up)

Greg
Reply With Quote
  #8  
Old 05-13-2008, 10:29 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
Last update on this:

I had to power cycle my extender after flashing it with the beta firmware. Once this was complete, I was able to play back the VideoReDo processed mpgs.

I am happy camper now. Playback of the R5000 files is now fantastic in Sage. It was very, very iffy before doing the VideoReDo processing.

Now I am off to the videoReDo website to purchase it.

Greg
Reply With Quote
  #9  
Old 05-14-2008, 05:42 AM
dgeezer dgeezer is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: Greensboro, NC
Posts: 293
From what I understand the QuickStreamFix is just a run through the editor with no cuts defined. You may want to have comskip output a .vprj file and run this through videoredo. This can also be automated with your batch file. Videoredo seems to run at about the same speed through the file whether you are cutting commercials or just doing the quickstreafix.
Reply With Quote
  #10  
Old 05-14-2008, 01:15 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
That is assuming you trust any of these commercial detection programs to be 100% accurate. I don't.

I had to build in a delay and starting offset on the auto skip based on comskip edl files. If I didn't do this my wife would have thrown Sage out the window. She hates missing a couple seconds of the show on either side of the commercial break. Its amazing how important those two seconds can be to some shows.

Greg
Reply With Quote
  #11  
Old 05-15-2008, 12:32 PM
ehlfg ehlfg is offline
Sage User
 
Join Date: Nov 2007
Posts: 18
Just to make sure that I understand, the QuickStream Fix is still necessary for 6.4.2 beta and the beta firmware (with the timeline fix)?

I don't have an HD100 yet, but I am using an R5000 and intend to get an HD100 when it becomes available. My recordings seem to be fine when played on the server (using service mode), but I do have some problems with the timeline using Placeshifter.
Reply With Quote
  #12  
Old 05-15-2008, 05:19 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
I believe so, but you know, I upgraded to the beta to fix the problem of not being able to playback the VideoReDo files. I should check that.

I will check and post back here. I suspect the answer will be yes it is still needed.

Greg
Reply With Quote
  #13  
Old 06-05-2008, 08:05 PM
MarkV MarkV is offline
Sage Advanced User
 
Join Date: Jan 2007
Posts: 83
Any updates? Considering an HD-extender for use with DirecTV R5000-HD mpeg2 transport streams.

I usually strip the headers and trim the files with HDTVtoMPEG2 and only run them through VideoRedo Plus QuickStream fix if Sage says they're not the full timeline. Sort of sad that I'm primarily using HDTVtoMpeg2 and I've bought VideoRedo. I need to make a donation.

Off topic - I drive Sage playback using Nielm's webserver by specifying specific sageids of each file. Should I expect this to work with the extender ?
Reply With Quote
  #14  
Old 06-08-2008, 07:04 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
Ok, this all got resolved at the end of last week. The support guys were great and stuck with me through this. (Thanks Guys!!!).

But at the end of the day they said that this is not considered a bug because you are not supposed to modify the favourite recordings after Sage creates them. But we did come up with a work around that is working fine.

Here is the situation:

The mpeg files coming out of the R5000 when you drop the padding are no longer properly formated mpeg files. Just load one up in VLC and you will see it has no timeline. So I was running the files through videoReDo's QuickStream Fix because it make the files smaller and they play back much better. VLC even sees the timeline.

(BTW, even though Sage sees the timeline on the R5000 mpegs, jumping ahead 30 seconds at a time is painfully slow and error prone - this is all fixed by running VideoReDo)

Here is the problem:

when VideoReDo runs, it changes the TS stream to a PS stream. It seems all the programs in the world other than the video decoder on the HD extender can handle this properly and will silently switch to handling a PS stream. The HD extender is looking for a TS stream (the sage server scanned the mpg file when it was added and cached this information) and gets confused when it finds the PS stream. The end result is that no video or audio is played.

Here is the work around:

The thing is that we need to get Sage to rescan the recordings directory and pick up the new file. It turns out that when you rescan your imported videos directory, Sage also scans the recordings directory (this surprised me a bit, but indeed it does). It also turns out that Sage rescans the recording directory every 5 minutes automatically, so you don't have to manually start a re-scan.

But, the challenge is what does Sage notice that will triger a rescan. It is not a timestamp, instead it is an extension change. Since the original file was called .mpg the Sage developer suggested that I make some changes to my sage.properites file to get Sage to record to .ts files instead of .mpg. Then when I run VideoReDo, it creates a new file with a .mpg extension and I remove the original .ts file. (all with the same base file name). Then when Sage wakes up and rescans, it notices the extension change and updates its cached information. At that point, all is good. I didn't even have to change my VideoReDo script to get this working.

This works for me because I rarely watch something while it is recording or within 10 minutes of the recording being completed. I typically watch shows days after they are recorded. You can still watch things live, Sage is quite happy playing back the .ts file.

Here are the instructions that I got for modifying my sage.properies file to produce .ts files.

Code:
Here's some instructions I sent to someone a few weeks ago on that. The
numbers are probably different for your properties file (i.e. the 12346) but
the rest of the instructions should be the same. Let me know if you have any
questions on this.


First, change all of the lines that start with:

mmc/encoders/12346/1/0/

to instead start with

mmc/encoders/12346/100/0/ 


Then edit the line:

mmc/encoders/12346/100/0/video_crossbar_type=10

(this line used to have /1/0/ instead of /100/0/, but you should have
changed that already)

and change it to:

mmc/encoders/12346/100/0/video_crossbar_type=100

 
and make sure this is set:


mmc/encoders/12346/100/0/encode_digital_tv_as_program_stream=false
Greg
Reply With Quote
  #15  
Old 06-08-2008, 08:13 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Did you try a /t4 parameter on your QuickStreamFix script call.

When you setup something like this:

cscript //nologo "C:\Program Files\VideoReDoTVSuite\vp.vbs" "V:\VideoEditing\GetOut-FreeportBahamas-897537-0.mpg" "V:\VideoEditing\GetOut-FreeportBahamas-897537-0.ts" /t4 /q /e

It produces a .ts file according to the properties of VideoReDo anyway (see graphic included) and my limited understanding of this. But it was a SD resolution so maybe that is the difference.
Attached Images
File Type: jpg TS Graphic.jpg (41.8 KB, 222 views)
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
HD Extender playback problem in 6.3.8 mayamaniac SageTV Beta Test Software 25 02-15-2008 10:26 AM
What is the real story about the HD Extender? Spriter SageTV Media Extender 2 12-20-2007 12:35 PM
How does HD Media extender affect Sage+Meedio Users techgeek General Discussion 2 12-11-2007 02:47 PM
DVD Playback on HD Extender VikingCrown SageTV Media Extender 7 12-10-2007 11:42 AM


All times are GMT -6. The time now is 01:51 AM.


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