HD Playback Reports

From MythTV Official Wiki
Revision as of 04:11, 17 January 2008 by Iamlindoro (talk | contribs)

Jump to: navigation, search

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. Some types of files do not report accurate information. Check the output for missing fields and fill in as necessary.

#!/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 }'`
EXTENSION=`basename "$1" | awk -F . '{print $NF}'`
echo -n "Player used to watch video? (Mplayer, Xine, Internal, Other): "
read PLAYER

echo "|-" >> hdreport.txt
echo "| $CPUNAME || $CPUMHZ MHz || $MEMTOTAL || $KERNEL || $FORMAT / $EXTENSION || $RESOLUTION || $BITRATE kb/s || $COMMENTS || $PLAYER" >> 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

Processor Type Processor Speed Memory Total Kernel Video Codec / Container Resolution Bitrate Comments Media Player
Intel Core2 Quad CPU Q6600 @ 2.40GHz 2400.000 MHz 4050584kB 2.6.22-14-generic h264 / m2ts 1920x1080 32469 kb/s Blu-ray rip of "Casino Royale." mplayer
Intel Core2 Duo CPU E4500 @ 2.20GHz 2200.000 MHz 3096672kB 2.6.22-14-generic vc1 / EVO 1920x1080 20546 kb/s BBC Planet Earth. mplayer
AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ 1000.000 MHz 1002048kB 2.6.22-14-generic h264 / MKV 1280x688 kb/s Skipping forward / backward is difficult because Internal player is unable to properly parse MKV. Internal
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 1000.000 MHz 1035636kB 2.6.22-14-generic h264 1280x720 kb/s Episode of Journeyman mplayer