[mythtv-users] Mets data (still)

James Linder jam at tigger.ws
Mon Dec 3 02:42:22 UTC 2018


Hi
One of the channels in Oz transmits h264 data that chokes mythtranscode. To deal with that I wrote a script that:

extracts the cutlist
recodes using mythffmpeg
applies the cutlist

If it is of interest I put part of the script below.

I used the scrip to prepare ‘The Bourne Ultimatum’, ‘The  Bourne Legacy’ and ‘The Accountant’ one after the other.

My Videos folder shows ‘The Bourne Ultimatum’ and ‘The  Bourne Legacy’ populated with cover art and with movie description while ‘The Accountant’ has no art and no metadata.

How could I debug ?

Running
[sandypit] /home/jam [643]% mythmetadatalookup --refresh-all-artwork
2018-12-03 10:30:54.274170 C  mythmetadatalookup version: fixes/29 [v29.1-15-g280138b] www.mythtv.org
2018-12-03 10:30:54.274218 C  Qt version: compile: 5.6.1, runtime: 5.6.1
2018-12-03 10:30:54.274224 N  Enabled verbose msgs:  general
2018-12-03 10:30:54.274249 N  Setting Log Level to LOG_INFO
2018-12-03 10:30:54.285129 I  Added logging to the console
…
2018-12-03 10:30:55.249399 I  Television grabber not functional.  Aborting this run.

—————————————
[preamble]

cutlist=`mythutil --getcutlist -q -q --video $srcname | sed -e s/Cutlist://`
echo $cutlist

mythffmpeg -i $srcname -vcodec mpeg2video -acodec copy -aspect 16:9 $TMPNAME

mythutil --setcutlist $cutlist --video $TMPNAME

mythtranscode -i $TMPNAME --video -o "$dir$dstname" --honorcutlist --showprogress -m
stat=$?

———————————

Thanks
James


More information about the mythtv-users mailing list