[mythtv-users] 0.27.1 stores wrong length in SD mpeg2 recordings

Hika van den Hoven hikavdh at gmail.com
Sat Jun 21 22:49:50 UTC 2014


Hoi Mark,

Sunday, June 22, 2014, 12:15:50 AM, you wrote:


>> mythcommflag --rebuild -f %FILE% works. I tested a file at the command
>> line and it now shows the correct duration. It however gave a decoding
>> error after finnishing: Unknown Error 541478725.
>> 

> I believe the error can be ignored. I always get the same / similar
> error message after every Mythcommflag run with no issues.
> _______________________________________________

Thanks I changed all my rules and templates to exclude transcoding and
to include the seektable rebuild job.
I'm now wondering ik commflagging will work correctly, for I have it
starting directly. Future will tell.
I'm also thinking of replacing the transcode command with a script
that first does a seektable rebuild before the transcoding and that
outputs the errorcode from the transcoding.
Something like:

#!/bin/bash
declare Filename=$1
if [ "$FileName" == "" ]; then
   exit 1
fi
/usr/bin/mythcommflag --rebuild -f $FileName

/usr/bin/transcode $FileName
exit $?

Do I have to add more? I'm not familiar with what transcode passes on
to the commandline.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list