Ticket #10584 (closed Bug Report - General: Fixed)
Opened 13 months ago
Last modified 8 weeks ago
mpeg2 seektable generators are inconsistent
| Reported by: | J.Pilk@… | 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"/>
Attachments
Change History
comment:1 Changed 13 months ago by J.Pilk@…
comment:2 Changed 13 months ago by beirdo
- Owner set to beirdo
- Status changed from new to assigned
I'll take a look at this.
comment:3 Changed 13 months ago by J.Pilk@…
Thanks for that. This is relevant too. http://code.mythtv.org/trac/ticket/10606#comment:4
comment:4 Changed 13 months ago by mdean
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 11 months ago by J.Pilk@…
More observations on this here:
http://www.gossamer-threads.com/lists/mythtv/users/520055#520055
comment:6 Changed 8 weeks ago by stichnot
- Status changed from assigned to closed
- Resolution set to Fixed
- Milestone changed from unknown to 0.26.1

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: