Opened 11 years ago

Closed 10 years ago

#5405 closed defect (fixed)

MythVideo playback glitches while playing ASF (wmv9) video

Reported by: dogshu@… Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: MythTV - Video Playback Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythVideo? has serious playback problems with Microsoft ASF format WMV9 video files. Specifically, I have problems playing the files produced by PBS of their "NewsHour?" program. It will randomly "skip", losing anywhere from a fraction of a second to several seconds of audio and video. This can happen several times in a short period, or only happen every few minutes.

A sample video on which mythvideo exhibits this problem (145 MB): http://dogshu.netlsd.com/080528_May_28,_2008.asf

The problem should be readily apparent within a few minutes of playing the above video with MythTV 0.21-fixes. mplayer, xine, and mythtv 0.20 have no problems playing the file.

The mythfrontend log fills up with these messages while playing the file: 2008-06-03 17:59:33.753 NVP::AddAudioData?():p1: Audio buffer overflow, audio data lost! 2008-06-03 17:59:33.988 NVP::AddAudioData?():p1: Audio buffer overflow, audio data lost!

however, I am not sure if they are related to the playback problem, since they fill up the log whether or not the video is skipping.

I am running mythtv-0.21-fixes svn revision 17429 on x86 Gentoo Linux. Please let me know if you have any questions.

Change History (6)

comment:1 Changed 11 years ago by Dibblah

Status: newassigned

In trunk, the symptoms seem to be different. The log contains:

2008-12-06 16:13:38.026 [wmv3 @ 0x7f562005f400]VOP DQuant info
2008-12-06 16:13:38.092 NVP: Video is 15.5701 frames ahead of audio,
			doubling video frame interval to slow down.
2008-12-06 16:13:38.092 [wmv3 @ 0x7f562005f400]MB Skip plane encoding: Imode: 3, Invert: 0
2008-12-06 16:13:38.092 [wmv3 @ 0x7f562005f400]VOP DQuant info
2008-12-06 16:13:38.159 NVP: Video is 15.6487 frames ahead of audio,
			doubling video frame interval to slow down.
2008-12-06 16:13:38.159 [wmv3 @ 0x7f562005f400]MB Skip plane encoding: Imode: 4, Invert: 0
2008-12-06 16:13:38.159 [wmv3 @ 0x7f562005f400]VOP DQuant info
2008-12-06 16:13:38.226 NVP: Video is 15.7151 frames ahead of audio,
			doubling video frame interval to slow down.
2008-12-06 16:13:38.226 [wmv3 @ 0x7f562005f400]MB Skip plane encoding: Imode: 3, Invert: 0

repeating. The audio sync never seems to correct itsself.

comment:2 Changed 10 years ago by Anduin Withers

Component: mythvideoMythTV - Video Playback
Owner: changed from Anduin Withers to Isaac Richards

comment:3 Changed 10 years ago by stuartm

Milestone: 0.21.10.22
Status: assignedinfoneeded

Can this be reproduced with current trunk?

comment:4 Changed 10 years ago by dogshu@…

This problem had been fixed in release-0-21-fixes for some time. Since then, I've switched to watching the Newshour via over the air broadcast video, so I haven't tried playing these ASF files for a month or so.

Now that I try to play them again, I am not seeing the issue reported in this thread, rather the video is being played at too fast a rate, giving the audio an "alvin and the chipmunks" sound. I remember seeing this issue before, and I was able to fix this with a configuration change, but I don't recall exactly how I fixed this (different) issue.

I am running mythtv-0.21-fixes svn revision 20779 on amd64 gentoo linux currently. I'm sorry, but I do not want to try upgrading to 0.22 just yet. This particular issue has been resolved in mythtv-0.21-fixes for several months. I consider this bug to be resolved, but if you want to be sure it works under 0.22, feel free to download the video from http://dogshu.netlsd.com/080528_May_28,_2008.asf and try it under 0.22 yourself.

comment:5 Changed 10 years ago by robert.mcnamara@…

Confirmed, plays nicely in trunk.

comment:6 Changed 10 years ago by stuartm

Resolution: fixed
Status: infoneededclosed
Note: See TracTickets for help on using tickets.