Difference between revisions of "HD Playback Reports"

From MythTV Official Wiki
Jump to: navigation, search
(Mark incorrect CPU speeds)
(AMD Processors)
Line 95: Line 95:
 
|-
 
|-
 
|-
 
|-
| AMD Athlon(tm) X2 Dual-Core QL-65 || <span style="background:#FFAAAA">1050.000 MHz</span> || 3727184kB || 2.6.28-16-generic || h264 / mpg || 1920x1080 || 4433 kb/s || hauppauge HDPVR mythbuntu 9.04 64bit (jaunty) ATI w/o hw accel
+
| AMD Athlon(tm) X2 Dual-Core QL-65 || <span style="background:#FFAAAA">2000.000 MHz</span> || 3727184kB || 2.6.28-16-generic || h264 / mpg || 1920x1080 || 4433 kb/s || hauppauge HDPVR mythbuntu 9.04 64bit (jaunty) ATI w/o hw accel (NOTE:AMD CoolnQuiet reported 1050 MHz)
 
|-
 
|-
  

Revision as of 04:52, 6 November 2009

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.

Please disable clock stepping on your processor, or run something intensive in the background, to provide an accurate clock rate

#!/bin/bash
#
# 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 ) ]"
	BITRATE=$MKVBITRATE
	}
else echo "Not a Matroska File, continuing." 
fi

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. Processors speeds marked in red are likely incorrect due to AMD Cool'N'Quiet or Intel Speedstep.

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 2.6.24.7-desktop-1mnb 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 2.6.23.15-80.fc7 mpeg2video / mpg 1920x1080 14593 kb/s US Cable QAM256 Source
AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ 2500.000 MHz 2835624kB 2.6.25.11-97.fc9.x86_64 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 2.6.27.24-170.2.68_1.cubbi_tuxonice.fc10.x86_64 h264 / mpg 1440x1080 14788 kb/s BBC HD Freesat, DVB-S.
AMD Athlon(tm) X2 Dual-Core QL-65 2000.000 MHz 3727184kB 2.6.28-16-generic h264 / mpg 1920x1080 4433 kb/s hauppauge HDPVR mythbuntu 9.04 64bit (jaunty) ATI w/o hw accel (NOTE:AMD CoolnQuiet reported 1050 MHz)