<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font color="black" face="Verdana,Arial,Helvetica" size="2"><font   color="black" face="Verdana,Arial,Helvetica" size="2">I checked. The
issue is the container, not the file. Mplayer knows about it and
doesn't consider it a bug. However, it is in MythTV. It shows up in the
Perl Bindings, which use mplayer in file Recording.pm to get
information about MPEG files. Therefore it becomes a MythTV problem,
and I've filed it as Ticket #6774. <br>
<br>
On Fri, Jul 31, 2009 at 12:01 PM, DISAFAN&lt;disafan[at]aim.com&gt;
wrote: <br>
<font color="#660066">&gt; I've been trying to change my method of
output to the mythnuv2mkv script, <br>
&gt; and I discovered a problem. After some searching, I traced the
problem to <br>
&gt; the container of the H264 files output by the HD-PVR recordings. <br>
&gt; <br>
&gt; The mplayer command is used to detect width and height. However in
all files <br>
&gt; the ID_VIDEO_HEIGHT/WIDTH parameter is set to 0. So all the
detection fails. <br>
&gt; <br>
</font> <br>
The problem is with your method of resolution detection. Both Myth <br>
and ffmpeg (ffmpeg -i file) detect the resolution fine. The <br>
deficiency is with mplayer/trying to get the resolution this way. You <br>
can probably submit a bug to the mplayer folks, though. <br>
<br>
<font color="#660066">&gt; So the question is two-fold. Does anyone
have any suggestions for a script <br>
&gt; to aid me in detecting and setting these parameters? Then I could
batch <br>
&gt; convert the directory to include them. It seems ultimately easier
than <br>
&gt; trying to change the method of detection on a multitude of scripts
that use <br>
&gt; Mplayer. <br>
</font> <br>
Get mplayer to fix it, or use ffmpeg. <br>
<br>
<font color="#660066">&gt; <br>
&gt; The second question is...since no one else has reported this
problem, why is <br>
&gt; this being set to 0 instead of the resolution? What is responsible
for <br>
&gt; setting the resolution, the HD-PVR firmware or the MythTV
recorder? If it is <br>
&gt; the latter, is this something I should submit as a bug? <br>
</font> <br>
It's not a myth or HD-PVR bug, see above. <br>
<br>
Robert <br>
<br>
<br>
root[at]Moriarty:/src/mythtv# ffmpeg -i <br>
/var/lib/mythtv/recordings2/3770_20090621205900.mpg <br>
FFmpeg version SVN-r18800, Copyright (c) 2000-2009 Fabrice Bellard, et
al. <br>
configuration: --enable-shared --enable-gpl --enable-postproc <br>
--enable-libmp3lame --enable-libvorbis --enable-pthreads <br>
--enable-libx264 --enable-libtheora --enable-libfaac --enable-libfaad <br>
--enable-libxvid --enable-nonfree <br>
libavutil 50. 3. 0 / 50. 3. 0 <br>
libavcodec 52.28. 0 / 52.28. 0 <br>
libavformat 52.32. 0 / 52.32. 0 <br>
libavdevice 52. 2. 0 / 52. 2. 0 <br>
libswscale 0. 7. 1 / 0. 7. 1 <br>
libpostproc 51. 2. 0 / 51. 2. 0 <br>
built on May 26 2009 20:29:58, gcc: 4.3.3 <br>
Input #0, mpegts, from
'/var/lib/mythtv/recordings2/3770_20090621205900.mpg': <br>
Duration: 01:02:22.23, start: 0.387067, bitrate: 14224 kb/s <br>
Program 1 <br>
Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR <br>
16:9], 59.94 tbr, 90k tbn, 59.94 tbc <br>
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s <br>
At least one output file must be specified <br>
_______________________________________________ <br>
mythtv-users mailing list <br>
mythtv-users[at]mythtv.org <br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users"   rel="nofollow" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></font></font>
</body>
</html>