[mythtv] [PATCH] Re: Mythtranscode problems

Geoffrey Hausheer ou401cru02 at sneakemail.com
Sun Nov 16 11:05:39 EST 2003


This trivial patch should fix the q<0 and white-screen problems with the
transcoder.

The real question is what to do about the filters?  This could also be
fixed by calling nvr->InitFilters in ReencodeFile, and that may be a
better solution, since it would allow for all sorts of cool stuff, but I
don't know how to control the filters.  If the user is using a filter
during recording, I probably don't want to re-use it (I'd imagine that
filters for transcoding would be more processor intensive than their real
time couterparts (noise reduction, resizing, etc).  If someone wants to
illuminate me on how the filters are controlled, I'll add support for
them to the transcoder.

Whether or not I implement Filters in the transcoder, I think it would be
wise to add this patch anyhow.

By the way, I'm seeing lots of uninitialized variables in libavcodec, but
it's hard to debug since valgrind doesn't support MMX.


.Geoff

Index: libs/libmythtv/NuppelVideoRecorder.cpp
===================================================================
RCS file:
/var/lib/mythcvs/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp,v
retrieving revision 1.144
diff -r1.144 NuppelVideoRecorder.cpp
216c216
<         w = value;
---
>         w_out = w = value;
218c218
<         h = value;
---
>         h_out = h = value;



More information about the mythtv-dev mailing list