LinHES Forums
http://forums.linhes.org/

mythtranscode FAIL on mytharchive for recordings > 6GB
http://forums.linhes.org/viewtopic.php?f=17&t=19420
Page 1 of 1

Author:  mythman13 [ Mon Jan 12, 2009 3:31 pm ]
Post subject:  mythtranscode FAIL on mytharchive for recordings > 6GB

Hi, I've noticed a strange pattern emerging with mythtranscode when it runs during mytharchive to remove the unwanted bits of the digital recording which is bigger than 6GB - it always seems to fail with a buffer full error:

/myth/tmp/logs/mythburn.log extract:

Code:
*************************************************************
Processing recording 1: '/myth/tv/5163_20081226202700.mpg'
*************************************************************
File type is 'mpegts'
Video codec is 'mpeg2video'
File has a cut list - running mythtranscode to remove unwanted segments
2009-01-12 20:58:23.761 Using runtime prefix = /usr
2009-01-12 20:58:23.762 Empty LocalHostName.
2009-01-12 20:58:23.791 New DB connection, total: 1
2009-01-12 20:58:23.803 Closing DB connection named 'DBManager0'
2009-01-12 20:58:23.803 Enabled verbose msgs: important
2009-01-12 20:58:23.808 New DB connection, total: 2
2009-01-12 20:58:31.680 Deadlock detected.  One buffer is full when
                the other is empty!  Aborting
Failed while running mythtranscode to cut commercials and/or clean up an mpeg2 file
Result: 232, Command was mythtranscode --mpeg2 --honorcutlist -c 5163 -s 2008-12-26T20:27:00 -o /myth/tmp/work/1/newfile.mpg

Failed to run mythtranscode to remove unwanted segments
2009-01-12 20:58:32.049 Opening /myth/tv/5163_20081226202700.mpg
Input #0, mpegts, from '/myth/tv/5163_20081226202700.mpg':
  Duration: 02:28:56.2, start: 17280.331189, bitrate: 6078 kb/s
    Stream #0.0[0x258]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9$
    Stream #0.1[0x259](eng): Audio: mp2, 48000 Hz, stereo, 256 kb/s
    Stream #0.2[0x25a](eng): Audio: mp2, 48000 Hz, mono, 64 kb/s
    Stream #0.3[0x25b](eng): Subtitle: dvbsub
    Stream #0.4[0x3ed]: Data: 0x0000
    Stream #0.5[0x3ee]: Data: 0x0000
    Stream #0.6[0x3ef]: Data: 0x0000
    Stream #0.7[0x28a]: Data: 0x0000
    Stream #0.8[0x28b]: Data: 0x0000
    Stream #0.9[0x28c]: Data: 0x0000
2009-01-12 20:58:32.138 Calculating frame count
[NULL @ 0xb6a17e68]Junk in packet
2009-01-12 21:02:38.460 frames = 223323
2009-01-12 21:02:38.473 duration = 8932
2009-01-12 21:02:38.474 Extracting details from: 5163_20081226202700.mpg
2009-01-12 21:02:38.477 chanid: 5163 starttime:2008-12-26T20:27:00
2009-01-12 21:02:38.489 File is a Myth recording.
2009-01-12 21:02:38.490 cutframes = 17248
2009-01-12 21:02:38.490 cutduration = 689
streaminfo.xml :-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="8243" duration="893$
        <streams count="10">
                <video aspectratio="1.77778" bitrate="15000000" codec="mpeg2vid$
                <audio bitrate="256000" channels="2" codec="mp2" ffmpegindex="1$
                <audio bitrate="64000" channels="1" codec="mp2" ffmpegindex="2"$
                <subtitle codec="dvbsub" ffmpegindex="3" id="603" language="eng$
                <data codec="Data: 0x0000" streamindex="4"/>
                <data codec="Data: 0x0000" streamindex="5"/>
                <data codec="Data: 0x0000" streamindex="6"/>


Mythtranscode only seems to fail on recordings bigger than 6GB, it works just fine on smaller recordings with no errors.

Has anyone seen this behaviour before or found a work around?

cheers, Mythman

Author:  mythman13 [ Tue Jan 13, 2009 4:58 am ]
Post subject: 

This seems to be an ongoing problem:
http://www.gossamer-threads.com/lists/m ... its/214298
For reference the files which I am trying to mythtranscode are both being archived with the don't re-encode option.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/