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

Robin Gilks g8ecj at gilks.org
Fri May 5 21:31:03 UTC 2006


> Robin Gilks wrote:
>>> 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:
>>>
>>>
> <snip>
>
> Robin, Could you run the command
> mytharchivehelper -i /mnt/store/2052_20060501200200.mpg streaminfo.xml
> and email me the resulting streaminfo.xml file. That will tell me what
> stream(s) mytharchive thinks the file has.
> Also I will require the full progress.log.
>
> Thanks, Paul H.
>

Here we go...

g8ecj at zeus ~ $ mytharchivehelper -i /mnt/store/2052_20060501200200.mpg
streaminfo.xml
2006-05-06 08:03:23.744 Did not find format for
2006-05-06 08:03:23.744 Opening /mnt/store/2052_20060501200200.mpg
[mpeg @ 0xb62d6100]Parser not found for Codec Id: 94210 !
[mpeg @ 0xb62d6100]Could not find codec parameters (Video: mpeg2video)
0: start_time: 0.036 duration: 204.743
1: start_time: 183.390 duration: 204.794
2: start_time: 0.025 duration: 204.699
stream: start_time: 0.276 duration: 4312.881 bitrate=1745 kb/s
Input #0, mpeg, from '/mnt/store/2052_20060501200200.mpg':
  Duration: 01:11:52.8, start: 0.276122, bitrate: 1745 kb/s
  Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 320x576,
4200 kb/s
  Stream #0.1[0x69]: Data: 0x0000
  Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2006-05-06 08:03:23.922 Skipping unsupported codec 2 on stream 1
g8ecj at zeus ~ $ cat streaminfo.xml
<!DOCTYPE FILEINFO>
<file type="mpeg" duration="17"
filename="/mnt/store/2052_20060501200200.mpg" >
    <streams count="3" >
        <video width="320" aspectratio="1.33333" codec="mpeg2video"
fps="25" height="576" id="480" bitrate="4200000" streamindex="0"
/>
        <audio codec="mp2" samplerate="48000" id="448" bitrate="256000"
language="N/A" channels="2" streamindex="2" />
    </streams>
</file>

g8ecj at zeus /mnt/tmp/mythburn/logs $ cat mythburn.log
2006-05-05 22:37:35.035 Did not find format for
2006-05-05 22:37:35.035 Opening /mnt/store/2052_20060501200200.mpg
[mpeg @ 0xb626b100]Parser not found for Codec Id: 94210 !
[mpeg @ 0xb626b100]Could not find codec parameters (Video: mpeg2video)
Input #0, mpeg, from '/mnt/store/2052_20060501200200.mpg':
  Duration: 01:11:52.8, start: 0.276122, bitrate: 1745 kb/s
  Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 320x576,
4200 kb/s
  Stream #0.1[0x69]: Data: 0x0000
  Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
0: start_time: 0.036 duration: 204.743
1: start_time: 183.390 duration: 204.794
2: start_time: 0.025 duration: 204.699
stream: start_time: 0.276 duration: 4312.881 bitrate=1745 kb/s
2006-05-05 22:37:35.042 Skipping unsupported codec 2 on stream 1
2006-05-05 22:37:35.227 Did not find format for
2006-05-05 22:37:35.228 Opening /mnt/store/2052_20060501200200.mpg
[mpeg @ 0xb6285100]Parser not found for Codec Id: 94210 !
[mpeg @ 0xb6285100]Could not find codec parameters (Video: mpeg2video)
Input #0, mpeg, from '/mnt/store/2052_20060501200200.mpg':
  Duration: 01:11:52.8, start: 0.276122, bitrate: 1745 kb/s
  Stream #0.0[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 320x576,
4200 kb/s
  Stream #0.1[0x69]: Data: 0x0000
  Stream #0.2[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
0: start_time: 0.036 duration: 204.743
1: start_time: 183.390 duration: 204.794
2: start_time: 0.025 duration: 204.699
stream: start_time: 0.276 duration: 4312.881 bitrate=1745 kb/s
2006-05-05 22:37:35.234 Skipping unsupported codec 2 on stream 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.
Could not find input stream #0.2
mythburn.py (0.1.200604-1) starting up...
Process priority 8
script path:/usr/local/share/mythtv/mytharchive/scripts
myth share path:/usr/local/share/mythtv
passed job file: /mnt/tmp/mythburn/config/mydata.xml
passed progress log file: /mnt/tmp/mythburn/logs/progress.log
mythburn.py (0.1.200604-1) starting up...
Obtaining MythTV settings from MySQL database for hostname zeus
Obtaining date and time settings from MySQL database for hostname zeus
Processing Mythburn job number 1.
Options - mediatype = 0, doburn = 0, createiso = 1, erasedvdrw = 0
          savefilename = ''
Looking for: /usr/local/share/mythtv/mytharchive/themes/MythCenter/theme.xml
Loading font 0, /usr/local/share/mythtv/FreeSans.ttf size 23
Loading font 1, /usr/local/share/mythtv/FreeSans.ttf size 18
Loading font 2, /usr/local/share/mythtv/FreeSans.ttf size 16
wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1, wantDetailsPage: 0
Final DVD Video format will be pal
There are 1 files to process
Pre-processing file '2052_20060501200200.mpg' of type 'recording'
          Jamie's Great Italian Escape
Video resolution is 320 by 576
*************************************************************
Processing file 2052_20060501200200.mpg of type recording
*************************************************************
File codec is 'mpeg2video'
Preferred audio languages eng and enm
Video id: 1e0, Audio1: 1c0 (MP2, N/A), Audio2: -1 (N/A, N/A)
Aspect ratio is 4:3
File is not DVD compliant - Re-encoding audio and video
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
************************************************************
ERROR: Failed while running ffmpeg to re-encode video.
Command was 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
************************************************************

-- 
Robin Gilks





More information about the mythtv-dev mailing list