Ticket #9420 (closed Bug Report: fixed)
Opened 2 years ago
Last modified 2 years ago
AV out of sync when play rmvb file
| Reported by: | jidping@… | Owned by: | tralph |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.24.1 |
| Component: | MythTV - Video Playback | Version: | Unspecified |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
AV out of sync when playing rmvb file with Mythvideo Internal player. Please see attached file for logs and version info. Thanks.
Attachments
Change History
comment:2 Changed 2 years ago by robertm
- Status changed from new to infoneeded_new
- Component changed from Plugin - MythVideo to MythTV - Video Playback
Please provide a sample file as well as logs with -v playback. We also need you to test with current .24-fixes, at least version 21b99f1ae71e5ce5c033 please.
comment:3 Changed 2 years ago by jidping@…
Upgraded my frontend and same result.
mythfrontend.real --version Please attach all output as a file in bug reports. MythTV Version : 21b99f1 MythTV Branch : fixes/0.24 Network Protocol : 63 Library API : 0.24.20101129-1 QT Version : 4.6.2
Sample video file can be found here: http://www.megaupload.com/?d=9YXAFEDG. Thanks
Changed 2 years ago by jidping@…
- Attachment mythfrontend.log.gz added
frontend log with -v playback
comment:4 Changed 2 years ago by robertm
- Owner changed from robertm to jyavenard
- Status changed from infoneeded_new to assigned
- Component changed from MythTV - Video Playback to MythTV - Audio Output
Appears this might be an Audio issue, bouncing to JYA to have him look/try.
comment:5 follow-up: ↓ 6 Changed 2 years ago by tralph
- Status changed from assigned to infoneeded
jidping, that video plays poorly because ffmpeg reports the frame rate as 12 fps when it's actually 23.0 fps. There is nothing that mythtv can do about this until it is resolved in ffmpeg upstream. All pure ffmpeg players including XBMC and ffplay have the same issue as MythTV. If you want this fixed you'll need to file a roundup bug report at the ffmpeg website and follow the directions they have. Please respond back to this ticket with the roundup ticket number and we'll backport the fix when it is resolved.
comment:6 in reply to: ↑ 5 Changed 2 years ago by jidping@…
Replying to tralph:
jidping, that video plays poorly because ffmpeg reports the frame rate as 12 fps when it's actually 23.0 fps. There is nothing that mythtv can do about this until it is resolved in ffmpeg upstream. All pure ffmpeg players including XBMC and ffplay have the same issue as MythTV. If you want this fixed you'll need to file a roundup bug report at the ffmpeg website and follow the directions they have. Please respond back to this ticket with the roundup ticket number and we'll backport the fix when it is resolved.
Thanks for looking. My ffplay plays the file fine. I'm using ffmpeg (4:0.5.1-1ubuntu1) comes with Ubuntu Lucid.
I found a ffmpeg ticket at http://roundup.ffmpeg.org/issue814. It has a patch which claims fix the fps output for rmvb file. Please take a look. Thanks.
comment:7 Changed 2 years ago by wagnerrp
- Status changed from infoneeded to closed
- Resolution set to Upstream Bug
According to the comments in the linked FFMpeg ticket, the patches are only a partial fix to the problem. I'm marking this closed as an upstream bug for now. At such point that they are completed and committed, we can re-open this ticket and backport the fixes, pending the next FFMpeg sync.
comment:8 Changed 2 years ago by tralph
- Status changed from closed to new
- Resolution Upstream Bug deleted
XBMC is currently using the following patch
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/94688
Not many people using RV anymore anyways so I'll commit and backport when I get a chance to test.
comment:9 Changed 2 years ago by tralph
- Owner changed from jyavenard to tralph
- Status changed from new to accepted
- Component changed from MythTV - Audio Output to MythTV - Video Playback
- Milestone changed from unknown to 0.24.1
comment:10 Changed 2 years ago by tralph
More specifically the following patch is what is used by XBMC to fix the frame rate detection problem:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/101003
comment:11 Changed 2 years ago by tralph
- Status changed from accepted to closed
- Resolution set to Fixed
comment:12 Changed 2 years ago by Taylor Ralph
- Resolution changed from Fixed to fixed
Fix frame rate detection for RM video files with patch used by XBMC.
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/101003
Fixes #9420.
Changeset: 3128c78d6edf6ae01fb3b7af1d631d7ed77a0093

Frontend log: