Ticket #9120 (closed patch: fixed)
Opened 3 years ago
Last modified 2 years ago
smoother play start
| Reported by: | markspieth | Owned by: | markk |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.25 |
| Component: | MythTV - Video Playback | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
currently on initial AV sync mismatch, AVSync drops or advances frames until stability is reached.
patch comes in 2 parts, independent.
- discard any initial audio prior to initial video timecode.
- unpause decoder after all subsystems are running. this reduces the initial AV difference by 1/2 sec thus requiring less time to reach sync equilibrium.
Attachments
Change History
Changed 3 years ago by markspieth
- Attachment 17-smoother_play_start added
Changed 3 years ago by markspieth
- Attachment 32-start-play-fast added
reduce startup avsync mismatch
comment:2 Changed 2 years ago by J.Pilk@…
Using 0.24-fixes with dvb-t recording edited by Project-X. Playback start is often messy with several video frames dropped. Go to edit mode, back to start, play,( keys e, PageUp?, e) gives smooth takeup from the intended edit point. Reported http://www.gossamer-threads.com/lists/mythtv/users/469368.
Current version info - Fedora 13 x86_64 latest build from ATrpms installed 25 Jan 2011 MythTV Version : v0.24-118-gec67bfb MythTV Branch : fixes/0.24 Network Protocol : 63 Library API : 0.24.20101129-1 QT Version : 4.6.3
comment:3 Changed 2 years ago by markk
- Owner changed from janne to markk
- Status changed from assigned to accepted
- Milestone changed from unknown to 0.25
Mark - these patches seems reasonable and there are no obvious issues in testing. I was however expecting to see more of an impact. I don't for example see any audio packets being dropped in actual usage - from tv to recordings to dvd and bluray.
Given there have been a number of changes in this area in recent times, can you confirm the patches are still behaving as you expect? (or more accurately, giving the desired benefit)
thanks and regards, Mark
comment:4 Changed 2 years ago by Mark Spieth <>
AvFormatDecoder?: Discard any initial audio packets prior to initial video timecode.
Refs #9120
Signed-off-by: Mark Kendall <mkendall@…>
Changeset: caf431c7c643040fd646345bbb8c41bb3e77ea13
comment:5 Changed 2 years ago by Mark Spieth <>
- Status changed from accepted to closed
- Resolution set to fixed
MythPlayer?: Start the decoder paused and unpause it only when ready.
This has a clear benefit on a number of different recordings and sample clips and often completely eliminates the initial av sync adjustment.
Closes #9120
Signed-off-by: Mark Kendall <mkendall@…>
Changeset: 0b1f9d2b96111a8ec27229945b3d397b5c2a5927

dump prior audio