Difference between revisions of "HD Playback Reports"

From MythTV Official Wiki
Jump to: navigation, search
Line 47: Line 47:
 
|-
 
|-
 
|-
 
|-
| Intel(R) Core(TM)2 Duo CPU    E4500  @ 2.20GHz || 2200.000 MHz || 3096672kB || 2.6.22-14-generic || vc1 || 1920x1080 || 20546 kb/s || BBC Planet Earth.
+
| Intel Core2 Duo CPU    E4500  @ 2.20GHz || 2200.000 MHz || 3096672kB || 2.6.22-14-generic || vc1 || 1920x1080 || 20546 kb/s || BBC Planet Earth.
 
|-
 
|-

Revision as of 03:29, 17 January 2008

Playback of HD content - User Reports

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.

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.

#!/bin/sh
#
# 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 Stream | head -n 1 | awk '{ print $6 }' | sed -e 's/,//'`
FORMAT=`ffmpeg -i "$1" 2>&1 | grep Stream | head -n 1 | awk '{ print $4 }' | sed -e 's/,//'`
BITRATE=`ffmpeg -i "$1" 2>&1 | grep bitrate: | awk '{ print $6 }'`


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

User Reported Data

Processor Type Processor Speed Memory Total Kernel Video Codec Resolution Bitrate Comments
Intel Core2 Quad CPU Q6600 @ 2.40GHz 2400.000 MHz 4050584kB 2.6.22-14-generic h264 1920 x 1080 32469 kb/s Blu-ray rip of "Casino Royale."
Intel Core2 Duo CPU E4500 @ 2.20GHz 2200.000 MHz 3096672kB 2.6.22-14-generic vc1 1920x1080 20546 kb/s BBC Planet Earth.