Anybody helped you on that subject? Seems that all my recording on ABC problem with video going ahead of audio. It started about 4-5 weeks ago I believe. Really annoying. But then the playback is fine with VLC I believe, but not with internal player.<br>
<br>My wife not happy either... Men In Trees is the show for her...&nbsp; I still have my recording, just unwatchable with MythTv. ABC seems to be the only channel with the problem so far.<br><br><div class="gmail_quote">On Fri, Oct 19, 2007 at 11:14 AM, Craig Treleaven &lt;<a href="mailto:ctreleaven@cogeco.ca">ctreleaven@cogeco.ca</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi:<br>
<br>
I&#39;ve tried a changing settings, tried a bunch of stuff from the<br>
archive, and I still have a problem playing HDTV material recorded<br>
from ABC. &nbsp;Sorry for the length, I wanted to include some details.<br>
<br>
The problem-<br>
My wife is unhappy! &nbsp;She wants to watch Grey&#39;s Anatomy and Private Practice.<br>
Audio lags behind video by about 2 seconds on high-def material<br>
(720P) recorded from ABC (maddeningly, standard def commercials in<br>
the same file play OK--the lag begins again when the program resumes).<br>
VLC (0.8.6) plays the file OK.<br>
Local PBS also broadcasts 720P but recordings play OK.<br>
<br>
Environment-<br>
Myth 0.20.2<br>
FE/BE - Mac Intel Core 2 Duo 1.83 GHz mini under OSX 10.4.10,<br>
recording from HDHomerun, OTA source<br>
FE - Mac Intel Core Duo 1.66 GHz mini under OSX 10.4.10<br>
<br>
Tried with no success-<br>
Deinterlacing - off/Bob/Linear/One-field<br>
MPEG2 decoder - standard/libmpeg2<br>
Enable gamma correction for video - on/off<br>
User vector enhance color space conversion - on/off<br>
<br>
MythFrontend log extracts (remote FE)-<br>
...<br>
2007-10-19 10:16:01.832 mythfrontend version: 0.20.20070821-1 <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>
2007-10-19 10:16:01.832 Enabled verbose msgs: &nbsp;important general libav playback<br>
...<br>
2007-10-19 10:16:02.196 Using screen 0, 1280x1024 at 0,0<br>
2007-10-19 10:16:02.198 Switching to square mode (G.A.N.T.)<br>
2007-10-19 10:16:02.212 Using the Qt painter<br>
...<br>
2007-10-19 10:16:22.790 TV: Attempting to change from None to<br>
WatchingPreRecorded<br>
2007-10-19 10:16:22.794<br>
RingBuf(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>):<br>
OpenFile(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>, 12)<br>
2007-10-19 10:16:22.840<br>
RingBuf(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>):<br>
CalcReadAheadThresh(4000 KB)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; threshhold(402 KB) min read(32 KB) blk size(64 KB)<br>
mpegts_add_stream: at pid 0x31 with type 2<br>
mpegts_add_stream: stream #0, has id 0x31 and codec MPEG2VIDEO, type<br>
Video at 0x14e9430<br>
mpegts_add_stream: at pid 0x34 with type 129<br>
mpegts_add_stream: stream #1, has id 0x34 and codec AC3, type Audio<br>
at 0x19bf2610<br>
0: start_time: 3402.038 duration: 323.734<br>
1: start_time: 3402.038 duration: 323.726<br>
stream: start_time: 37800.417 duration: 3597.051 bitrate=15383 kb/s<br>
2007-10-19 10:16:26.527 AFD: Stream #0, has id 0x49 codec id<br>
MPEG2VIDEO, type Video, bitrate 65000000 at 0x0x14e9430<br>
2007-10-19 10:16:26.530 detectInterlace(Detect Scan, Interlaced Scan,<br>
59.9401, 720) -&gt;Progressive Scan<br>
2007-10-19 10:16:26.531 AFD: Looking for decoder for MPEG2VIDEO<br>
2007-10-19 10:16:26.531 AFD: Opened codec 0x1885a00, id(MPEG2VIDEO) type(Video)<br>
2007-10-19 10:16:26.531 AFD: Stream #1, has id 0x52 codec id AC3,<br>
type Audio, bitrate 384000 at 0x0x19bf2610<br>
2007-10-19 10:16:26.531 AFD: Looking for decoder for AC3<br>
2007-10-19 10:16:26.532 AFD: Opened codec 0x1884a00, id(AC3) type(Audio)<br>
2007-10-19 10:16:26.726<br>
RingBuf(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>):<br>
CalcReadAheadThresh(65384 KB)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; threshhold(2650 KB) min read(32 KB) blk<br>
size(512 KB)<br>
2007-10-19 10:16:26.910 Dec: Trying to select track (w/lang)<br>
2007-10-19 10:16:26.910 Dec: Selecting first track<br>
2007-10-19 10:16:26.910 Dec: Selected track #1 in the Unknown language(0)<br>
2007-10-19 10:16:26.911 Resyncing position map. posmapStarted = 0<br>
livetv(0) watchingRec(0)<br>
2007-10-19 10:16:27.115 Position map filled from DB to: 119045<br>
2007-10-19 10:16:27.116 SyncPositionMap prerecorded, from DB: 6282 entries<br>
2007-10-19 10:16:27.117 SyncPositionMap, new totframes: 119045, new<br>
length: 1986, posMap size: 6282<br>
Input #0, mpegts, from &#39;myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>&#39;:<br>
 &nbsp; Duration: 00:59:57.0, start: 37800.417233, bitrate: 15383 kb/s<br>
 &nbsp; Stream #0.0[0x31], 1/90000: Video: mpeg2video, yuv420p, 1280x720,<br>
1001/60000, 65000 kb/s, 59.94 fps(r)<br>
 &nbsp; Stream #0.1[0x34], 1/90000: Audio: ac3, 48000 Hz, stereo, 384 kb/s<br>
2007-10-19 10:16:27.117 AFD: Position map found<br>
2007-10-19 10:16:27.117 AFD: Successfully opened decoder for file:<br>
&quot;myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>&quot;. novideo(0)<br>
2007-10-19 10:16:27.138 VideoOutputQuartz::Init(width=1280,<br>
height=720, aspect=1.77778, winid=24<br>
 &nbsp;winx=0, winy=0, winw=1280, winh=1024, WId embedid=0)<br>
2007-10-19 10:16:27.139 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0<br>
2007-10-19 10:16:27.139<br>
VideoOutputQuartz::VideoAspectRatioChanged(aspect=1.77778) [was<br>
1.97799e-23]<br>
2007-10-19 10:16:27.139 Snapping width to avoid scaling: width: 1280, left: 0<br>
2007-10-19 10:16:27.139 Display Rect &nbsp;left: 0, top: 128, width: 1280,<br>
height: 768, aspect: 1.33333<br>
2007-10-19 10:16:27.139 Video Rect &nbsp; &nbsp;left: 0, top: 0, width: 1280,<br>
height: 720, aspect: 1.77778<br>
2007-10-19 10:16:27.150 Created data @0x24201000-&gt;0x24352802<br>
...<br>
2007-10-19 10:16:22.790 TV: Attempting to change from None to<br>
WatchingPreRecorded<br>
2007-10-19 10:16:22.794<br>
RingBuf(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>):<br>
OpenFile(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>, 12)<br>
2007-10-19 10:16:22.840<br>
RingBuf(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>):<br>
CalcReadAheadThresh(4000 KB)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; threshhold(402 KB) min read(32 KB) blk size(64 KB)<br>
mpegts_add_stream: at pid 0x31 with type 2<br>
mpegts_add_stream: stream #0, has id 0x31 and codec MPEG2VIDEO, type<br>
Video at 0x14e9430<br>
mpegts_add_stream: at pid 0x34 with type 129<br>
mpegts_add_stream: stream #1, has id 0x34 and codec AC3, type Audio<br>
at 0x19bf2610<br>
0: start_time: 3402.038 duration: 323.734<br>
1: start_time: 3402.038 duration: 323.726<br>
stream: start_time: 37800.417 duration: 3597.051 bitrate=15383 kb/s<br>
2007-10-19 10:16:26.527 AFD: Stream #0, has id 0x49 codec id<br>
MPEG2VIDEO, type Video, bitrate 65000000 at 0x0x14e9430<br>
2007-10-19 10:16:26.530 detectInterlace(Detect Scan, Interlaced Scan,<br>
59.9401, 720) -&gt;Progressive Scan<br>
2007-10-19 10:16:26.531 AFD: Looking for decoder for MPEG2VIDEO<br>
2007-10-19 10:16:26.531 AFD: Opened codec 0x1885a00, id(MPEG2VIDEO) type(Video)<br>
2007-10-19 10:16:26.531 AFD: Stream #1, has id 0x52 codec id AC3,<br>
type Audio, bitrate 384000 at 0x0x19bf2610<br>
2007-10-19 10:16:26.531 AFD: Looking for decoder for AC3<br>
2007-10-19 10:16:26.532 AFD: Opened codec 0x1884a00, id(AC3) type(Audio)<br>
2007-10-19 10:16:26.726<br>
RingBuf(myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>):<br>
CalcReadAheadThresh(65384 KB)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; threshhold(2650 KB) min read(32 KB) blk<br>
size(512 KB)<br>
2007-10-19 10:16:26.910 Dec: Trying to select track (w/lang)<br>
2007-10-19 10:16:26.910 Dec: Selecting first track<br>
2007-10-19 10:16:26.910 Dec: Selected track #1 in the Unknown language(0)<br>
2007-10-19 10:16:26.911 Resyncing position map. posmapStarted = 0<br>
livetv(0) watchingRec(0)<br>
2007-10-19 10:16:27.115 Position map filled from DB to: 119045<br>
2007-10-19 10:16:27.116 SyncPositionMap prerecorded, from DB: 6282 entries<br>
2007-10-19 10:16:27.117 SyncPositionMap, new totframes: 119045, new<br>
length: 1986, posMap size: 6282<br>
Input #0, mpegts, from &#39;myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>&#39;:<br>
 &nbsp; Duration: 00:59:57.0, start: 37800.417233, bitrate: 15383 kb/s<br>
 &nbsp; Stream #0.0[0x31], 1/90000: Video: mpeg2video, yuv420p, 1280x720,<br>
1001/60000, 65000 kb/s, 59.94 fps(r)<br>
 &nbsp; Stream #0.1[0x34], 1/90000: Audio: ac3, 48000 Hz, stereo, 384 kb/s<br>
2007-10-19 10:16:27.117 AFD: Position map found<br>
2007-10-19 10:16:27.117 AFD: Successfully opened decoder for file:<br>
&quot;myth://<a href="http://192.168.2.222:6543/1071_20070926220100.mpg" target="_blank">192.168.2.222:6543/1071_20070926220100.mpg</a>&quot;. novideo(0)<br>
2007-10-19 10:16:27.138 VideoOutputQuartz::Init(width=1280,<br>
height=720, aspect=1.77778, winid=24<br>
 &nbsp;winx=0, winy=0, winw=1280, winh=1024, WId embedid=0)<br>
2007-10-19 10:16:27.139 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0<br>
2007-10-19 10:16:27.139<br>
VideoOutputQuartz::VideoAspectRatioChanged(aspect=1.77778) [was<br>
1.97799e-23]<br>
2007-10-19 10:16:27.139 Snapping width to avoid scaling: width: 1280, left: 0<br>
2007-10-19 10:16:27.139 Display Rect &nbsp;left: 0, top: 128, width: 1280,<br>
height: 768, aspect: 1.33333<br>
2007-10-19 10:16:27.139 Video Rect &nbsp; &nbsp;left: 0, top: 0, width: 1280,<br>
height: 720, aspect: 1.77778<br>
2007-10-19 10:16:27.150 Created data @0x24201000-&gt;0x24352802<br>
...<br>
2007-10-19 10:16:29.387 NVP: Waiting for prebuffer.. 2<br>
AUuLAAAAAAAAAAAAAAAAAAAAAAAAAAA<br>
2007-10-19 10:16:29.453 NVP: Waiting for prebuffer.. 3<br>
AUuLAAAAAAAAAAAAAAAAAAAAAAAAAAA<br>
2007-10-19 10:16:29.520 NVP: Waiting for prebuffer.. 4<br>
AUuLAAAAAAAAAAAAAAAAAAAAAAAAAAA<br>
2007-10-19 10:16:29.586 NVP: Waiting for prebuffer.. 5<br>
AUUuLAAAAAAAAAAAAAAAAAAAAAAAAAA<br>
2007-10-19 10:16:29.652 NVP: Waiting for prebuffer.. 6<br>
AUUUUUUUUULLAAAAAAAAAAAAAAAAAAA<br>
2007-10-19 10:16:29.682 NVP: progressive frame seen after 2 interlaced &nbsp;frames<br>
2007-10-19 10:16:29.768 NVP: Video is 4.67542 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:29.768 Disabled deinterlacing<br>
2007-10-19 10:16:29.772 NVP: Video is 8.82635 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:29.811 NVP: Video is 12.3891 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:29.848 NVP: Video is 15.241 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
[mpeg2video @ 0xc3313008]mb incr damaged<br>
[mpeg2video @ 0xc3313008]Warning MVs not available<br>
[mpeg2video @ 0xc3313008]concealing 160 DC, 160 AC, 160 MV errors<br>
2007-10-19 10:16:29.870 Dec: Selected track #1 in the Unknown language(0)<br>
2007-10-19 10:16:29.885 NVP: Video is 17.3049 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:29.922 NVP: Video is 19.0477 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:29.959 NVP: Video is 20.2949 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:29.996 NVP: Video is 21.455 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.032 NVP: Video is 22.2652 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.069 NVP: Video is 23.0826 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.105 NVP: Video is 23.6357 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.142 NVP: Video is 24.2604 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
...<br>
2007-10-19 10:16:30.620 NVP: Video is 28.7772 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.657 NVP: Video is 29.1505 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.694 NVP: Video is 29.3854 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.731 NVP: Video is 29.7415 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.768 NVP: Video is 29.9486 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.805 NVP: Video is 30 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.841 NVP: Video is 30 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.878 NVP: Video is 30 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
2007-10-19 10:16:30.914 NVP: Video is 30 frames ahead of audio,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;doubling video frame interval to slow down.<br>
<br>
Observations-<br>
I changed the setting to use the OpenGL painter but the log still<br>
says QT? &nbsp;Do I have to stop/start the backend for that to take effect?<br>
After prebuffer (10:16:29.652), video is already ahead 4 frames in<br>
.116 seconds (at &nbsp;10:16:29.768). At P60, it should only have played 7<br>
frames at that point.<br>
By 10:16:30.805, or 1.153 seconds into playback, video is ahead by 30<br>
frames. &nbsp;After this, the log continues to report 30 frames ahead but<br>
in reality it must be 100 or more.<br>
I&#39;ve omitted many MPEG2Video messages. &nbsp;My log was over 4,000 lines<br>
for less than two minutes of playback.<br>
<br>
Thoughts?<br>
<br>
Craig<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>