Author Topic: Should my server transcode?  (Read 1927 times)

Offline tucansam

  • Full Member
  • ***
  • Posts: 177
Should my server transcode?
« on: June 11, 2012, 01:20:20 PM »
In reference to HTPCs, what does it mean when the server transcodes?  Does that means I can use lower-end hardware on the HTPC because the server is doing all the work? 

What are the advantages of having the server do it over the HTPC?  I am trying to decide how much horsepower I need on the server end, and whether or not I need it to transcode at all.

Offline mbryanr

  • Hero Member
  • *****
  • Posts: 1248
Re: Should my server transcode?
« Reply #1 on: June 11, 2012, 01:35:12 PM »
My take on transcoding...don't do it if at all possible. 

If the server transcodes (through a "media server"), it will convert your file to a format and/or bitrate that is compatible with your media player/HTPC/TV. The DLNA/uPnP protocol is essentially a transcoding media server.

It is a typically a lossy process. If your HTPC or media player supports a wide range of formats, or you only rip your discs to a specific format (supported by your media player) - it is not required.

Benefits:
Potentially reduce cpu requirements (particularly if the format is only software decoded by your HTPC/media player)
Allows playback of media that is not supported by your HTPC

My build
Media Players: WDTV Live, Boxee Box 1, Boxee Box 2,
Server 1:unRAID (15.5TB) Server 2:Synology DS-210j (1.5TB Raid1) Server 3:Synology DS-411j (4TB Raid1)
Router:Asus RT-N56U w/Custom FW and Asus EA-N66
Switch:HP Procurve 1410-8G

Offline tucansam

  • Full Member
  • ***
  • Posts: 177
Re: Should my server transcode?
« Reply #2 on: June 11, 2012, 01:50:25 PM »
Thanks.  The HTPC aspect is new to me.  I have been toying with XBMC as spare time permits, but am still running tube TVs (no HDMI) so actually implementing this is a ways out.  I wasn't sure if I needed to try to future-proof my unraid server by making it a transcoder. 

My primary format is DVD and Bluray ISOs, and in my efforts to eliminate my cable TV bill, I will be running whatever software is required to download the TV shows the family usually watches (sickbeard etc).

So long as my server can serve up files and media, and download additional content, I can leave the transcoding efforts to the (as yet undetermined) HTPCs?

Offline mbryanr

  • Hero Member
  • *****
  • Posts: 1248
Re: Should my server transcode?
« Reply #3 on: June 11, 2012, 01:59:04 PM »
Correct, I'd guess that most leave it to the HTPC to handle the decoding. 

I'd suggest a media player initially (that supports ISO), but few give you the interface of XBMC. Cheaper, and give you an entry point to serving files without the setup requirements.

In order of $
WDTV Live Streaming
Popcorn Hour
Boxee Box (requires HDMI)
Dune

Should mention that some also use Plex (based off of XBMC) on their unRAID.  I believe that only transcodes if the media player/HTPC doesn't support the format.





« Last Edit: June 11, 2012, 02:01:01 PM by mbryanr »
My build
Media Players: WDTV Live, Boxee Box 1, Boxee Box 2,
Server 1:unRAID (15.5TB) Server 2:Synology DS-210j (1.5TB Raid1) Server 3:Synology DS-411j (4TB Raid1)
Router:Asus RT-N56U w/Custom FW and Asus EA-N66
Switch:HP Procurve 1410-8G

Offline marcusone

  • Hero Member
  • *****
  • Posts: 638
Re: Should my server transcode?
« Reply #4 on: June 11, 2012, 03:35:07 PM »
You can get some really small and powerful computers these days that I don't think on the fly transcoding is needed for an HTPC. If you plan to stream to your phone or tablet then you Might need to transcode. My Samsung galaxy plays a surprising range of formats.

Sent from my SGH-I727R using Tapatalk 2
Rig: UnRaid v5b14 w/ SF & unMenu on: SUPERMICRO X8SIL-F-O, 8GB ECC Ram, I3-540, AOC-SASLP-MV8 SAS, Adaptec PCI-Ex4 4Port SATA, 1x2TB WD GREEN - 5x1TB WD Green drives, 1x1.5TB WD Green, 3x2TB WD Green - 150GB Raptor Cache Drive. Total Capacity: 12.50TB
Avg 30-40MB/s direct write, 75-85MB/s cache writes

Offline mrow

  • Hero Member
  • *****
  • Posts: 911
Re: Should my server transcode?
« Reply #5 on: June 13, 2012, 03:05:57 AM »
My ATI video card in my HTPC that has full hardware acceleration cost $15 on sale. Bluray backups play flawlessly. Average CPU usage during bluray playback is ~6%. It doesn't take a lot for a nice HTPC these days.

Offline dikkiedirk

  • Hero Member
  • *****
  • Posts: 1393
  • Software is always Beta.
Re: Should my server transcode?
« Reply #6 on: June 13, 2012, 08:41:54 AM »
I would avoid transcoding. The only time I would do it would be for Ipad or Iphone. I'd use Airvideo.

If you have a HTPC or media-player there should be no need to transcode. They should play my files (mkv, DVD and Blu-ray folders or ISOs) and more in the right resolution/format to the output-device.
« Last Edit: June 13, 2012, 08:45:26 AM by dikkiedirk »
Unraid 5.0RC12a on X9SCM-F - E3-1240 - 2 M1015 - ARC1200 with 3 TB RAID0 Parity and 500 GB RAID1 cache volume - unraid VM to follow.

Offline Rajahal

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6115
  • Greenleaf Technology
    • Greenleaf Technology
Re: Should my server transcode?
« Reply #7 on: June 13, 2012, 06:10:00 PM »
Agreed, avoid transcoding when possible. I think the best reason to transcode is if you already have a PS3 or Xbox 360 and don't want to spend money on a dedicated HTPC. If you have the option to build or buy a dedicated HTPC (and take the time to choose a good one!), then transcoding shouldn't be necessary. I prefer to have a low power server that runs 24/7 and a higher power (yet still modest) HTPC that runs only when I need it.
Like us on Facebook | Follow me on Twitter
Looking for a prebuilt server? Greenleaf Technology
Building it yourself? Greenleaf Prototype Builds
Troubleshooting | Wiki

Offline mrow

  • Hero Member
  • *****
  • Posts: 911
Re: Should my server transcode?
« Reply #8 on: June 13, 2012, 06:25:27 PM »
..If you have the option to build or buy a dedicated HTPC (and take the time to choose a good one!)...

Really you don't need to put a lot of thought in to it, especially these days, unless you plan to do gaming or something like that on it. For strictly video playback any old PC that is cable of running a video card made within the last two or three years, a copy of Windows or Ubuntu and XBMC is all you need. Maybe throw in a bluray drive if you want to play back bluray discs. My original HTPC was 4 years old at the time I started using it. I put a $30 dollar nVidia video card in it, loaded Win7 and XBMC and enabled hardware acceleration and it worked great. The only reason I replaced it was because the hard drive in it died so I used it as a chance to replace the whole thing.

Offline dikkiedirk

  • Hero Member
  • *****
  • Posts: 1393
  • Software is always Beta.
Re: Should my server transcode?
« Reply #9 on: June 16, 2012, 03:11:19 AM »
..If you have the option to build or buy a dedicated HTPC (and take the time to choose a good one!)...

Really you don't need to put a lot of thought in to it, especially these days, unless you plan to do gaming or something like that on it. For strictly video playback any old PC that is cable of running a video card made within the last two or three years, a copy of Windows or Ubuntu and XBMC is all you need. Maybe throw in a bluray drive if you want to play back bluray discs. My original HTPC was 4 years old at the time I started using it. I put a $30 dollar nVidia video card in it, loaded Win7 and XBMC and enabled hardware acceleration and it worked great. The only reason I replaced it was because the hard drive in it died so I used it as a chance to replace the whole thing.

The video part is rather easy to deal with. Trouble begins when you want to play HD audio formats like Dolby True HD or DTS-HD MA on a HTPC.

Or is the Xtreamer Ultra 2 an option?
« Last Edit: June 16, 2012, 03:33:09 AM by dikkiedirk »
Unraid 5.0RC12a on X9SCM-F - E3-1240 - 2 M1015 - ARC1200 with 3 TB RAID0 Parity and 500 GB RAID1 cache volume - unraid VM to follow.

Offline whiteatom

  • Full Member
  • ***
  • Posts: 236
Re: Should my server transcode?
« Reply #10 on: June 19, 2012, 06:07:45 AM »
Transcoding is done on the server to put the video stream into a format your player can play. If the player can play the raw format, transcoding is not needed, if it can't, transcoding is done on the server - basically what I'm saying is it's never done on the client. If you have a powerful HTPC that can play any format and software that can decode the file formats you media is in, you'll never need to transcode.

Long time Plex user, and yes, Plex will transcod when it needs to, and Direct Play when it can. Transcoding really isn't that big an issue if your server is any bit powerful. I have a i3-2100 in my unraid server and it can transcode 2 streams at the same time without issues (maybe 3.. I've just never tried it). I agree it should be avoided if not needed, but I have an HTPC at my main 46" TV running the Plex client so any 1080p/5.1 content running there is not transcoded. Pretty much everything to my ATV in the bedroom or the den is transcoded to 720/2.0, and everything to the iPad is transcoded - all done on the server.

I'm not disagreeing with everyone who says it's best not to transcode if you don't have to, but I have never had ANY issues with it, and having the ability to transcode means you add lightweight clients (ATV or smart TV) to your system and not be limited in the content you can play.

Cheers,

whiteatom
unRaid 5.0-rc8a Pro + simplefeatures | Azza Helios 910 | SM X9SCM-F-O | i3-2100 | 8GB Kingston DDR3 1333 ECC | Seasonic X650 | A bunch of drives (15TB) | Plex Media Server | The holy trinity: sickbeard, couchpotato & sabnzbd
New to unRAID and want SB, CB and SAB? Try the Wiki Instructions