<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris Pinkham wrote:
<blockquote cite="mid200602281539.k1SFd1ZS008339@panther.bc2va.org"
 type="cite">
  <pre wrap=""><!---->There is no other place that rewrites the header on the .nuv file, so if the
value is 1.77777 in the WriteHeader() method, then that is what goes into the
file.  Are you sure that the output file you are looking at is the right one?
Are you running mythtranscode from the command line, if so what command line
are you using?  IF you are running from the command line, then can you run
the command again but hit CTRL-C after 30 seconds or so so you have a partial
file created, then run nuvinfo on that.
  </pre>
</blockquote>
<br>
Originally of course, the problem occurred from within MythTV, but the
recent testing I have been doing on the command line. I changed the
LD_LIBRARY_PATH so that I am using the version of the libraries that I
want to (with the VERBOSE changes).<br>
The file is definitely right, because my command line is:
LD_LIBRARY_PATH=../../libs/:../../libs/libmythtv/:$LD_LIBRARY_PATH <br>
./mythtranscode -i /video/mythtv/recordings/1001_20060219235500.mpg -o
test.nuv<br>
So obviously I'm looking at test.nuv.<br>
At first I let it encode the whole file, but after a while I just did
CTRL-C as soon as I ran nuvinfo on the file whilst it was encoding and
it reported 1.3333, or after opening the file in VLC/MPC and observing
4:3 rather than 16:9.<br>
<br>
<blockquote cite="mid200602281539.k1SFd1ZS008339@panther.bc2va.org"
 type="cite">
  <pre wrap=""><!---->
If you're running under windows, something has to be parsing the nuppel header
on the file and it may be interpretting the data incorrectly.  Originally,
myth did not support the aspect field in the .nuv header, but that was fixed a
long time ago.  I assume
  </pre>
</blockquote>
Okay, it might be, not sure how I would investigate that.<br>
<br>
<blockquote cite="mid200602281539.k1SFd1ZS008339@panther.bc2va.org"
 type="cite">
  <pre wrap=""><!---->
There isn't much that can be going wrong if you're seeing the right value in
WriteHeader().

I'd ask to have a copy of the file, but I don't think that will help any since
the player is detecting the aspect ratio properly.  If the above CTRL-C test
doesn't give any clues, is there any way you can send me the first couple megs
of both the original and transcoded files?
  </pre>
</blockquote>
<br>
Sure, where shall I send them?<br>
<br>
</body>
</html>