[mythtv-commits] Ticket #9801: mythtranscode produces unusable output when transcoding mpeg4->mpeg4 with cutlists
MythTV
noreply at mythtv.org
Wed Jun 15 13:41:51 UTC 2011
#9801: mythtranscode produces unusable output when transcoding mpeg4->mpeg4 with
cutlists
------------------------------------+--------------------------------
Reporter: mythtv@… | Owner:
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - Mythtranscode | Version: 0.24-fixes
Severity: medium | Resolution:
Keywords: mythtranscode cutlist | Ticket locked: 0
------------------------------------+--------------------------------
Comment (by mythtv@…):
I am running using the atrpms version (0.24-272) of MythTV under
Fedora.
The attached log above shows all the verbose log information and should
capture
any of the messaged errors (though there don't seem to be any related
to this bug).
Note that the behavior can be replicated by running mythtranscode
directly from the CLI (see the original post). I did not however check
the shell exit code at the time. If that would be helpful, I could run
it again and check it.
Regarding your mention of MythTV checking exit codes before
overwriting the original, one suggestion for future versions of the
code may be to also sanity check the file size to avoid obvious
destructive overwriting of original recordings. For example, if the
output size is less than a few megabytes then either don't overwrite
(and signal an error) or overwrite but rename original rather than
deleting it.
Note such an added sanity check would have caught this bug where the
output files are 100-150KB. It also would have caught rare unexplained
cases I have observed in the past (unrelated to this bug) where the
output file is zero length.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9801#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list