<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Chris Pinkham wrote:
<blockquote cite="mid200603052226.k25MQ0FB002654@panther.bc2va.org"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">Okay, so I found the following code in nuvinfo:

             # Make some corrections for myth bugs
156             $info{'audio_sample_rate'} = 44100 if
($info{'audio_sample_rate'} == 42501 || $info{'audio_sample_rate'} =~
/^44\d\d\d$/);
157             $info{'aspect'} = '4:3';
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Sounds like an old nuvinfo, where id you get it from?
  </pre>
</blockquote>
<br>
Well, it's actually the newest version, AFAIK:
<a class="moz-txt-link-freetext" href="http://forevermore.net/files/nuvexport/nuvexport-0.3-0.20060302.svn.src.rpm">http://forevermore.net/files/nuvexport/nuvexport-0.3-0.20060302.svn.src.rpm</a><br>
Although the SVN source does show that the last time nuvinfo.pm was
updated was 2 months ago.<br>
<br>
<blockquote cite="mid200603052226.k25MQ0FB002654@panther.bc2va.org"
 type="cite">
  <pre wrap="">
  </pre>
  <blockquote type="cite">
    <pre wrap="">Unfortunately they still play as 4:3 in VLC/MPC, so I must assume that
the error is in the detection with the player.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I believe so.

  </pre>
  <blockquote type="cite">
    <pre wrap="">On a side note, it appears nuvinfo uses 'mplayer -identify' to get the
aspect ratio for mpg files (or nuvs which are really mpeg).
When I do mplayer -identify on a transcoded nuv file, it reports
'ID_VIDEO_ASPECT=0.0000'
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Definitely sounds like an old version of nuvinfo.  The version I have
reads directly from the .nuv file and unpacks the header data itself.
  </pre>
</blockquote>
<br>
This version of nuvinfo does that too, but if it cannot find the text
'MythTVVideo' it thinks the file is an MPEG file and falls back to
using mplayer -identify instead (see
<a class="moz-txt-link-freetext" href="https://svn.forevermore.net/nuvexport/browser/trunk/mythtv/nuvinfo.pm">https://svn.forevermore.net/nuvexport/browser/trunk/mythtv/nuvinfo.pm</a>).<br>
<br>
<blockquote cite="mid200603052226.k25MQ0FB002654@panther.bc2va.org"
 type="cite">
  <pre wrap="">
Also, there is an updated patch for mplayer that properly detects the
aspect ratio in a Myth .nuv file, where did you get your mplayer from and
did you patch it yourself or is it able to play Myth's .nuv files 
"out of the box"</pre>
</blockquote>
My mplayer is from ATrpms (mplayer-1.0-51_pre7try2.el4.at), as far as I
can see it plays Myth .nuv files fine, with the correct aspect ratio.<br>
As I said though, I don't have a dedicated Myth frontend, so any
testing of mplayer has been using frontend on the same machine as the
backend with VNC (no monitor on server, it's in a cupboard).<br>
<br>
I've come to think that the problem lies with the dsmyth filters on
Windows. Unless I can get mythtranscode to write the aspect ratio into
the MPEG4 stream (like it is for MPEG2 recordings) as well as the .nuv
container (correct me if I'm wrong on this line of thinking, please).<br>
<br>
<br>
</body>
</html>