Skip to content

Seeking videos crashes #1222

@rolle5

Description

@rolle5
  • Platform:

  • Ubuntu 24.04.3 LTS, Kernel 6.14.0-36-generic

  • Linux Mint 22 Cinnamon, Kernel 6.8.0-88-generic, X11

  • MythTV version: v35

  • Package version: ppa:mythbuntu/35, v35.0+fixes.202512040136.187b4cc6ca~ubuntu24.04.1 (Branch: fixes/35)

  • Component: internal MyThTV player

What steps will reproduce the bug?

Select a video (under "Media Library/Watch Videos") and play the video. Playback works fine, but when seeking (using the "Right Arrow" key), the video freezes, "Searching" appears as MythTV on screen element and after a while (ca. 60 secs) MythTV crashes and restarts.
This happens with most of my own ffmpeg-encoded videos (*.avi, *.mkv, *mp4).
The problem is, all video files work flawlessly in previous MythTV versions and other players (e.g. VLC) since years.
As workaround I use now the setting in the MythTV-Frontend "Default Player: vlc").

My coding steps:
mythtranscode --chanid $CHANID --starttime $STARTTIMEUTC --honorcutlist --mpeg2 -o "video.cutted.mpg"
ffmpeg -y -threads 0 -i "video.cutted.mpg" -codec:v libx264 -preset slow -filter:v yadif,scale=1024:576,setsar=1:1 -sws_flags lanczos -b:v 1000k -pass 1 -map 0:v -codec:a copy -map 0:1 -f mp4 "$TITLE_FRIENDLY_FILE.pass1.mp4" &>"ffmpeg.pass1.txt"
ffmpeg -y -threads 0 -i "video.cutted.mpg" -codec:v libx264 -preset slow -filter:v yadif,scale=1024:576,setsar=1:1 -sws_flags lanczos -b:v 1000k -pass 2 -map 0:v -codec:a copy -map 0:1 -f mp4 "$TITLE_FRIENDLY_FILE.pass2.mp4" &>"ffmpeg.pass2.txt"

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

With problem videos it occurs 100 % reproducible.

What is the expected behaviour?

Playback and seeking in videos should work flawlessly, as in previous MythTV versions.

What do you see instead?

Video freezes and “Searching” is displayed as a MythTV element on the screen above the full-screen video playback.

Additional information

The problem occurs in my different settings (Ubuntu 24.04.3 LTS and Linux Mint 22). I think the problem is in the internal MythTV player. My video files are correct.

Metadata

Metadata

Assignees

No one assigned

    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