[mythtv-users] Struggling with MythArchive

Alan Chandler alan at chandlerfamily.org.uk
Thu Jan 3 12:30:16 UTC 2013


On 03/01/13 12:15, Alan Chandler wrote:
> On 03/01/13 12:01, Paul Harrison wrote:
>
>>
>> As to what is happening here I'm afraid from you description it's 
>> hard to tell :(
>
> Is there any more info that I can provide that might help?
>
Tried it again after an update just now which updated a few things from 
the mythubuntu repository

This is two recordings of the UK program "restless".  The first - which 
everyone saw I am trying to collapse right down so chose the EP profile, 
the second (which people didn't see) I am leaving at SP .  This allows 
the two recordings to just fit on a DVD.

However it fails on the first recording (If I leave this one out, then 
it will fail the same sort of way on the other recording).  Progress.log 
has the following
2013-01-03 12:20:39 
*************************************************************
2013-01-03 12:20:39 Processing recording 1: 
'/var/lib/mythtv/recordings/1050_20121227210000.mpg'
2013-01-03 12:20:39 
*************************************************************
2013-01-03 12:20:39 File type is 'mpegts'
2013-01-03 12:20:39 Video codec is 'h264 (High)'
2013-01-03 12:20:41 Preferred audio languages eng and eng
2013-01-03 12:20:41 Video id: 0x19c9, Audio1: [1] 0x19ca (AAC_LATM, 
eng), Audio2: [-1] - 0x-1 (N/A, N/A)
2013-01-03 12:20:41 Aspect ratio is 16:9
2013-01-03 12:20:41 Re-encoding audio and video
2013-01-03 12:20:41 Using encoder profiles from 
/usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_pal.xml
2013-01-03 12:20:41 Encoding profile (EP) found
2013-01-03 12:20:41 mythffmpeg -threads 4 -v 1 -i 
"/var/lib/mythtv/recordings/1050_20121227210000.mpg" -r pal -target dvd 
-b 1526k -s 352x288 -acodec ac3 -ab 128k -ac 2 -copyts -as
pect 16:9 "/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
2013-01-03 12:20:41 
************************************************************
2013-01-03 12:20:41 ERROR: Failed while running mythffmpeg to re-encode 
video.
Command was mythffmpeg -threads 4 -v 1 -i 
"/var/lib/mythtv/recordings/1050_20121227210000.mpg" -r pal -target dvd 
-b 1526k -s 352x288 -acodec ac3 -ab 128k -ac 2 -copyts -aspect 16:
9 "/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
2013-01-03 12:20:41 See mythburn.log for more information.
2013-01-03 12:20:41 
************************************************************
2013-01-03 12:20:41
2013-01-03 12:20:41 Terminated


And then mythburn.log has much the same
Input #0, mpegts, from '/var/lib/mythtv/recordings/1050_20121227210000.mpg':
   Duration: 01:32:16.24, start: 72381.567867, bitrate: 5026 kb/s
     Stream #0:0[0x19c9]: Video: h264 (High), yuv420p, 1920x1080 [SAR 
1:1 DAR 16:9], 103.57 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x19ca](eng): Audio: aac_latm, 48000 Hz, stereo, s16
     Stream #0:2[0x19ce](eng): Audio: aac_latm, 48000 Hz, stereo, s16
     Stream #0:3[0x19cd](eng): Subtitle: dvb_subtitle
     Stream #0:4[0x19d2]: Data: dsmcc_b
     Stream #0:5[0x6f]: Data: dsmcc_b
/var/lib/mytharchive/temp/work/1/streaminfo.xml:-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="5536" 
duration="5536" 
filename="/var/lib/mythtv/recordings/1050_20121227210000.mpg" 
type="mpegts">
<streams count="6">
<video aspectratio="1.77778" bitrate="0" codec="h264 (High)" 
ffmpegindex="0" fps="25" height="1080" id="6601" 
start_time="6514.424514" streamindex="0" width="1920"/
 >
<audio bitrate="0" channels="2" codec="aac_latm" ffmpegindex="1" 
id="6602" language="eng" samplerate="48000" start_time="6514.341108" 
streamindex="1"/>
<audio bitrate="0" channels="2" codec="aac_latm" ffmpegindex="2" 
id="6606" language="eng" samplerate="48000" start_time="6514.372673" 
streamindex="2"/>
<subtitle codec="dvb_subtitle" ffmpegindex="3" id="6605" language="eng" 
streamindex="3"/>
<data codec="Data: dsmcc_b" streamindex="4"/>
<data codec="Data: dsmcc_b" streamindex="5"/>
</streams>
</file>
Preferred audio languages eng and eng
Video id: 0x19c9, Audio1: [1] 0x19ca (AAC_LATM, eng), Audio2: [-1] - 
0x-1 (N/A, N/A)
Aspect ratio is 16:9
Re-encoding audio and video
Using encoder profiles from 
/usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_pal.xml
Encoding profile (EP) found
mythffmpeg -threads 4 -v 1 -i 
"/var/lib/mythtv/recordings/1050_20121227210000.mpg" -r pal -target dvd 
-b 1526k -s 352x288 -acodec ac3 -ab 128k -ac 2 -copyts -aspect 16:9 
"/var/lib/
mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
************************************************************
ERROR: Failed while running mythffmpeg to re-encode video.
Command was mythffmpeg -threads 4 -v 1 -i 
"/var/lib/mythtv/recordings/1050_20121227210000.mpg" -r pal -target dvd 
-b 1526k -s 352x288 -acodec ac3 -ab 128k -ac 2 -copyts -aspect 16:
9 "/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1
See mythburn.log for more information.
************************************************************

Terminated



-- 
Alan Chandler
http://www.chandlerfamily.org.uk



More information about the mythtv-users mailing list