[mythtv-users] MacOSX frontend & 1080i

Andrew Gallatin gallatin at cs.duke.edu
Mon Mar 12 14:27:26 UTC 2007


Is anybody able to play smooth, 1080i video using the MacOSX frontend?

After upgrading my Linux combined front/backend to 0.20-fixes, I
decided to try the MacOSX frontend on my 2.16GHz Core2 Duo iMac with a
Radeon x1600 (1680x1050 lcd).  I'm running the MacOSX binary from
http://www.goof.com/~mmead/MythFrontend-MacOSXUniversal-0.20-fixes-20061001.dmg.bz2.

Standard def, and 720p content works flawlessly, but 1080i has
annoying jerkiness. The same 1080i files play flawlessly with vlc.  I
have tried the hints in the Wiki, and have tried libmpeg2, etc, but to
no avail.  The machine is 65-75% idle when playing 1080i, so I don't
*think* CPU is the issue.  

One thing I've fixated on is the messages I find in the log when
I enable verbose playback.  This is printed roughly 4 times per
second:

2007-03-12 09:52:05.459 NVP: Video is 3.57936 frames ahead of audio,
                        doubling video frame interval to slow down.

According to -v audio,playback, the audio device seems to be setup
as 48000Hz, even though the bitrate of the AC3 audio is 384000
(log snippet below).  Could this be the problem?  I've left my
audio settings at their default, and don't have any passthroughs
enabled..

Thanks for any help you can offer,

Drew

PS: Here are some snippets from -v playback,audio

2007-03-12 09:52:01.236 TV: Attempting to change from None to WatchingPreRecorded
2007-03-12 09:52:01.240 RingBuf(/video/1051_20070312030500.mpg): OpenFile(/video/1051_20070312030500.mpg, 12)
2007-03-12 09:52:01.243 RingBuf(/video/1051_20070312030500.mpg): CalcReadAheadThresh(4000 KB)
                         -> threshhold(146 KB) min read(32 KB) blk size(64 KB)
0: start_time: 5990.753 duration: 323.573
1: start_time: 5990.729 duration: -9223372036854.775
stream: start_time: 66563.660 duration: 3595.524 bitrate=15522 kb/s
2007-03-12 09:52:01.594 AFD: Stream #0, has id 0x49 codec id MPEG2VIDEO, type Video, bitrate 45000000 at 0x0x1b28c7c0
2007-03-12 09:52:01.594 detectInterlace(Detect Scan, Interlaced Scan, 29.97, 1088) ->Interlaced Scan
2007-03-12 09:52:01.597 AFD: Looking for decoder for MPEG2VIDEO
2007-03-12 09:52:01.597 AFD: Opened codec 0x18be800, id(MPEG2VIDEO) type(Video)
2007-03-12 09:52:01.597 AFD: Stream #1, has id 0x52 codec id AC3, type Audio, bitrate 384000 at 0x0x1b28c9f0
2007-03-12 09:52:01.597 AFD: Looking for decoder for AC3
2007-03-12 09:52:01.598 AFD: Opened codec 0x18bfe00, id(AC3) type(Audio)
2007-03-12 09:52:01.598 AFD: Audio Track #1 is A/V stream #1 and has 2 channels in the English language(6647399).
2007-03-12 09:52:01.598 RingBuf(/video/1051_20070312030500.mpg): CalcReadAheadThresh(45384 KB)
                         -> threshhold(1662 KB) min read(32 KB) blk size(512 KB)
2007-03-12 09:52:01.598 AFD: Selected track 1: English AC3 2ch (A/V Stream #1)
2007-03-12 09:52:01.598 AFD: Initializing audio parms from audio track #1
2007-03-12 09:52:01.599 AFD: Audio format changed 
                        from id(NONE)    -1Hz -1ch   0bps    ; id(NONE)    -1Hz -1ch   0bps   
                        to   id( AC3) 48000Hz  2ch  16bps    ; id( AC3) 48000Hz  2ch  16bps   
2007-03-12 09:52:01.603 AO: Killing AudioOutputDSP
2007-03-12 09:52:01.764 AO: Audio fragment size: 0
2007-03-12 09:52:01.777 AO: Audio Stretch Factor: 1
2007-03-12 09:52:01.777 AO: Ending reconfigure
2007-03-12 09:52:01.777 Dec: Trying to select track (w/lang)
2007-03-12 09:52:01.777 Dec: Selecting first track
2007-03-12 09:52:01.778 Dec: Selected track #1 in the Unknown language(0)
2007-03-12 09:52:01.778 Resyncing position map. posmapStarted = 0 livetv(0) watchingRec(0)
2007-03-12 09:52:01.922 Position map filled from DB to: 93864
2007-03-12 09:52:01.923 SyncPositionMap prerecorded, from DB: 6459 entries
2007-03-12 09:52:01.923 SyncPositionMap, new totframes: 93864, new length: 3131, posMap size: 6459
2007-03-12 09:52:01.923 AFD: Position map found
2007-03-12 09:52:01.923 AFD: Successfully opened decoder for file: "/video/1051_20070312030500.mpg". novideo(0)
2007-03-12 09:52:01.974 VideoOutputQuartz::Init(width=1920, height=1088, aspect=1.77778, winid=14
 winx=0, winy=0, winw=1680, winh=1050, WId embedid=0)
2007-03-12 09:52:01.975 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2007-03-12 09:52:01.975 VideoOutputQuartz::VideoAspectRatioChanged(aspect=1.77778) [was 0]
<....>
2007-03-12 09:52:05.417 NVP: Video is 3.06417 frames ahead of audio,
                        doubling video frame interval to slow down.
2007-03-12 09:52:05.422 AO: Broadcasting free space avail
2007-03-12 09:52:05.434 AO: Broadcasting free space avail
2007-03-12 09:52:05.446 AO: Broadcasting free space avail
2007-03-12 09:52:05.457 AO: Broadcasting free space avail
2007-03-12 09:52:05.459 NVP: Video is 3.57936 frames ahead of audio,
                        doubling video frame interval to slow down.
2007-03-12 09:52:05.469 AO: Broadcasting free space avail
2007-03-12 09:52:05.481 AO: Broadcasting free space avail
2007-03-12 09:52:05.492 AO: Broadcasting free space avail
2007-03-12 09:52:05.504 AO: Broadcasting free space avail
2007-03-12 09:52:05.515 AO: Broadcasting free space avail
2007-03-12 09:52:05.527 AO: Broadcasting free space avail
2007-03-12 09:52:05.527 NVP: Video is 3.89831 frames ahead of audio,
                        doubling video frame interval to slow down.
2007-03-12 09:52:05.539 AO: Broadcasting free space avail


More information about the mythtv-users mailing list