[mythtv-users] Mytharchive only creating ISO's suitable for CDROM and not for DVD

John Drescher drescherjm at gmail.com
Mon Jan 29 15:53:20 UTC 2007


On 1/29/07, Koen Van Impe <koen.vanimpe at belnet.be> wrote:
> Hi,
>
> I'm having somewhat of a weird problem with mytharchive. I'm running
> mytharchive 0.20_p11222 on Gentoo (2.6 kernel).
>
> After a recent package-upgrade whenever I want to create a DVD from
> mytharchive it creates ISO-files that range in size between 500 to 600
> MB. It seems like it has a "limit" of CD-ROM size iso's, everything
> worked perfectly before. I can not figure out what package seems to be
> wrong or where/how I can repair things.
>
> Below is the output of the progress log. The file 'newfile.mpg' is about
> 6.5GB. The file 'newfile2.jpg' is no longer there. The files are located
> on a local filesystem, not on a mounted volume.
>
> Any help on how to debug this would be great.
>
>
> 2007-01-29 08:07:55 There are 1 files to process
> 2007-01-29 08:07:55 Pre-processing file '5_20070126222400.mpg' of type
> 'recording'
> 2007-01-29 08:07:55           Cult Night: The Gathering
> 2007-01-29 08:07:55 Video resolution is 480 by 480

This is your first problem. Because your video resolution is not DVD
compliant your videos will be resized to a video compliant resolution.
For ntsc you need to change that to 720x480 or 704x480. For PAL I am
not sure. You change this in the following menu of mythfrontend:
utilities/setup-> Setup -> TV Settings -> Recording profile -> MPEG2
Encoders -> Default. Then press next.

> 2007-01-29 08:07:55
> *************************************************************
> 2007-01-29 08:07:55 Processing file 5_20070126222400.mpg of type recording
> 2007-01-29 08:07:55
> *************************************************************
> 2007-01-29 08:07:55 File type is 'mpeg'
> 2007-01-29 08:07:55 Video codec is 'mpeg2video'
> 2007-01-29 08:07:55 Running mythtranscode --mpeg2 to fix any errors
> 2007-01-29 08:24:50 File will be re-encoded using profile SP
> 2007-01-29 08:24:53 Preferred audio languages eng and eng
> 2007-01-29 08:24:53 Video id: 0x1e0, Audio1: [1] 0x1c0 (MP2, N/A),
> Audio2: [-1] - 0x-1 (N/A, N/A)
> 2007-01-29 08:24:53 Aspect ratio is 4:3
> 2007-01-29 08:24:53 Re-encoding audio and video
> 2007-01-29 08:24:53 Encoding profile (SP) found
> 2007-01-29 08:24:53 ffmpeg -v 1 -i
> "/mnt/store/mytharchive/work/1/newfile.mpg" -r pal -target dvd -b 4771
> -s 720x576 -acodec ac3 -ab 192 -ac 2 -copyts -aspect 4:3
> "/mnt/store/mytharchive/work/1/newfile2.mpg" -map 0:0 -map 0:1

I believe this the second problem. Because your video is not  the
proper resolution it needs to be scaled to a proper resolution with
ffmpeg. The problem here is that at some point the ffmpeg devs decided
to change the -b paramater to = bits per second instead of kilibits
per second so with newer versions of ffmpeg you run into this problem.
I believe the fix is to edit the
/usr/share/mythtv/mytharchive/scripts/mythburn.py file and fix it so
that the call above states -b in kilobits.

John


More information about the mythtv-users mailing list