<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/1/2010 7:07 PM, Calvin Harrigan wrote:
<blockquote cite="mid:4B8C56DB.7000708@bellsouth.net" type="cite">Greetings
All,
  <br>
&nbsp;&nbsp;&nbsp; I've been happy with the upgrade from 0.21 -&gt; 0.22 and the
support of vdpau.&nbsp; The last thing that I'm having trouble with is
playing recorded programs outside of mythtv.&nbsp; I use VLC to access a
share on my mythtv box that has been populated by links from
mythrename.&nbsp; Files that were recorded before the update plays fine,
both interlaced and progressive.&nbsp; Since the upgrade, I can only seem to
playback newly recorded progressive recordings.&nbsp; I record SD using a
PVR250 and HD using a HDHR.&nbsp; SD is from a dishnetwork receiver, HD from
OTA.&nbsp; VLC will start to play the files then it'll stutter after a
second then it'll sound garbled and chipmunky (new word), then it'll
eventually stop playing.&nbsp; This is the same for both SD and HD
interlaced content.&nbsp; If I play back progressive content (all hd)&nbsp; it
plays beautifully.&nbsp; Again old pre 0.22 recordings of all denominations
play fine.&nbsp;&nbsp;&nbsp; Additionally I've tried vlc under linux and windows,
windows media player also behave similarly. Any ideas?&nbsp; I've exhausted
my knowledge on how recordings are made on mythtv.&nbsp; Thanks
  <br>
</blockquote>
After fooling around with VLC some more I found some errors in the log
after enabling verbosity level 2.<br>
I got a lot of errors of the genre:<br>
<br>
<span style="font-style: italic; color: rgb(0, 0, 139);">ts</span><span
 style="font-style: italic; color: rgb(0, 128, 0);"> warning: </span><span
 style="color: rgb(0, 0, 0);">discontinuity received 0x1 instead of 0x6
(pid=51)</span><br>
<span style="font-style: italic; color: rgb(0, 0, 139);">main</span><span
 style="font-style: italic; color: rgb(0, 128, 0);"> warning: </span><span
 style="color: rgb(0, 0, 0);">clock gap, unexpected stream discontinuity<br>
<br>
</span>I get these on the newer files that don't work.<br>
<br>
<br>
<br>
This is what I found using the ffmpeg -i command on the files.<br>
<br>
(Common Output)<br>
ffmpeg -i David\ Brooks\ -\ 2010-03-02\,\ 11-30\ PM.mpg<br>
FFmpeg version SVN-r20373, Copyright (c) 2000-2009 Fabrice Bellard, et
al.<br>
&nbsp; built on Jan&nbsp; 9 2010 13:56:38 with gcc 4.3.4<br>
&nbsp; configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-static --enable-shared
--cc=i686-pc-linux-gnu-gcc --disable-debug --disable-network
--enable-libmp3lame --enable-libtheora --enable-libx264
--enable-libxvid --disable-indev=v4l2 --disable-indev=jack
--enable-x11grab --enable-pthreads --enable-libopenjpeg
--disable-altivec --cpu=athlon64 --enable-gpl --enable-version3
--enable-postproc --enable-avfilter --enable-avfilter-lavf
--disable-stripping --enable-hardcoded-tables<br>
&nbsp; libavutil&nbsp;&nbsp;&nbsp;&nbsp; 50. 3. 0 / 50. 3. 0<br>
&nbsp; libavcodec&nbsp;&nbsp;&nbsp; 52.37. 1 / 52.37. 1<br>
&nbsp; libavformat&nbsp;&nbsp; 52.39. 2 / 52.39. 2<br>
&nbsp; libavdevice&nbsp;&nbsp; 52. 2. 0 / 52. 2. 0<br>
&nbsp; libavfilter&nbsp;&nbsp;&nbsp; 1. 4. 1 /&nbsp; 1. 4. 1<br>
&nbsp; libswscale&nbsp;&nbsp;&nbsp;&nbsp; 0. 7. 1 /&nbsp; 0. 7. 1<br>
&nbsp; libpostproc&nbsp;&nbsp; 51. 2. 0 / 51. 2. 0<br>
<br>
<br>
(New 480i Recording)<br>
[mpeg @ 0x935f420]max_analyze_duration reached<br>
Seems stream 0 codec frame rate differs from container frame rate:
59.94 (60000/1001) -&gt; 29.97 (30000/1001)<br>
Input #0, mpeg, from 'David Brooks - 2010-03-02, 11-30 PM.mpg':<br>
&nbsp; Duration: 00:31:57.32, start: 0.289378, bitrate: 5025 kb/s<br>
&nbsp;&nbsp;&nbsp; Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9
DAR 4:3], 6000 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc<br>
&nbsp;&nbsp;&nbsp; Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s<br>
<br>
<br>
(Old 480i Recording)<br>
[mpeg @ 0x8eca420]max_analyze_duration reached<br>
Seems stream 0 codec frame rate differs from container frame rate:
59.94 (60000/1001) -&gt; 29.97 (30000/1001)<br>
Input #0, mpeg, from 'Untitled - 2007-04-14, 0-00 AM.mpg':<br>
&nbsp; Duration: 02:00:25.12, start: 0.289433, bitrate: 4994 kb/s<br>
&nbsp;&nbsp;&nbsp; Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9
DAR 4:3], 6000 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc<br>
&nbsp;&nbsp;&nbsp; Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s<br>
At least one output file must be specified<br>
<br>
(New 1080i Recording)<br>
[mpegts @ 0x891a420]max_analyze_duration reached<br>
Seems stream 0 codec frame rate differs from container frame rate:
59.94 (60000/1001) -&gt; 29.97 (30000/1001)<br>
Input #0, mpegts, from 'Chuck Versus the Fake Name - 2010-03-01, 7-58
PM.mpg':<br>
&nbsp; Duration: 01:03:58.35, start: 79508.626567, bitrate: 12253 kb/s<br>
&nbsp; Program 1<br>
&nbsp;&nbsp;&nbsp; Stream #0.0[0x31]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1
DAR 16:9], 12663 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc<br>
&nbsp;&nbsp;&nbsp; Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s<br>
&nbsp;&nbsp;&nbsp; Stream #0.2[0x35](spa): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s<br>
At least one output file must be specified<br>
<br>
<br>
(Old 1080i Recording)<br>
[mpegts @ 0x8160420]max_analyze_duration reached<br>
Seems stream 0 codec frame rate differs from container frame rate:
59.94 (60000/1001) -&gt; 29.97 (30000/1001)<br>
Input #0, mpegts, from 'The Morning of Creation (1946-1980) -
2009-10-02, 10-00 PM.mpg':<br>
&nbsp; Duration: 02:00:57.91, start: 27637.430800, bitrate: 10782 kb/s<br>
&nbsp; Program 1<br>
&nbsp;&nbsp;&nbsp; Stream #0.0[0x31]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1
DAR 16:9], 13184 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc<br>
&nbsp;&nbsp;&nbsp; Stream #0.1[0x33](eng): Audio: ac3, 48000 Hz, 5.0, s16, 448 kb/s<br>
At least one output file must be specified<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>