PI 2: Ordered as a kit from pihut
PI 1: 2x Original Model B's from 2012
Memory Card : 8GB Sandisk Ultra Class 10 MicroSD
Power Supply: kit supplied 5V 2A
OS: '2015-02-16-raspbian-wheezy.img' with 'apt-get update' and 'apt-get upgrade' ran.
SW: 'mpeg2test' using libmpeg2 0.5.1 + idct ARM optimizations from rockbox, GIT repo https://github.com/linuxstb/pidvbip.git, commit f77258dbda40329cd17f0361ff341cba00644f7a
Test vectors: mpeg2_samples_m2v.zip from original thread.
Note, I had to make a small Makefile change, adding '-I/opt/vc/include/interface/vmcs_host/linux' to INCLUDES line.
Conclusion is the PI-2 for single threaded mpeg2 decoding is twice as fast as the PI-1, so it should be possible to decode mpeg2 on the PI-2 ARM CPUs (plus headroom for audio decoding) without the 'MPEG-2 license key' that enables decoding on the GPU. - I also got same results on both original model B's...
Code: Select all
PI.1 vs PI.2 Source FPS PI-1 FPS P1.1 % PI-2 FPS PI-2 % bbc1_dvbt_30secs.m2v 25.00 31.59 126.36% 61.74 246.96% bbc1s_dvbs_30secs.m2v 25.00 27.12 108.48% 52.61 210.44% centaur_2.m2v 29.97 31.33 104.54% 63.88 213.15% dave_dvbt_30secs.m2v 25.00 48.84 195.36% 94.58 378.32% hst_2.m2v 29.97 27.64 92.23% 54.31 181.21%
Footnote: IANAL (I Am Not A Lawyer) - This is proof-of-concept work and take no responsibility for the state of licensing a MPEG2 software decoder in your country or jurisdiction.