HD Playback Reports

From MythTV Official Wiki
Revision as of 02:50, 5 November 2009 by Rsansev (Talk | contribs)

Jump to: navigation, search

This page is for playback reports regarding High Definition Content. This page will serve as a resource for users in selecting hardware for their MythTV systems.

h.264 samples of various resolutions that are often difficult to play can be found at http://x264.nl/h.264.samples/. Find the file that is most taxing to play while still playing smoothly and run the script on this page with it.

Please *only* provide samples using playback with the Internal MythTV player on this page. Do not use MPlayer, VLC, Xine, or any other player. Please do no use VDPAU or any hardware acceleration when adding information to this page. It is *purely* for purposes of determining the CPU and memory necessary to perform all decode and playback in software.

How to produce information for this page

Paste the following into a file (eg, hdplayback.sh), chmod +x the file, and run it on a file known to play back perfectly on a given system (eg, ./hdplayback.sh moviefile.mkv). It will produce an output file called hdreport.txt. hdreport.txt is in wiki format. Edit this page, find the most suitable position in the table to place the data (by CPU spec), and paste the output there. Edit the "Comments" section to share any special command line needed to get the program to play smoothly.

This script requires ffmpeg to run properly. For Matroska files, mkvtoolnix is also required. Some types of files do not report accurate information. Check the output for missing fields and fill in as necessary.

# Script to generate wiki formatted HD Playback report.  Only
# run this on files that play back smoothly!

CPUNAME=`cat /proc/cpuinfo | grep "model name" | sed -e 's/model name\t: //' | head -n 1 | sed -e 's/\t/ /'`
CPUMHZ=`cat /proc/cpuinfo | grep "cpu MHz" | sed -e 's/cpu MHz//' | sed 's/ *//g' | sed 's/\t*://' | head -n 1`
MEMTOTAL=`cat /proc/meminfo |grep MemTotal | sed 's/MemTotal//' | sed 's/ *//g' | sed 's/\t*://' | head -n 1`
KERNEL=`uname -r`
COMMENTS="No Comments."
RESOLUTION=`ffmpeg -i "$1" 2>&1 | grep Video | head -n 1 | awk '{ print $6 }' | sed -e 's/,//'`
FORMAT=`ffmpeg -i "$1" 2>&1 | grep Video | head -n 1 | awk '{ print $4 }' | sed -e 's/,//'`
BITRATE=`ffmpeg -i "$1" 2>&1 | grep bitrate: | awk '{ print $6 }'`
EXTENSION=`basename "$1" | awk -F . '{print $NF}' | tr 'A-Z' 'a-z'`
if [ "$EXTENSION" = "mkv" ]; then {
	MKVSECONDS=`mkvinfo "$1" | grep Duration | awk '{ print $4}' | sed 's/s//' | awk -F . '{ print $1 }'`
	MKVSIZE=`mkvinfo "$1" | grep Segment, | awk '{ print $4}'` 
	MKVBITRATE="$[ ( ($MKVSIZE * 8) / ($MKVSECONDS ) / 1000 ) ]"
else echo "Not a Matroska File, continuing." 

echo "|-" > hdreport.txt
echo "| $CPUNAME || $CPUMHZ MHz || $MEMTOTAL || $KERNEL || $FORMAT / $EXTENSION || $RESOLUTION || $BITRATE kb/s || $COMMENTS" >> hdreport.txt
echo "|-" >> hdreport.txt

echo "Thank you!  Please paste the following into the wiki page at: http://www.mythtv.org/wiki/index.php?title=HD_Playback_Reports"
cat hdreport.txt

User Reported Data

Please include reports for MythTV only. Reports for mplayer, vlc or any other media player are unhelpful and belong in the wikis of the respective project.

Intel Processors

Processor Type Processor Speed Memory Total Kernel Video Codec / Container Resolution Bitrate Comments
Intel Core2 Quad CPU Q6600 @ 2.40GHz 2400.000 MHz 4050584kB 2.6.22-14-generic mpeg2video / mpg 1920x1080 12403 kb/s 1080i Television Playback.
Intel Core2 Quad CPU Q9650 @ 3.00GHz 3000.000 MHz 8186900kB 2.6.24-19-generic h264 / mpg 1920x1080 13404 kb/s HD-PVR Output, Max Bitrate

AMD Processors

Processor Type Processor Speed Memory Total Kernel Video Codec / Container Resolution Bitrate Comments
AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ 2000.000 MHz 899584kB h264 / ts 1440x1080 21378 kb/s BBC HD Freesat, DVB-S (Deblocking disabled)
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 2210.788 MHz 1028504kB mpeg2video / mpg 1920x1080 14593 kb/s US Cable QAM256 Source
AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ 2500.000 MHz 2835624kB h264 / ts 1920x1088 19517 kb/s premiere-paff.ts from http://x264.nl/h.264.samples/?dir=./
AMD Athlon(tm) Dual Core Processor 4850e 2500.000 MHz 1802372kB 2.6.26-1-amd64 h264 / mpg 1280x720 4171 kb/s Output from HD-PVR. HDNet concert footage. CPU++ profile. NVIDIA driver 173.14.09 on 7050PV based onboard video.
AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ 2600.000 MHz 1002048kB 2.6.22-14-generic h264 / mkv 1280x688 N/A kb/s Skipping forward / backward is difficult because Internal player is unable to properly parse MKV.
AMD Athlon(tm) 64 Processor 3200+ 1000.000 MHz 963640kB 2.6.26-2-amd64 mpeg2video / ts 1920x1080 40133 kb/s No Comments.
AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ 1800.000 MHz 1541000kB h264 / mpg 1440x1080 14788 kb/s BBC HD Freesat, DVB-S.
AMD Athlon(tm) X2 Dual-Core QL-65 1050.000 MHz 3727184kB 2.6.28-16-generic h264 / mpg 1920x1080 4433 kb/s hauppauge HDPVR