[mythtv-users] Playback of HDTV, HDHomeRun

Mike altmcf at gmail.com
Thu Feb 12 18:06:49 UTC 2009


On Wed, Feb 11, 2009 at 6:36 PM, Nick Rout <nick.rout at gmail.com> wrote:
> On Thu, Feb 12, 2009 at 3:17 PM, Mike <altmcf at gmail.com> wrote:
>
>> Tried running this script.  Has transcoded a few of the shows I was
>> having problems with using the built in transcoders.  Only issue is
>> the jump 30s, back 10s feature is messed up as mythtv still thinks it
>> is looking at the original file I suspect.  When I go into the delete
>> recordings section I still see the original file size, not the reduced
>> one.  Any ideas on a workaround to this?
>
> you probably need to reindex the file.
> http://www.mythtv.org/wiki/Repairing_the_Seektable
>
> whether that fixes the file size I do not know.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Running mythtranscode seems to repair the seek table correctly.  Tried
mythcommflag but ran into issues using it to repair ... skip functions
were flaky - sometimes it would do 30s and sometimes it would jump out
minutes.  Anyway, I added the code below to the script as a workaround
and things appear solid now.  When I go into manage recordings ->
delete recordings the file sizes still show up wrong.  Any ideas on
how to mod this user script to fix this issue?  So far the baseline
script has worked great on the transcoding itself - the internal
transcoders on my mythtv box (mythdora5 - straight from DVD install
disk - no updates) has had issues erroring out intermittently
depending on what was being transcoded (tried both RTJpeg/MPEG4).
Thanks to Roger Heflin!

-Mike

    if [ ${mythjob} -eq 1 ] ; then
#      echo "${0}: Running mythcommflag"
# mythcommflag does not fix the seek table correctly
#      nice -n 10 mythcommflag --rebuild -f "${filename}"
# rebuild the seek table using mythtranscode
      echo "${0}: Running mythtranscode to repair seek table"
      nice -n 10 mythtranscode --mpeg2 --buildindex --allkeys
--showprogress --infile "${filename}"
# delete original file when satisfied with functionality
#      rm -f "${filename}.orig"
    fi


More information about the mythtv-users mailing list