SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-19-2008, 09:08 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Can PS3 or MVP play HD-PVR streams?

I'm thinking of getting a PS3 for christmas. I was wondering if any one had any success playing HD-PVR .ts files on the PS3? Also, so the PS3 play divx, xvid, and mkv formats?

And... I have a MVP, and I was wondering if the MVP could play HD streams if they are in MPEG2 format? ie, if I transcode my HD-PVR recordings into MPEG2 HD streams, could the MVP play them? BTW, yeah, I have a HD extender as well... I use it, i love it, but I wanted to make use of the MVP as well, if I could.

Thanks
Reply With Quote
  #2  
Old 09-19-2008, 09:17 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
The MVP only plays SD MPEG-2, anything else is transcoded by the server.

If you transcoded HD PVR recordings to MPEG-2 the MVP might work if you've got enough horsepower for the server to transcode that HD MPEG-2 into SD MPEG-2.
Reply With Quote
  #3  
Old 09-19-2008, 11:59 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
If you transcoded HD PVR recordings to MPEG-2 the MVP might work if you've got enough horsepower for the server to transcode that HD MPEG-2 into SD MPEG-2.
I guess with the lack of an official answer, I'll have to transcode a show and see what happens.

Thanks.
Reply With Quote
  #4  
Old 09-21-2008, 02:03 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
FYI, I transcoded a 1hr recorded show from the HD-PVR into a mpeg2 file of the same resolution (1280x720). The process took 91minutes on my quad core, allowing ffmpeg to use 3 cpus. The MVP was able to play it without issue.

I guess i'll setup a cron task to run nightly to convert my HD recorded shows to mpeg2, so that I can use my MVP in the other room.
Reply With Quote
  #5  
Old 09-30-2008, 08:32 AM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
MVP and HD Recordings (HD Homerun and HD-PVR)

If I play shows encoded on my HD-Homerun on my wired MVP, they look great (Q6600 processor). If I play video recorded on my HD-PVR, it stutters so badly that it is unwatchable. In fact, my processor upgrade didn't help (from a Athlon 3800 X2), which seems to be in-line with the comment on this thread:

http://forums.sagetv.com/forums/show...37&postcount=6

The HD-PVR encodes in H.264, some sort of mpeg-4 format, right? What does the HD-Homerun use? Why is video recorded from the HD-Homerun so much smoother?

The previous post indicated that the H-264 could be re-encoded to make it smoother using ffmpeg. How exactly is this done? What format do I re-encode it to? As a side issue, my current filenames are with a .ts extension. Would I just give it the same extension so wiz.bin can find the file?

Are there any updates on whether the development team is working with the new ffmpeg to get H.264 transcoding working so that we can use our MVPs with a sufficiently fast processor?
Reply With Quote
  #6  
Old 09-30-2008, 10:02 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
i use the following to convert my .ts files into dvd quality mpg files...

Code:
 ffmpeg -i Chaotic-FightingFriendly-1528717-0.ts -target ntsc-dvd -acodec mp2 -ab 192 -ac 2 -ar 48000 -b 4096 -r 29.97 -s 720x480 -vcodec mpeg2video Chaotic-FightingFriendly-1528717-0.ts.mpg
You can change the size to 1280x720 if you want to keep the original HD size.
Reply With Quote
  #7  
Old 09-30-2008, 10:03 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
The HDHR just captures the bitstream, which is MPEG2. H.264 could easilly be an order of magnitude (at least 3-4x) more processor intensive than MPEG-2
Reply With Quote
  #8  
Old 09-30-2008, 07:34 PM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
ffmpeg followup

I appreciate both of your comments.

Now a follow-up question to ffmpeg.

I downloaded it, and put it in my directory. I am running WHS.

When I tried to run the command as described, I get an error "Error while opening codec for input stream". The input stream is audio, and according to ffmpeg:

Input #0, mpegts, from 'e:\Bones-YanksintheUK-3230478-0.ts':
Duration: 00:59:57.16, start: 0.387044, bitrate: 12497 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
Stream #0.1[0x1100]: Audio: aac, s16

So, I would assume that I need a decoder for aac and s16 (whatever s16 is). I downloaded a decoder for aac (CoreAAC), but I still get the error. I don't know how to get the s16 decoder.

Am I on the right track? Do I just install these codes? Are they supposed to be directshow codecs?
Reply With Quote
  #9  
Old 09-30-2008, 09:33 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Maybe someone on windows can help with the codec stuff. Under linux it just worked? I don't recall installing any additional codecs. I thought that ffmpeg came with its own codecs, but I could be wrong.
Reply With Quote
  #10  
Old 10-01-2008, 09:09 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
I would think you need to wait until ffmpeg supports aac. I don't think it uses external codecs. Or maybe use the new driver for HD-PVR. That way your audio would be AC3 which maybe ffmpeg supports. (I don't know.)

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
  #11  
Old 10-01-2008, 11:25 AM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
stuckless,

Based on your reply, I assume that you did your transcoding in linux. When you did this, did your audio stream have aac (and that s16?).
I am putting together a Fedora platform right now so I can try using ffmpeg in linux. I saw how there is instructions to put ffmpeg on via SVN and I also saw links to use FAAD2 for decoding aac. So, based upon gplasky's reply, I am not sure that these downloaded codecs are useful.
I saw how the beta drivers for the HD-PVR are out now, so I may try that route as well.

Ray
Reply With Quote
  #12  
Old 10-01-2008, 12:38 PM
vexhold's Avatar
vexhold vexhold is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Hastings, MN
Posts: 353
Just thought I would add this excerpt from the new Beta Driver for the HD PVR

All HD PVRs can be upgraded to support Dolby 5.1 audio through the SPDIF port on the back of the HD PVR. Your set top box needs to have an SPDIF output if you want to record audio in a 5.1 format.

In addition, this version of HD PVR software supports new features such as: record to M2TS for playback on the Sony PS3,

To install, download and unzip the file and run “hcwdriverinstall.exe”.

NOTE: The current version of Arcsoft Total Media Extreme can not burn AVCHD disks with 5.1 audio, the audio will be transcoded to AC3 2 Channel. An updated version of Arcsoft Total Media Extreme will be available mid October with full 5.1 disk burning support. TV programs recorded today with 5.1 audio will be able to be burnt to disk when the new TME comes out.

File name: HDPVR1.0.3.53Beta.zip
Date: Sept. 23, 2008
File size: 4 MB

Hope this helps some.
Reply With Quote
  #13  
Old 10-01-2008, 01:33 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Yeah I transcode under linux, Ubuntu 8.04.

I honestly don't know what my audio format is... I do know that I am not using the digital out on the HDPVR, but it is on my list of things to get working at some point, but since I don't have a true surround sound system... i didn't see the need to use the digital audio.
Reply With Quote
  #14  
Old 10-02-2008, 06:44 AM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
I installed the new drivers last night, and I programmed my SA 8300 HDC to output in 720p (since my HDTV is 720p). From my MVP, I actually can almost watch the recordings, as they don't stutter so much. I don't know if it is because it is 720p and is easier to transcode, or if it is because it is AC3 and is easier to decode than AAC. I guess I should have done it in steps. I may try and bump up the processor speed.

In the meantime, I ran ffmpeg on the resulting .ts file with the AC3 audio, and it worked great. It would't use more than one thread, but it is running about 28 fps, which is close to realtime (Q6600). I am assuming that SageTV will find the *.ts.mpg file if I rename/delete the *.ts file. When I get home I will try it.

One more point, I am using component audio. I could not get any audio off the TOSlink. I don't know if it is my SA 8300 HDC box, or the input in my HD-PVR. I am switching to FIOSTV (from Time Warner, the old Adelphia in Buffalo) in a little over two weeks, so I will try it then.
Reply With Quote
  #15  
Old 10-03-2008, 04:02 PM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
Transcoding solution for HD-PVR -> MVP

Taking the advice here, I have put my solution together. I have switched to the new HD-PVR drivers and that allows me to get AC3 audio. I normally don't watch live TV, but record what I wish to watch. Many channels I get over my standard PVR-150s and my HD Homerun. For those channels that are encrypted, I have set up a perl script to transcode them. I am using ffmpeg for transcoding.

I downloaded ActivePerl (free) on my WHS box, and then I run the following script:

Code:
$start = time;
$input = $ARGV[0];
system("ffmpeg -threads 3 -y -i $input -target ntsc-dvd -acodec ac3 -ab 192k -b 8192k -r 29.97 -s 1280x720 -vcodec mpeg2video $input.tmp");
system("del $input");
$filename = substr($input,0,-3);
system("move $input.tmp $input");
open TEXT, "+>", $filename . ".trans";
printf TEXT "Transcoding Complete\n";
$elapsed = time - $start;
printf TEXT "Time Elapsed: $elapsed\n";
close(TEXT);
sleep 10;
The last sleep call lets me see how it did in case there was an error. It gives me a second to see the text screen. Note that I have to rename the file to the same as the original file name (.ts), since sage looks for that filename.

I then use Dirmon2 from Dragon Global to run my script.

I then use Showanalyzer, also from Dragon Global to scan it for commercials, but I wait for 2 hours before I do that, to give the transcoding a chance to take place. Note that the transcoding on my Q6600 is pretty much real time, meaning that once I have finished the recording, it takes 1 hour to process a 1 hour show.

One last thing...since I cannot seem to use ffmpeg on the AAC files (audio, and made before the latest drivers for the HD-PVR were available), I avoid transcoding those by making the files hidden. Dirmon2 has a box to ignore hidden files.

The end result is that I can now watch my shows recorded on my HD-PVR on my MVP, and it is very smooth.
Attached Images
File Type: jpg transcoding.JPG (115.3 KB, 183 views)
File Type: jpg sagetv-ts.JPG (113.1 KB, 184 views)

Last edited by rerooks; 10-03-2008 at 04:04 PM.
Reply With Quote
  #16  
Old 10-05-2008, 09:18 PM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
Arggh! The above works great on my MVP, but this weekend I went upstairs to my HDTV box with my STX HD100, and it can't seem to play the video files that will play on my MVP. No errors, just the video doesn't play. Any thoughts? You can see the format on the script. I would think that the extension of .ts wouldn't make a difference.
Reply With Quote
  #17  
Old 10-07-2008, 07:16 AM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
Does anyone have an idea why the video won't play on the STX HD100? Should I put in a support request? (It is a bit outside of normal sage operation, so I don't know if they would help).
Reply With Quote
  #18  
Old 10-07-2008, 09:08 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Unfortunately I can't help. I have transcoded .ts files, using a similar ffmpeg command line that you use, and played them back on both the HD Extender and the MVP... so far, cross my fingers, i haven't had any issues.
Reply With Quote
  #19  
Old 10-07-2008, 10:38 AM
rerooks rerooks is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 157
One thing that I have noticed is that when playing the transcoded files is that they are still labled in Sage as H.264 encoded. I would assume that is because of a setting inside of wiz.bin. When you go to look at the Detailed Info of the file you are playing, does it still indicate H.264 encoding? Also, do you have to keep the same extension of .ts so Sage can find it?

Thank you for your responses!
Reply With Quote
  #20  
Old 10-07-2008, 12:09 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Also, do you have to keep the same extension of .ts so Sage can find it?
Actually, when I transcode, I keep the original in the recorded menu and I put the transcoded file in my media library. So I have to go looking for the transcoded file when I play it.
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
Sage TV windows and Hauppauge HD PVR htpcmaniac Hardware Support 10 09-21-2008 09:09 PM
720p vs 1080i with Hauppauge HD PVR mces97 Hardware Support 7 08-29-2008 10:29 AM
SageTV, the HD Homerun, and a PS3 Keenan Hardware Support 0 04-02-2008 01:28 PM
can't play WMA files on MVP (wmv files play ok) zzmystique SageTV Media Extender 6 05-29-2007 06:16 PM
PVR 500 MCE Rebooting PC jptaz Hardware Support 30 01-07-2005 01:44 PM


All times are GMT -6. The time now is 05:48 AM.


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