[mythtv] mythtranscode dropping audio?
gary at garyndenise.org
Sat Jun 3 00:05:26 UTC 2006
Bill Cizek wrote:
> In any case, I dug into the code a little and I found it wasn't
> reading far enough into the stream
> to see the audio tracks. The attached patch works around this problem
> by greatly increasing the
> "how far should I read to get stream info" parameter. It's a hack but
> it worked for me. YMMV.
> Index: libs/libavformat/utils.c
> =================================> --- libs/libavformat/utils.c (revision 10084)
> +++ libs/libavformat/utils.c (working copy)
> @@ -1995,7 +1995,7 @@
> #define MAX_READ_SIZE 5000000
> /** Number of frames to read, max. */
> -#define MAX_FRAMES 15
> +#define MAX_FRAMES 200
I can confirm that this minor change fixed the problems for me.
I'll post on that trac ticket as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev