[mythtv] New MPEG2 commercial-cut code ready for testing

Tom Lichti tom at redpepperracing.com
Tue Nov 15 12:33:34 EST 2005


Geoffrey Hausheer wrote:

>Here is mpeg2fix-0.9
>it should fix the blockiness Cory reported, and a frame-corruption
>issue I found, and has some other minor fixes, but I don't think it'll
>fix anyone else's crashing or infinite-loop problems.  Unfortunately,
>I'm mostly shooting in the dark on those, as I haven't been able to
>reproduce them yet.
>
>http://www.pblue.org/myth/mpeg2fix-0.9.tgz
>
>.Geoff
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>  
>
Does this have to be compiled against bleeding edge SVN? I am staying 
with 7738 until LiveTV gets sorted, and when I try to compile this I get 
the following error:

root at mythtv:~/test/mpeg2fix-0.9# pushd replex; make ; popd
~/test/mpeg2fix-0.9/replex ~/test/mpeg2fix-0.9
Makefile:56: .depend: No such file or directory
cc  -M avi.c  element.c mpg_common.c pes.c replex.c ringbuffer.c ts.c 
multiplex.c   -I..> .depend
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  element.c
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  pes.c
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  mpg_common.c
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  ts.c
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  ringbuffer.c
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  avi.c
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  multiplex.c
ar -rcs libreplex.a element.o pes.o mpg_common.o ts.o ringbuffer.o avi.o 
multiplex.o
cc -c -g -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE  -I..  replex.c
cc -o replex replex.o -L. -lreplex
~/test/mpeg2fix-0.9
root at mythtv:~/test/mpeg2fix-0.9# make
g++ -g -O0 -fno-inline -fno-default-inline -c  -I./libavformat 
-I./libavcodec -I./libavutil -I./libmpeg2 -I./replex -I/usr/include/qt3 
mpeg2fix.cpp
cc -g -O0 -fno-inline -fno-default-inline -c  -I./libavformat 
-I./libavcodec -I./libavutil -I./libmpeg2 -I./replex -I/usr/include/qt3 
helper.c
cc1: warning: "-fno-default-inline" is valid for C++ but not for C/ObjC
g++ -g -O0 -fno-inline -fno-default-inline -o mpeg2fix mpeg2fix.o 
helper.o replex/libreplex.a -L./libavformat -L./libavcodec -L./libavutil 
-L./libmpeg2 -L./replex -lmythavformat-0.18 -lmythmpeg2-0.18 -lreplex 
-lpthread -lqt-mt -lm
/usr/local/lib/libmythavcodec-0.18.so.0: undefined reference to 
`XvMCLoadQMatrix'
/usr/local/lib/libmythavcodec-0.18.so.0: undefined reference to 
`XvMCSyncSurface'
/usr/local/lib/libmythavcodec-0.18.so.0: undefined reference to 
`XvMCFlushSurface'
/usr/local/lib/libmythavcodec-0.18.so.0: undefined reference to 
`XvMCBeginSurface'
collect2: ld returned 1 exit status
make: *** [mpeg2fix] Error 1

Thoughts? I'd like to help test this out, as I could use the functionality.

Thanks
Tom


More information about the mythtv-dev mailing list