[mythtv] MPEG2 fixup tool

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Wed Oct 26 14:44:10 UTC 2005


On 10/26/05, Cory Papenfuss wrote:
>         Looks interesting.  I was going to try it on some of my broken
> ivtv streams.  I cannot get it to compile, though... are you using SVN of
> mythtv with updated libavformat?
>
> [papenfuss at juneau mythtv-0.18.1]$ gcc -g -Ilibs/libavutil  -Ilibs/libavformat/ -Ilibs/libavcodec -o mpegfix mpegfix-0.0.1.c
> mpegfix-0.0.1.c: In function `InitAV':
> mpegfix-0.0.1.c:127: error: incompatible types in assignment
> mpegfix-0.0.1.c: In function `buildPframe':
> mpegfix-0.0.1.c:214: error: structure has no member named `time_base'
> mpegfix-0.0.1.c:214: error: structure has no member named `time_base'
>
Yes it needs to compile against either SVN mythtv or the latest CVS
ffmpeg code.  They changed how timestamps were handled sometime
recently.
Not sure about the problem on line 127 though.  I didn't think that
the the way codecs were attached had been changed for ages.

Also note, it can provide useful mpeg analysis by commenting out the
#define WRITE and setting debug=1 or 2.

If you get it to compile, and it doesn't fix your broken mpegs,
senging me the logs of the above could help me get a handle on the
problem.
.Geoff


More information about the mythtv-dev mailing list