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


202 posts   Page 4 of 9   1, 2, 3, 4, 5, 6, 7 ... 9
by mikerr » 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.
Got a Pi Camera? View it in my android app - Raspicam Remote ! No software required on the pi
User avatar
Posts: 960
Joined: Thu Jan 12, 2012 12:46 pm
Location: NorthWest, UK
by alexeames » 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:
My Pi uses 2 watts - what what? ---- HiRes early production Pi photos RS Front Back | Farnell Front Back
User avatar
Posts: 2018
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
by welshblob » 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.
Posts: 131
Joined: Sat Jan 21, 2012 9:31 am
by Montala » 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! :)
User avatar
Posts: 638
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)
by wumpyr » Sun Aug 26, 2012 10:12 am
I received my mpeg-2 key. Is it really meant to be a negative hex number?
Posts: 20
Joined: Sat Apr 28, 2012 1:59 am
by mikerr » Sun Aug 26, 2012 10:15 am
Mine is too, example format (obviously not the exact number):

decode_MPG2=-0x1234567
Got a Pi Camera? View it in my android app - Raspicam Remote ! No software required on the pi
User avatar
Posts: 960
Joined: Thu Jan 12, 2012 12:46 pm
Location: NorthWest, UK
by Auron » 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).
Posts: 15
Joined: Tue Feb 14, 2012 1:40 am
by dom » 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.
Moderator
Moderator
Posts: 3864
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by dom » 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.
Moderator
Moderator
Posts: 3864
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by dom » 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)
Moderator
Moderator
Posts: 3864
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by csgabe » 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
Posts: 19
Joined: Thu May 17, 2012 2:45 pm
by dom » 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.
Moderator
Moderator
Posts: 3864
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by fbutler » 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
Posts: 298
Joined: Thu Mar 15, 2012 4:09 pm
Location: Surrey, England
by Montala » 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. :)
User avatar
Posts: 638
Joined: Mon Mar 05, 2012 11:54 pm
Location: Herefordshire (U.K.)
by csgabe » 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/
Posts: 19
Joined: Thu May 17, 2012 2:45 pm
by mahjongg » 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.
User avatar
Moderator
Moderator
Posts: 4506
Joined: Sun Mar 11, 2012 12:19 am
by ghans » 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
Posts: 3926
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by Dweeber » 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
User avatar
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
by happypi » 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
Posts: 13
Joined: Sun May 27, 2012 1:12 am
by redhawk » 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.
User avatar
Posts: 2939
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1
by happypi » Sun Aug 26, 2012 3:16 pm
hi,

it plays audio but no video mirroring my original problem.

thanks
Posts: 13
Joined: Sun May 27, 2012 1:12 am
by redhawk » 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.
User avatar
Posts: 2939
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1
by milhouse » Sun Aug 26, 2012 3:26 pm
Available individually.
Posts: 551
Joined: Mon Jan 16, 2012 12:59 pm
by daveg » 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.
User avatar
Posts: 118
Joined: Thu Dec 01, 2011 9:36 am
by dom » 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?
Moderator
Moderator
Posts: 3864
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge