[mythtv-users] MythArchive output quality is poor for SD and HQ profiles

Leighton Brough brough at baremetalsoft.com
Wed Oct 11 05:01:33 UTC 2006


I've had some great results using MythArchive to create DVDs from DVB 
content that's already in a DVD compatible format (i.e. using the "do 
not reencode" option).

However when I select the SP profile, the quality is very poor. The 
resulting file size is much smaller than what the MythArchive user 
interface suggests will be produced. Here's an example log:

2006-10-11 12:50:27 mythburn.py (0.1.20060910-1) starting up...
2006-10-11 12:50:28 Obtaining MythTV settings from MySQL database for 
hostname skyline
2006-10-11 12:50:28 Obtaining date and time settings from MySQL database 
for hostname skyline
2006-10-11 12:50:28 Processing Mythburn job number 1.
2006-10-11 12:50:28 Options - mediatype = 0, doburn = 1, createiso = 0, 
erasedvdrw = 0
2006-10-11 12:50:28           savefilename = ''
2006-10-11 12:50:28 Looking for: 
/usr/local/share/mythtv/mytharchive/themes/Simple - Autoplay/theme.xml
2006-10-11 12:50:28 Loading font 0, /usr/local/share/mythtv/FreeSans.ttf 
size 23
2006-10-11 12:50:28 Loading font 1, /usr/local/share/mythtv/FreeSans.ttf 
size 18
2006-10-11 12:50:28 Loading font 2, /usr/local/share/mythtv/FreeSans.ttf 
size 16
2006-10-11 12:50:28 wantIntro: 0, wantMainMenu: 0, wantChapterMenu:0, 
wantDetailsPage: 0
2006-10-11 12:50:28 Final DVD Video format will be pal
2006-10-11 12:50:28 There are 1 files to process
2006-10-11 12:50:28 Pre-processing file '1020_20061007193000.mpg' of 
type 'recording'
2006-10-11 12:50:28           Doctor Who
2006-10-11 12:50:29 Video resolution is 1280 by 720
2006-10-11 12:50:29 
*************************************************************
2006-10-11 12:50:29 Processing file 1020_20061007193000.mpg of type 
recording
2006-10-11 12:50:29 
*************************************************************
2006-10-11 12:50:29 File type is 'mpegts'
2006-10-11 12:50:29 Video codec is 'mpeg2video'
2006-10-11 12:50:29 File has a cut list - running mythtrancode to remove 
unwanted segments
2006-10-11 12:55:35 File will be re-encoded using profile SP
2006-10-11 12:55:35 Preferred audio languages eng and eng
2006-10-11 12:55:35 Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), 
Audio2: [-1] - 0x-1 (N/A, N/A)
2006-10-11 12:55:35 Aspect ratio is 16:9
2006-10-11 12:55:35 Re-encoding audio and video
2006-10-11 12:55:35 Encoding profile (SP) found
2006-10-11 12:55:35 ffmpeg -v 1 -i "/mythtv/tmp/archive/work/1/tmp" -r 
pal -target dvd -b 4771 -s 720x576 -acodec copy -copyts -aspect 16:9 
"/mythtv/tmp/archive/work/1/newfile2.mpg" -map 0:0 -map 0:1
2006-10-11 13:31:48 Preferred audio languages eng and eng
2006-10-11 13:31:48 Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), 
Audio2: [-1] - 0x-1 (N/A, N/A)
2006-10-11 13:31:48 Splitting MPEG stream into audio and video parts
2006-10-11 13:31:48 Running: mythreplex --demux  --fix_sync -o 
/mythtv/tmp/archive/work/1/stream -v 224 -c 128 
"/mythtv/tmp/archive/work/1/newfile2.mpg"
2006-10-11 13:32:29 Audio is already in ac3 format
2006-10-11 13:32:29 Extracting thumbnail image from 
/mythtv/tmp/archive/work/1/stream.mv2 at position 0
2006-10-11 13:32:29 Destination file 
/mythtv/tmp/archive/work/1/thumbnail.jpg
2006-10-11 13:32:31 
*************************************************************
2006-10-11 13:32:31 Finished processing file 1020_20061007193000.mpg
2006-10-11 13:32:31 
*************************************************************
2006-10-11 13:32:31 Creating DVD XML file for dvd author (No Menus)
2006-10-11 13:32:31 Adding item 1
2006-10-11 13:32:31 Total size of video files, before multiplexing, is 
188 Mbytes, audio is 148 MBytes, menus are 0 MBytes.
2006-10-11 13:32:31 Video will fit onto DVD. 4136.6 MBytes of space 
remaining on recordable DVD.
2006-10-11 13:32:31 Multiplexing MPEG stream to 
/mythtv/tmp/archive/work/1/final.mpg
2006-10-11 13:32:31 Available streams - video and one audio stream
2006-10-11 13:32:31 Multiplex started PID=6957
2006-10-11 13:32:31 Starting dvdauthor
2006-10-11 13:33:06 Finished  dvdauthor
2006-10-11 13:33:06 Burning ISO image to /dev/dvd

In the case above, MythArchive user interface suggested the file size 
would be about 2GB, but instead it's only 188MB.

I get similar results using the HQ profile:

2006-10-11 13:46:28 Encoding profile (HQ) found
2006-10-11 13:46:28 Pass 1 - ffmpeg -v 1 -i 
"/mythtv/tmp/archive/work/1/tmp" -r pal -target dvd -b 9000 -s 720x576 
-acodec copy -copyts -aspect 16:9 
"/mythtv/tmp/archive/work/1/newfile2.mpg" -pass 1no -passlogfile 
1logfile -map 0:0 -map 0:1
2006-10-11 14:22:38 Pass 2 - ffmpeg -v 1 -i 
"/mythtv/tmp/archive/work/1/tmp" -r pal -target dvd -b 9000 -s 720x576 
-acodec copy -copyts -aspect 16:9 
"/mythtv/tmp/archive/work/1/newfile2.mpg" -pass 2no -passlogfile 
2logfile -map 0:0 -map 0:1
2006-10-11 14:58:45 Preferred audio languages eng and eng
2006-10-11 14:58:45 Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), 
Audio2: [-1] - 0x-1 (N/A, N/A)
2006-10-11 14:58:45 Splitting MPEG stream into audio and video parts
2006-10-11 14:58:45 Running: mythreplex --demux  --fix_sync -o 
/mythtv/tmp/archive/work/1/stream -v 224 -c 128 
"/mythtv/tmp/archive/work/1/newfile2.mpg"
2006-10-11 14:59:27 Audio is already in ac3 format
2006-10-11 14:59:27 Extracting thumbnail image from 
/mythtv/tmp/archive/work/1/stream.mv2 at position 0
2006-10-11 14:59:27 Destination file 
/mythtv/tmp/archive/work/1/thumbnail.jpg
2006-10-11 14:59:28 
*************************************************************
2006-10-11 14:59:28 Finished processing file 1020_20061007193000.mpg
2006-10-11 14:59:28 
*************************************************************
2006-10-11 14:59:28 Creating DVD XML file for dvd author (No Menus)
2006-10-11 14:59:28 Adding item 1
2006-10-11 14:59:28 Total size of video files, before multiplexing, is 
188 Mbytes, audio is 148 MBytes, menus are 0 MBytes.

Once again, the final file size is 188MB.

Am I missing something here? Or is there a bug?

Thanks,
Leighton


More information about the mythtv-users mailing list