Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Raspberry Pi as remote transcoder

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


chrislewis915 at gmail

Aug 29, 2012, 3:56 PM

Post #1 of 14 (2919 views)
Permalink
Raspberry Pi as remote transcoder

Now that the raspberry pi has got hardware h264 encoding capabilities would
it be possible to sit one next to my router and use it to transcode my UK
DBT-T freeview recordings?

I'm thinking mounting the recordings folder and running a user job to set
the Pi off doing the transcode once the recording finishes?

Chris


nick.rout at gmail

Aug 29, 2012, 10:34 PM

Post #2 of 14 (2881 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On Thu, Aug 30, 2012 at 10:56 AM, Chris Lewis <chrislewis915 [at] gmail> wrote:
> Now that the raspberry pi has got hardware h264 encoding capabilities would
> it be possible to sit one next to my router and use it to transcode my UK
> DBT-T freeview recordings?
>
> I'm thinking mounting the recordings folder and running a user job to set
> the Pi off doing the transcode once the recording finishes?

Is there any software written to take advantage of this hardware capability yet?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


chrislewis915 at gmail

Aug 29, 2012, 11:51 PM

Post #3 of 14 (2874 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

>
>
>
> Is there any software written to take advantage of this hardware
> capability yet?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

No not yet, but with the way the RPi community is growing I would imagine
it wont be too long before something is available.

As it also has MPG2 HW decode im hoping it should be able to do the entire
transcode in HW.

I have no HD bays left in my BE case and if i start to replace the disks
with larger ones im going to end up with a load of redundant 500 gig disks.
A £30 RPi would be a neat solution if it could sit and do my transcoding
whilst drawing no more than 5 watts!

Chris


nick.rout at gmail

Aug 29, 2012, 11:54 PM

Post #4 of 14 (2877 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On Thu, Aug 30, 2012 at 6:51 PM, Chris Lewis <chrislewis915 [at] gmail> wrote:
>>
>>
>> Is there any software written to take advantage of this hardware
>> capability yet?
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
> No not yet, but with the way the RPi community is growing I would imagine it
> wont be too long before something is available.
>
> As it also has MPG2 HW decode im hoping it should be able to do the entire
> transcode in HW.
>
> I have no HD bays left in my BE case and if i start to replace the disks
> with larger ones im going to end up with a load of redundant 500 gig disks.
> A £30 RPi would be a neat solution if it could sit and do my transcoding
> whilst drawing no more than 5 watts!

Does anyone have real world figures on how fast the RPi or similar
hardware will actually encode? Would be useful to know.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


lofty69 at gmail

Aug 30, 2012, 12:49 AM

Post #5 of 14 (2872 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On 30 August 2012 07:51, Chris Lewis <chrislewis915 [at] gmail> wrote:
>>
>>
>> Is there any software written to take advantage of this hardware
>> capability yet?
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
> No not yet, but with the way the RPi community is growing I would imagine it
> wont be too long before something is available.
>
> As it also has MPG2 HW decode im hoping it should be able to do the entire
> transcode in HW.
>
> I have no HD bays left in my BE case and if i start to replace the disks
> with larger ones im going to end up with a load of redundant 500 gig disks.
> A £30 RPi would be a neat solution if it could sit and do my transcoding
> whilst drawing no more than 5 watts!
>
> Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

I was under the impression that mpg2 hw decoding was not working on
the pi due to licencing issues.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


nick.rout at gmail

Aug 30, 2012, 1:02 AM

Post #6 of 14 (2874 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On Thu, Aug 30, 2012 at 7:49 PM, Roy Lofthouse <lofty69 [at] gmail> wrote:
> On 30 August 2012 07:51, Chris Lewis <chrislewis915 [at] gmail> wrote:
>>>
>>>
>>> Is there any software written to take advantage of this hardware
>>> capability yet?
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users [at] mythtv
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>>
>> No not yet, but with the way the RPi community is growing I would imagine it
>> wont be too long before something is available.
>>
>> As it also has MPG2 HW decode im hoping it should be able to do the entire
>> transcode in HW.
>>
>> I have no HD bays left in my BE case and if i start to replace the disks
>> with larger ones im going to end up with a load of redundant 500 gig disks.
>> A £30 RPi would be a neat solution if it could sit and do my transcoding
>> whilst drawing no more than 5 watts!
>>
>> Chris
>>

>
> I was under the impression that mpg2 hw decoding was not working on
> the pi due to licencing issues.

You can now buy a license (unique to your RPi) for a trivial amount.
http://www.raspberrypi.org/archives/1839
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


watkinshome at gmail

Aug 30, 2012, 1:43 AM

Post #7 of 14 (2867 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

> I was under the impression that mpg2 hw decoding was not working on
> the pi due to licencing issues.

I wasn't able to play any mpg2 material on my when I tried raspbmc a
few weeks ago.

This page indicates that now you can, but you have to pay for a license.

http://www.raspberrypi.org/archives/1839
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mitchell.gore at gmail

Aug 30, 2012, 7:20 AM

Post #8 of 14 (2852 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On Thu, Aug 30, 2012 at 3:43 AM, David Watkins <watkinshome [at] gmail>wrote:

> > I was under the impression that mpg2 hw decoding was not working on
> > the pi due to licencing issues.
>
> I wasn't able to play any mpg2 material on my when I tried raspbmc a
> few weeks ago.
>
> This page indicates that now you can, but you have to pay for a license.
>
> http://www.raspberrypi.org/archives/1839
> _______________________________________________
>


Forget the transcoding and lets just code a full fledged frontend!


tylernt at gmail

Aug 30, 2012, 9:16 AM

Post #9 of 14 (2854 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

> Forget the transcoding and lets just code a full fledged frontend!

Indeed. Though I would expect hardware-assisted transcoding would be
added to Myth for VDPAU long before it was added for the RPi's
OpenMAX, simply because VDPAU has a lot more "market". And I haven't
seen much excitement about even VDPAU-assisted transcoding. (Still,
once someone writes a simple command-line OpenMAX transcode utility,
having Myth call it as an external shell job is trivial.)

But, I agree that adding OpenMAX support to Myth's FE makes a lot of
sense. MythTV is for tinkerers, RPi is for tinkerers; MythTV is all
about video, RPi is designed to display HD video; F/OSS like Myth
appeals to people who don't want to spend a lot of money, RPi is all
about F/OSS and is very very inexpensive...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raymond at wagnerrp

Aug 30, 2012, 1:21 PM

Post #10 of 14 (2848 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On 8/30/2012 12:16, Tyler T wrote:
>> Forget the transcoding and lets just code a full fledged frontend!
>
> Indeed. Though I would expect hardware-assisted transcoding would be
> added to Myth for VDPAU long before it was added for the RPi's
> OpenMAX, simply because VDPAU has a lot more "market". And I haven't
> seen much excitement about even VDPAU-assisted transcoding. (Still,
> once someone writes a simple command-line OpenMAX transcode utility,
> having Myth call it as an external shell job is trivial.)

"VDPAU-assisted" transcode is really going to be a tough nut to crack.
VDPAU is designed for decoding and playback only, not encoding. Gavin
Hurlbut has been working on a hardware accelerated commercial flagger,
using VDPAU for decoding, and OpenCL for video processing. The same
thing would be need to be done for transcoding, re-implementing the
entirety of x264 as an OpenCL kernel. That's quite a lot of effort to go
to for what are honestly only modest gains over the existing heavily
optimized x264 encoder.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


gary.buhrmaster at gmail

Aug 30, 2012, 2:59 PM

Post #11 of 14 (2835 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On Thu, Aug 30, 2012 at 8:21 PM, Raymond Wagner <raymond [at] wagnerrp> wrote:
> ... The same thing would be need to
> be done for transcoding, re-implementing the entirety of x264 as an OpenCL
> kernel. That's quite a lot of effort to go to for what are honestly only
> modest gains over the existing heavily optimized x264 encoder.


Some of that work has already been done (in a research community setting):
http://li5.ziti.uni-heidelberg.de/x264gpu/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


ylee at pobox

Aug 30, 2012, 3:27 PM

Post #12 of 14 (2842 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

Raymond Wagner <raymond [at] wagnerrp> says:
> Gavin Hurlbut has been working on a hardware accelerated commercial
> flagger, using VDPAU for decoding, and OpenCL for video
> processing.

While I wish Gavin luck with this ambitious effort--not least because
doing so would help lead to hardware-assisted transcoding--isn't
commflagging a more or less solved problem from a computational
standpoint?[1] With the experimental option enabled to permit the
commflagger to work on abridged data, I see speeds in the 120-140 fps
range for not-yet-finished high-definition recordings--i.e., the
flagger is spending 75% of its time waiting for more video--and 1000
fps for completed HD recordings, all on six years-old hardware.

[1] I said "computational", not functional! I know that non-US/Canada
MythTV users don't yet really benefit from commflagging.

--
MythTV FAQ Q: "Cheap frontend/backend?" A: Revo, $200-300 @ Newegg
Q: "Record HD cable/satellite?" A: Hauppauge HD-PVR, $200 @ Newegg
Q: "Can't change Live TV channels w/multirec!" A: Hit NEXTCARD key
More answers @ <URL:http://www.gossamer-threads.com/lists/mythtv/>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raymond at wagnerrp

Aug 30, 2012, 4:39 PM

Post #13 of 14 (2834 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

On 8/30/2012 18:27, Yeechang Lee wrote:
> Raymond Wagner <raymond [at] wagnerrp> says:
>> Gavin Hurlbut has been working on a hardware accelerated commercial
>> flagger, using VDPAU for decoding, and OpenCL for video
>> processing.
>
> While I wish Gavin luck with this ambitious effort--not least because
> doing so would help lead to hardware-assisted transcoding--isn't
> commflagging a more or less solved problem from a computational
> standpoint?[1] With the experimental option enabled to permit the
> commflagger to work on abridged data, I see speeds in the 120-140 fps
> range for not-yet-finished high-definition recordings--i.e., the
> flagger is spending 75% of its time waiting for more video--and 1000
> fps for completed HD recordings, all on six years-old hardware.

That sounds like you've got the "experimental speedup" enabled for the
commercial flagger, which does a high speed, low resolution decoding of
the video, and then performs commercial detection on the low resolution
output. As last I heard, FFmpeg has removed this special decoding mode,
so that is not an option with future re-syncs, and commercial flagging
will be drastically slower.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


lofty69 at gmail

Aug 31, 2012, 12:18 PM

Post #14 of 14 (2794 views)
Permalink
Re: Raspberry Pi as remote transcoder [In reply to]

Great, thanks for the link guys.

On 30 August 2012 09:02, Nick Rout <nick.rout [at] gmail> wrote:
> On Thu, Aug 30, 2012 at 7:49 PM, Roy Lofthouse <lofty69 [at] gmail> wrote:
>> On 30 August 2012 07:51, Chris Lewis <chrislewis915 [at] gmail> wrote:
>>>>
>>>>
>>>> Is there any software written to take advantage of this hardware
>>>> capability yet?
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users [at] mythtv
>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>
>>>
>>> No not yet, but with the way the RPi community is growing I would imagine it
>>> wont be too long before something is available.
>>>
>>> As it also has MPG2 HW decode im hoping it should be able to do the entire
>>> transcode in HW.
>>>
>>> I have no HD bays left in my BE case and if i start to replace the disks
>>> with larger ones im going to end up with a load of redundant 500 gig disks.
>>> A £30 RPi would be a neat solution if it could sit and do my transcoding
>>> whilst drawing no more than 5 watts!
>>>
>>> Chris
>>>
>
>>
>> I was under the impression that mpg2 hw decoding was not working on
>> the pi due to licencing issues.
>
> You can now buy a license (unique to your RPi) for a trivial amount.
> http://www.raspberrypi.org/archives/1839
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.