LinHES Forums
http://forums.linhes.org/

No 1080 please
http://forums.linhes.org/viewtopic.php?f=21&t=21166
Page 1 of 1

Author:  mattbatt [ Tue Jun 22, 2010 10:37 pm ]
Post subject:  No 1080 please

My mythbox (described in my sig) is a little too old to be playing 1080 content it can bearly handle playing back 720. Is there a way to tell mythtv not to record 1080 content? Thanks.

MattBatt

Author:  Too Many Secrets [ Tue Jun 22, 2010 11:07 pm ]
Post subject: 

Seems you would lose a lot of content not recording 1080. maybe setup a transcode script after recording 1080? the xvid script works well for some. You can even set it up to transcode automatically after a recording.

Author:  mattbatt [ Tue Jun 22, 2010 11:58 pm ]
Post subject: 

I have a SD tv. I've tried trans-coding it takes days. I just went through and deleted the HD channels and left the SD digital QAM channels. but I'm looking for a better solution.

Author:  uteck [ Wed Jun 23, 2010 1:00 am ]
Post subject: 

You could get a Nvidia 8400 card or better for your box if you have space for it. With the right GPU to off-load the video decoding even a meager Atom can play 1080 video.

Author:  TVBox [ Wed Jun 23, 2010 3:50 am ]
Post subject: 

mattbatt

This is the system that I ran for five years.

AMD 64 3200 socket 754
Asus K8NE-deluxe
1 GB Ram DDR400
Nvidia GeForce 5200 128MB DDR
3 pcHD3000 pci cards
120 GB Hard Drive PATA
MCE remote

I never used XVMC (Video Acceleration) I let the CPU crunch the video. Average processor load for recording 3 HD channels and watching a 1080i was 80%.

So not to waste that 20% of processor time I would have commercial detection start when the recording started. Between commercial detection and transcodeing my processor would run at 100% from 7:00pm to 11:00pm. The key to making this work was to set the backend CPU usage to "High"

I commercial cut and transcoded everything. If I remember right I ran about 120 frames per second commercial detecting (no video playback) and about 30 fps with video playback. If only one show was recording (which was rare) the commercial detection would be done by the end of the recording.

Why transcode to a smaller size or format? I only transcoded high quality lossless, that knocks down the file size to 75% about 7gig for a 1 hour 1080i show or about 10 minutes of 100% dedicated cpu time.

Go into webmin ">others>command shell" and run "top -b -n 1" and see if you are swapping to disk. Follow "graysky" advice here http://knoppmyth.net/phpBB2/viewtopic.php?t=20676
I would even recommend this even if you have 1 gig or less.

A AMD 3200 single core make a very good frontend / master backend machine. If it isn't working you have a software / hardware problem.

Question:
What kind of video do you have? memory? can it do 1080? not all can
Are you running XVMC?
What resolution are you outputting to your TV?
What is the native resolution for your TV?

TVBox

Author:  tjc [ Wed Jun 23, 2010 7:36 pm ]
Post subject: 

mattbatt - I'm playing back 1080i just fine with very similar hardware.

http://knoppmyth.net/phpBB2/viewtopic.php?t=5246
http://knoppmyth.net/phpBB2/viewtopic.php?t=19668

It stutters occasionally without XvMC (which I have to disable for CBS) but generally just plain works.

Author:  mattbatt [ Thu Jun 24, 2010 12:08 am ]
Post subject: 

thanks guys!
my hardware is almost identical to yours tv box my asus k8nse deluxe died a few years ago and i replaced it with some foxconn board that was cheap. The video card I believe is the 5200 i need to check its AGP slot so those cards are hard to find new chips in.

i am running the front end at 1024x768 my tv is SD so it's resolution is 640x480. hulu and the web dont read well at NTSC.

I'm going to try some of those links and see if that helps. right now i cant watch anything if i'm recording HD and SD.

thanks again.

typed on my android phone.

Author:  mattbatt [ Thu Jun 24, 2010 9:29 am ]
Post subject: 

changing the swap settings worked like a charm. As an added bonus closed captioning now works! i dont know why but there they were in the 1080 recording. now to tackle that transcoding issue.

Author:  mattbatt [ Sat Jun 26, 2010 10:26 pm ]
Post subject: 

actually I need to play with the settings some more The HD videos were playing back but whenever anything is recording all playback is jumpy so I need to play with the swap settings some more.

Author:  tjc [ Sun Jun 27, 2010 8:55 am ]
Post subject: 

If you haven't already, done so change your playback profile to one that uses XvMC. Since you have a FX5200 you can even use the chromakey option and still have a color OSD. This typically drops the CPU use dramatically. Beware that certain broadcasters (CBS is the big one) do stuff to their MPEG streams that can make XvMC hang, and for those you'll have to fall back to one of the software decoders.

Author:  TVBox [ Sun Jun 27, 2010 6:29 pm ]
Post subject: 

mattbatt

What is your video aperture setting in the bios? 128M would be the norm. with your amount of ram you could go to 256M but the likely hood that it would be a benefit is slim.

While you are in the bios have you turned off all the things you don't need like Serial, parallel, game port. It frees up IRC

Is commercial detection running when you are having problems?
Information Center>>system Status>>Job Queue
Arrow down into it.

I differ from tjc here I would turn off XvMC
setup>>TV Settings>>Playback>>Playback Profiles
and set it to CPU++

Buy default LinHES 6.?? picks your profiles according to the BogoMIPS of your system. Your 3200 should have picked CPU+ Which only uses XvMC to playback 1080 MP2 files. Every thing smaller than 1080i is played by CPU decoder. Anything sound familiar.

http://www.mythtv.org/wiki/Playback_profiles

After you get your problems worked out and then turn it back on.
XvMC has it's share of quirks, playing back a transcoded file seems to be another one of them.

Do you have any uncompleted (locked up) jobs in your Job Queue?
Information Center>>system Status>>Job Queue
If you find any delete them.

TVBox

Author:  mattbatt [ Mon Jun 28, 2010 10:54 pm ]
Post subject: 

Well the agp apperature size was set to 64 I bumped it up to 256 512 is the highest setting. I turned off the parallel and printer ports (why didn't I think of that)!
I have set it to cpu++. Setting the background tasks to high cpu usage has caused some stuttering during video playback however transcoding the 1080 files on high quality seems to have improved playback on the big files all by it'self.

Just tested recording jimmy kimmel HD and scrubs SD. Playing back SD content looks smooth and beautiful (making progress). Playing HD, the video was playing in perfect slow motion and the audio was jumping along playing little bits at a time to stay in time to the video.

Author:  tjc [ Wed Jun 30, 2010 6:40 pm ]
Post subject: 

If your system isn't keeping up at HD resolutions off loading the CPU will almost certainly help. Since that's the whole point of XvMC ...

The difference can be pretty dramatic too, 720P without XvMC (starting to get close to the edge):
Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 8173 mythtv    20   0  505m 267m 146m S 39.3 17.6 380:18.38 mythfrontend       
 3721 root      RT -10  695m 571m  47m S 35.3 37.7 162:26.67 Xorg               
 3594 mythtv    20   0  287m  32m  12m S  2.7  2.2  33:19.06 mythbackend     

720p with XvMC (not an issue to be seen):
Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 8173 mythtv    20   0  455m 228m 105m S 29.3 15.1 378:32.69 mythfrontend       
 3721 root      RT -10  672m 550m  12m S  1.3 36.3 161:19.27 Xorg               
 3594 mythtv    20   0  287m  32m  11m S  0.7  2.2  33:13.43 mythbackend 

1080i without XvMC (glitchy and stuttering):
Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 8173 mythtv    20   0  578m 342m 200m S 45.9 22.6 383:41.44 mythfrontend       
 3721 root      RT -10  765m 633m 100m S 41.9 41.7 165:14.26 Xorg               
 3594 mythtv    20   0  309m  30m  12m S  2.0  2.0  33:30.10 mythbackend   

1080i with XvMC (Smooth as butter):
Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 8173 mythtv    20   0  523m 267m 125m S 37.9 17.7 385:07.34 mythfrontend       
 3594 mythtv    20   0  287m  32m  12m S  1.0  2.2  33:34.31 mythbackend       
 3721 root      RT -10  673m 545m  20m S  0.7 36.0 166:13.01 Xorg             

Author:  mattbatt [ Sat Sep 11, 2010 10:00 pm ]
Post subject: 

just for historial search reasons
vdpau wouldnt work on my system because the card is agp
i ran accross this today
www.mythtv.org/wiki/VDPAU#Caveats

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/