User avatar
mikerr
Posts: 2470
Joined: Thu Jan 12, 2012 12:46 pm
Location: Up north , UK
Contact: Website

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 9:17 am

So are H.264 encode and CEC support available for all Pis now with no payment, just an rpi-update ?
Alongside MPEG-2 support (which you’ll have to pay for), we’re making H.264 encode available for free.
As I read that, it could be read either way - free to all, or free with mpeg2.
Last edited by mikerr on Sun Aug 26, 2012 9:31 am, edited 2 times in total.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2807
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 9:25 am

mikerr wrote:So are H.264 encode and CEC support available for all Pis now with no payment, just an rpi-update ?

As I read it it could be read either way - free to all, or free with mpeg2.
The way I read it, free to all. But I may be wrong. :oops: :lol:
Alex Eames RasPi.TV, RasP.iO

welshblob
Posts: 134
Joined: Sat Jan 21, 2012 9:31 am

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 9:31 am

alexeames wrote:
mikerr wrote:So are H.264 encode and CEC support available for all Pis now with no payment, just an rpi-update ?

As I read it it could be read either way - free to all, or free with mpeg2.
The way I read it, free to all. But I may be wrong. :oops: :lol:
Free to all but you will need an app to take advantage of them. Already using the CEC support on raspbmc .... its very good.

User avatar
Montala
Posts: 655
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 10:07 am

My keys have just been delivered... and on a U.K. Bank Holiday Sunday as well!

Thanks again to all involved! :)

wumpyr
Posts: 20
Joined: Sat Apr 28, 2012 1:59 am

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 10:12 am

I received my mpeg-2 key. Is it really meant to be a negative hex number?

User avatar
mikerr
Posts: 2470
Joined: Thu Jan 12, 2012 12:46 pm
Location: Up north , UK
Contact: Website

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 10:15 am

Mine is too, example format (obviously not the exact number):

decode_MPG2=-0x1234567
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Auron
Posts: 15
Joined: Tue Feb 14, 2012 1:40 am

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 10:29 am

What I'm wondering - could the Pi decode MPEG-2/H264 and re-encode it to a H264 stream in real time (e.g for using a mobile device/tablet as a mobile PVR device).

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5097
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 10:52 am

mikerr wrote:Mine is too, example format (obviously not the exact number):

decode_MPG2=-0x1234567
Negative hex numbers should be fine. You can if you prefer replace it with the positive version.
decode_MPG2=0xEDCBA988

and it should work the same.

I'll see if the licences given out can be made positive to reduce confusion.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5097
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 10:56 am

Auron wrote:What I'm wondering - could the Pi decode MPEG-2/H264 and re-encode it to a H264 stream in real time (e.g for using a mobile device/tablet as a mobile PVR device).
In theory, yes. Someone would have to create the OpenMAX pipeline.

1080p decode + concurrent 1080p encode may be too much, but up to 720p should be fine.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5097
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 11:17 am

If you want to test your licence. I suggest:

For MPEG-2
wget ftp://streams.videolan.org/samples/MPEG ... ANGLE1.VOB
omxplayer TITLE01-ANGLE1.VOB

For VC-1
wget ftp://streams.videolan.org/samples/V-co ... _6Mbps.wmv
omxplayer Test_1440x576_WVC1_6Mbps.wmv

(yes this is a 3d SBS clip, so you should see a similar image on left and right of screen).

Also if you have more that one board licenced, and would like to swap sdcards, then you can specify multiple licences:
decode_MPG2=0x12345678,0xabcdabcd,0x87654321

(note if you list decode_MPEG2 multiple times, it won't work)

csgabe
Posts: 23
Joined: Thu May 17, 2012 2:45 pm

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 11:21 am

I've bought a license of VC-1 and many files which have VC-1 format are not working with omxplayer, here are some:
http://ge.tt/9xY4qbM/v/0
http://ge.tt/4DQJqbM/v/0

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5097
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 11:29 am

csgabe wrote:I've bought a license of VC-1 and many files which have VC-1 format are not working with omxplayer, here are some:
http://ge.tt/9xY4qbM/v/0
http://ge.tt/4DQJqbM/v/0
Links are timing out for me.

User avatar
fbutler
Posts: 302
Joined: Thu Mar 15, 2012 4:09 pm
Location: Surrey, England

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 11:54 am

dom wrote:If you want to test your licence. I suggest:

For MPEG-2
wget ftp://streams.videolan.org/samples/MPEG ... ANGLE1.VOB
omxplayer TITLE01-ANGLE1.VOB

For VC-1
wget ftp://streams.videolan.org/samples/V-co ... _6Mbps.wmv
omxplayer Test_1440x576_WVC1_6Mbps.wmv

(yes this is a 3d SBS clip, so you should see a similar image on left and right of screen).

Also if you have more that one board licenced, and would like to swap sdcards, then you can specify multiple licences:
decode_MPG2=0x12345678,0xabcdabcd,0x87654321

(note if you list decode_MPEG2 multiple times, it won't work)
Thanks for the test videos. Both play for me. :)

User avatar
Montala
Posts: 655
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 12:01 pm

dom wrote:Negative hex numbers should be fine. You can if you prefer replace it with the positive version.
decode_MPG2=0xEDCBA988

and it should work the same.
Hi Dom,

Sorry for being a bit 'thick', but I don't quite understand what you are saying here

I also have a negative number, and would like to replace it with a positive one, but am not clear exactly what I have to type in... and where!

Thanks. :)

csgabe
Posts: 23
Joined: Thu May 17, 2012 2:45 pm

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 12:07 pm

Links are timing out for me.
Here are the files uploaded to different site:
http://csgabe.minus.com/mh5eFAL85/

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9484
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 12:26 pm

Montala wrote:
dom wrote:Negative hex numbers should be fine. You can if you prefer replace it with the positive version.
decode_MPG2=0xEDCBA988

and it should work the same.
Hi Dom,

Sorry for being a bit 'thick', but I don't quite understand what you are saying here

I also have a negative number, and would like to replace it with a positive one, but am not clear exactly what I have to type in... and where!

Thanks. :)
Its very probably simply a twos complement of the negative number. http://en.wikipedia.org/wiki/Twos_complement.
But I surely don't see the need to change it, except for some strange sense of propriety.
You can simply copy and paste the key in, no need to wonder even what its says.

ghans
Posts: 7325
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 12:34 pm

h.264 encode and decode are covered in the same license , as it turns out , and included in
the price of the Pi.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 1:02 pm

dom wrote:If you want to test your licence. I suggest:
Both test videos worked.
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

happypi
Posts: 13
Joined: Sun May 27, 2012 1:12 am

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 3:02 pm

Hi,

I have purchased both licenses and have confirmed they work using the 2 test files.

I cannot however get them working for the purpose I intended.

I'm trying to watch sopcast streams encoded in WMV but exactly the same thing happens when trying to watch them as before the licences were added. I get sound but no video.

I have tried multiple Windows Media Video 8 - WMV2 and Windows Media Video 9 - WMV3 streams.

What happens when a sopcast stream is running on a PC is it starts streaming the audio/video on http://localhost:8902/

If you open this address in VLC the video works. Opening it on the pi using the PC's address does not. This works perfectly with H264 video.

I have the same problem on the latest openelec and xbian.

Any ideas what could be the cause?

cheers

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 3:07 pm

Does this play http://video.ch9.ms/teched/2012/na/SIA302.wmv with the VC-1 hardware enabled codec??

Richard S.

happypi
Posts: 13
Joined: Sun May 27, 2012 1:12 am

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 3:16 pm

hi,

it plays audio but no video mirroring my original problem.

thanks

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 3:22 pm

That's rather worrying then the video clip is 1280 x 720 Windows Media Video 9 Professional you would expect the VC-1 hardware support to work.

Is it possible buy MPEG-2 and VC-1 licenses individually or only as combined??

Richard S.

milhouse
Posts: 613
Joined: Mon Jan 16, 2012 12:59 pm

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 3:26 pm

Available individually.

User avatar
daveg
Posts: 137
Joined: Thu Dec 01, 2011 9:36 am

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 3:49 pm

I've got my MPEG-2 and VC1 keys emailed to me today; now that's what I call service!

However trying to play both of these files via the latest build of OpenELEC I compiled from github this morning i am seeing "flickering" of the video.

It isn't exactly flickering, more like the image is jumping up and down by a pixel or two giving a flickering type effect which makes you feel ill after a few minutes.

I may have to try using raspian to see if it is an OpenELEC issue, but I thought I'd mention it in case it's me doing something wrong.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5097
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: You wanted MPEG-2? You've got it!

Sun Aug 26, 2012 4:01 pm

daveg wrote:I've got my MPEG-2 and VC1 keys emailed to me today; now that's what I call service!

However trying to play both of these files via the latest build of OpenELEC I compiled from github this morning i am seeing "flickering" of the video.

It isn't exactly flickering, more like the image is jumping up and down by a pixel or two giving a flickering type effect which makes you feel ill after a few minutes.
Are the files interlaced? What resolution?

Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 72 guests