Opened 13 years ago
Closed 12 years ago
#10584 closed Bug Report - General (Fixed)
mpeg2 seektable generators are inconsistent
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.26.1 |
Component: | MythTV - General | Version: | 0.25 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
mythtv-0.25-283_v0.25_rc_156_g02216ca.el6.rpm fromATrpms
Seektables generated during recording, or by mythcommflag --rebuild, or by mythtranscode --mpeg2 --buildindex, are not the same. I demonstrated this by making MythArchives? of a short recording 'raw' and after running each command, and examining the .xml files created. The mythcommflag version does not include a mark=0 entry and the offsets (byte positions) from both commflag and transcode are then consistently 188 bytes greater than the 'raw' value. Maybe a within-packet offset got counted twice?
This was a recording from dvb-t. I'll check to see if HD dvb-t2 recordings show a similar raw/mythcommflag discrepancy.
raw <recordedseek>
<mark offset="188" type="9" mark="0"/> <mark offset="461164" type="9" mark="30"/>
mythcommflag <recordedseek>
<mark offset="461352" type="9" mark="30"/> <mark offset="812724" type="9" mark="60"/>
mythtranscode <recordedseek>
<mark offset="376" type="9" mark="0"/> <mark offset="461352" type="9" mark="30"/>
Change History (6)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Owner: | set to beirdo |
---|---|
Status: | new → assigned |
I'll take a look at this.
comment:3 Changed 13 years ago by
Thanks for that. This is relevant too. http://code.mythtv.org/trac/ticket/10606#comment:4
comment:4 Changed 13 years ago by
FWIW, we should probably remove one or both of mythtranscode --buildindex and mythcommflag --rebuild (if removing both, the functionality would go into mythutil, instead--since rebuilding the seek data is neither transcoding the recording nor flagging commercials).
comment:5 Changed 13 years ago by
More observations on this here:
http://www.gossamer-threads.com/lists/mythtv/users/520055#520055
With dvb-t2 HD recording: here the discrepancy in frame numbering is a complete keyframe interval. FWIW the recording was started mid-programme, from the EPG screen.
raw:
commflag: