[mythtv] MythArchive has been added to svn - Please test

Robin Gilks g8ecj at gilks.org
Fri May 5 10:21:28 UTC 2006


> I've just added to svn the first release of MythArchive which is a new
> plugin for myth that allow you create DVD's from your myth recordings.
> Its still a work in progress but is at a stage where I would like people
> to test it so I can get some feed back on what works and what doesn't.
> At the moment its in svn as a separate module but eventually when its
> had more testing and is more complete it will probably be moved in with
> the other plugins. Its based on the old MythBurn scripts but has been
> rewritten to reduce the number of dependencies and to hopefully make it
> easier to install.
>
> I've created a  wiki page giving more details of what MythArchive can do
> and how to install it.
> http://www.mythtv.org/wiki/index.php/MythArchive
>
> Paul H.
>

I've hit a problem with IVTV files already - ffmpeg fails as I don't have
a third stream so the map 0:2 fails.

Copying the failed ffmpeg commandline and substituting -map 0:1 seems to
do the trick so the detection of the audio stream is failing? I'm in a PAL
country so is this the problem?

This is what I get with the original ffmpeg command line:

g8ecj at zeus ~ $ ffmpeg -v 1 -i /mnt/store/2052_20060501200200.mpg -r pal
-target dvd -b 3000 -s 720x576 -ab 192 -copyts -aspect 4:3
/mnt/tmp/mythburn/work/1/newfile2.mpg -map 0:0 -map 0:2
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --enable-shared-pp
--enable-shared --disable-static --enable-mmx --disable-altivec
--disable-debug --enable-mp3lame --disable-a52 --disable-a52bin
--enable-audio-oss --disable-v4l --disable-dv1394 --disable-dc1394
--disable-pthreads --enable-xvid --enable-libogg --enable-vorbis
--disable-theora --disable-dts --disable-network --enable-zlib
--enable-ffplay --enable-faad --enable-faac --disable-faadbin
--enable-gpl --enable-pp --disable-opts --build=i686-pc-linux-gnu
  built on Feb 15 2006 12:43:24, gcc: 3.4.4 (Gentoo 3.4.4-r1,
ssp-3.4.4-1.0, pie-8.7.8)
Input #0, mpeg, from '/mnt/store/2052_20060501200200.mpg':
  Duration: 00:37:55.0, start: 0.276122, bitrate: 3309 kb/s
  Stream #0.0[0x1e0], 25.00 fps: Video: mpeg2video, yuv420p, 320x576, 4200
kb/s
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
Assuming PAL for target.
File '/mnt/tmp/mythburn/work/1/newfile2.mpg' already exists. Overwrite ?
[y/N] y
Could not find input stream #0.2




This is what I get with the correct audio stream number:

g8ecj at zeus ~ $ ffmpeg -v 1 -i /mnt/store/2052_20060501200200.mpg -r pal
-target dvd -b 3000 -s 720x576 -ab 192 -copyts -aspect 4:3
/mnt/tmp/mythburn/work/1/newfile2.mpg -map 0:0 -map 0:1
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --enable-shared-pp
--enable-shared --disable-static --enable-mmx --disable-altivec
--disable-debug --enable-mp3lame --disable-a52 --disable-a52bin
--enable-audio-oss --disable-v4l --disable-dv1394 --disable-dc1394
--disable-pthreads --enable-xvid --enable-libogg --enable-vorbis
--disable-theora --disable-dts --disable-network --enable-zlib
--enable-ffplay --enable-faad --enable-faac --disable-faadbin
--enable-gpl --enable-pp --disable-opts --build=i686-pc-linux-gnu
  built on Feb 15 2006 12:43:24, gcc: 3.4.4 (Gentoo 3.4.4-r1,
ssp-3.4.4-1.0, pie-8.7.8)
Input #0, mpeg, from '/mnt/store/2052_20060501200200.mpg':
  Duration: 00:37:55.0, start: 0.276122, bitrate: 3309 kb/s
  Stream #0.0[0x1e0], 25.00 fps: Video: mpeg2video, yuv420p, 320x576, 4200
kb/s
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
Assuming PAL for target.
File '/mnt/tmp/mythburn/work/1/newfile2.mpg' already exists. Overwrite ?
[y/N] y
Output #0, dvd, to '/mnt/tmp/mythburn/work/1/newfile2.mpg':
  Stream #0.0,   nan fps: Video: mpeg2video, yuv420p, 720x576, q=2-31,
3000 kb/s
  Stream #0.1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  223 q=0.0 Lsize=    3530kB time=8.4 bitrate=3462.4kbits/s
video:3175kB audio:196kB global headers:0kB muxing overhead 4.737364%
Received signal 2: terminating.

which looks much more encouraging.

-- 
Robin Gilks




More information about the mythtv-dev mailing list