Opened 15 years ago
Closed 15 years ago
#6285 closed patch (fixed)
Skip-back causes the livetv to start near the beginning
Reported by: | Natron | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | MythTV - Video Playback | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Instead of just skipping back 5 seconds, the livetv recording skips back to the beginning of the recording while the osd time only skips 5 seconds. Attached is a patch that solves this problem for me. I dont know if the two removed lines are still needed in some cases.
Attachments (6)
Change History (15)
Changed 15 years ago by
Attachment: | skip.patch added |
---|
comment:1 Changed 15 years ago by
Status: | new → infoneeded_new |
---|
comment:2 Changed 15 years ago by
i'm running trunk at about 20'030. will do an update now an apply the patch. i will also attach the relevant log output. should have done that earlier, sorry
comment:3 Changed 15 years ago by
I tried the patch from #6169 but the Problem is still persistent. Shall I collect more logging output?
comment:4 Changed 15 years ago by
Milestone: | unknown → 0.22 |
---|---|
Version: | unknown → head |
Yeah, another -v playback log that that includes the log messages from the startup of playback and the seek might be useful. Also what type of encoder/capture card is being used?
comment:5 Changed 15 years ago by
Ok, I think there is a race concerning the setting of the keyframedist when livetv is started.
The race is between the backend recorder inserting the initial position map into the DB and the frontend retrieving that position map and setting keyframedist via SyncPositionMap?(). When the frontend fails to get the position map the first time it attempts to fall back to ffmpeg seeking which is not supported for livetv.
The attached patch addresses this by adding a few checks for livetv and a check to ensure keyframedist is set correctly before it is used.
Changed 15 years ago by
Attachment: | livetv_keyframedist.diff added |
---|
comment:6 Changed 15 years ago by
With this patch, it doesn't start from the beginning anymore but it also does not skip back the five seconds. Attached is a more complete log with the patch applied. I tried to skip back multiple times.
It doesn't happen on every livetv, but if it does, it happens until I restart livetv. If it skips properly, it will work for the whole livetv recording.
comment:7 Changed 15 years ago by
Hmm, the seek2.log shows that the frontend is not getting a position map from the DB.
Attached is a new patch to replace the last patch. It will make additional attempts to retrieve the position map from the DB.
Changed 15 years ago by
Attachment: | livetv_keyframedist2.diff added |
---|
This sounds like it could be a seek related problem. What version of myth are you running?
Could you try the patch on #6169 instead of your patch and report if the problem is solved?
A mythfrontend log with -v playback would be helpful as well.