Skip to content

cutlist editor not correctly displaying current position in recording #1195

@white-haired-uncle

Description

@white-haired-uncle
  • Platform:

Debian 13
Linux hawkeye 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Thu Jun 26 15:50:39 UTC 2025 x86_64 GNU/Linux

  • MythTV version:
Please attach all output as a file in bug reports.
MythTV Version : v36-Pre-540-g0d422b0dbc
MythTV Branch : master
Network Protocol : 91
Library API : 36.20250212-1
QT Version : 5.15.15
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_airplay using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_firewire_linux using_frontend using_hdhomerun using_iptv using_satip using_vbox using_ceton using_joystick_menu using_libcrypto using_gnutls using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl using_egl using_qtwebengine using_qtscript using_qtdbus using_sqlite3 using_taglib using_v4l2 using_v4l2prime using_x11 using_system_libexiv2 using_system_libbluray using_system_libudfread using_systemd_notify using_systemd_journal using_drm using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_egl using_drm using_vaapi using_nvdec using_vdpau using_qtwebengine using_ffmpeg_threads using_mheg using_libass using_libxml2
  • Package version:

  • Component:
    mythfrontend

What steps will reproduce the bug?

Recording is here:
https://mega.nz/folder/NrE3CI7D#kLOELT2BYUFGX6h69yDgNw

  1. At 0:08, edit, cut to beginning
  2. Skip ahead 6 minutes if desired
  3. Watch until 7:06. With subtitles on, the sub for the theme song will show before the music starts.
  4. Edit, create cut point.
  5. Set skip to 20 seconds, skip ahead twice using right arrow
  6. Note the time is 7:46 (I do not believe this is correct, and this I believe is the important part), the scene is a dark street.
  7. Set skip to 5 seconds and skip backward, counting steps. This step is not consistent, you may end up at the beginning of the cut (7:06) after 8 skips, or it may take many more than 8.
  8. From 7:06, skip forward 5 seconds x8.
  9. Note that you are at 7:46 (I believe this is the "real" 7:46). Not on a dark street, but in a commercial.
  10. Skip ahead 5sec x 7 to 8:21, returning to the approximate scene in step 6.

A. Delete cut list, exit, watch recording from beginning.
B. Repeat steps 1-6 above
C. Exit edit mode and watch from "7:46". Strange things happen, including temporary loss of sound.

How often does it reproduce? Is there a required condition?

For this series, I always see it at the first commercial break. I should note that this series looks pretty bad, like they're running as little bandwidth as possible. Any motion leads to blockiness in the recording (it's not just mythtv). I haven't noticed what I would all errors (with possible exception of subtitles, I don't know if they are errors or just mistakes, but there's some that just aren't right), just really poor picture quality.

For another series (since forgotten), I saw it consistently at either the last commercial break or the beginning of the end
credits - I forget the details but the important part is it was always at the same place (near the end) FOR THAT SERIES.

What is the expected behaviour?

Skipping ahead 40 seconds should land me about 40 seconds farther into the recording (with a little wiggle room for "keyframes" or whatever the term is), and skipping back the same amount should take me back to roughly where I started.

What do you see instead?

Additional information

MariaDB [mythconverg]> select * from recorded where chanid=2134 and starttime=20250429190000 \G
*************************** 1. row ***************************
         chanid: 2134
      starttime: 2025-04-29 19:00:00
        endtime: 2025-04-29 20:00:29
          title: The Unit
       subtitle: Hero
    description: A new team member joins the unit; Jonas coaches Betsy before her media tour.
         season: 4
        episode: 15
       category: Drama
       hostname: hawkeye
       bookmark: 0
       lastplay: 1
        editing: 0
        cutlist: 1
     autoexpire: 0
    commflagged: 0
       recgroup: Default
       recordid: 1333
       seriesid: EP00753792
      programid: EP007537920063
        inetref: 
   lastmodified: 2025-10-09 15:57:05
       filesize: 666712108
          stars: 0
previouslyshown: 1
originalairdate: 2009-03-08
       preserve: 0
         findid: 0
  deletepending: 0
     transcoder: 0
    timestretch: 1
    recpriority: 0
       basename: 2134_20250429190000.ts
      progstart: 2025-04-29 19:00:00
        progend: 2025-04-29 20:00:00
      playgroup: Default
        profile: Default
      duplicate: 1
     transcoded: 0
        watched: 0
   storagegroup: Default
 bookmarkupdate: 2025-10-09 15:53:31
     recgroupid: 1
     recordedid: 15933
      inputname: Input 1


MariaDB [mythconverg]> select count(offset) from recordedseek where chanid=2134 and starttime=20250429190000;
+---------------+
| count(offset) |
+---------------+
|          8344 |
+---------------+

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions