View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Apr 23, 2005 9:07 am 
Hi,

There is a great utility available to convert MPEG4 nuv files to regular MPEG avi files so you can play them without the nuv patches WITHOUT transcoding first. This is the only utility I am aware of that does this quickly (just a few <10 minutes). Nuvexport does something similar but requires time consuming retranscodes which can take hours, if not days, depending on your hardware.

Nuv2avi is in heavy development presently and the current version is 0.0.2 works under certain conditions but is limited by some audio sync problems when the files are commercial cut, etc.

So a new version is out but it does not build natively on KnoppMyth R4V5. I have already tried to get this to work with out success. Would someone try to get this to work? I suspect that its probably just a simple addition of a library or header someplace in the Makefile but I can't find it.

You need to install subversion on your PC to download the latest version.

The author told me I need the xvid4 development library to finish the compilation. Of course, KnoppMyth R4V5 already has xvid installed...

Any ideas ???



#apt-get update && apt-get install subversion

#svn checkout http://trac.beirdo.ca/svn/nuvtools/trunk

#cd trunk

#./configure

#make install



"./configure" gives me these messages:


Configuring ffmpeg libraries

Install prefix /usr/local
Source path /root/trunk/ffmpeg
C compiler gcc
make make
CPU x86 (generic)
Big Endian no
inttypes.h yes
broken inttypes.h no
MMX enabled yes
Vector Builtins no
gprof enabled no
zlib enabled yes
mp3lame enabled yes
ogg enabled no
vorbis enabled no
theora enabled no
faad enabled no
faadbin enabled no
faac enabled no
xvid enabled yes
x264 enabled no
a52 support no
a52 dlopened no
dts support no
pp support no
debug symbols yes
strip symbols yes
optimize yes
shared pp no
Video hooking yes
SDL support yes
Imlib2 support no
freetype support yes
Sun medialib support no
pthreads support yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
network support yes
IPv6 support yes
License: GPL
Creating config.mak and config.h
config.h is unchanged

Configuring RT-JPEG library

RTjpeg/Makefile.am:2: `CFLAGS' is a user variable, you should not override it;
RTjpeg/Makefile.am:2: use `AM_CFLAGS' instead.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking return type of signal handlers... void
checking whether byte ordering is bigendian... no
configure: Beginning CFLAG optimisation
configure: CFLAG optimisations enabled
configure: Attempting to determine host CPU type...
configure: WARNING: Could not determine CPU type please contact package maintainer.
configure: Found ac_canonical_host: i686
configure: Optimising for CPU: i686
configure: WARNING: Using CPU specific optimisations!
checking if gcc supports -mcpu=i686 flags... yes
checking if gcc supports -O3 flags... yes
checking if gcc supports -O9 flags... yes
configure: Checking CFLAGS against current compiler...
checking if gcc supports -mcpu=i686 flags... yes
checking if gcc supports -march=i686 flags... yes
checking if gcc supports -funroll-loops flags... yes
checking if gcc supports -ffast-math flags... yes
checking if gcc supports -fomit-frame-pointer flags... yes
checking if gcc supports -fno-exceptions flags... yes
checking if gcc supports -Wall flags... yes
checking if gcc supports -Werror flags... yes
checking for X86_MMX-capable compiler... yes
checking for X86_MMX-capable CPU... yes
checking for X86_MMXEXT-capable compiler... yes
checking for X86_MMXEXT-capable CPU... yes
checking for X86_SSE-capable compiler... yes
checking for X86_SSE-capable CPU... yes
checking for X86_SSE2-capable compiler... yes
checking for X86_SSE2-capable CPU... yes
checking for X86_3DNOW-capable compiler... yes
checking for X86_3DNOW-capable CPU... no
checking for X86_3DNOWEXT-capable compiler... yes
checking for X86_3DNOWEXT-capable CPU... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating RTjpeg/Makefile
config.status: creating RTjpeg/RTjpeg.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands






"make install" gives me these error messages:



make -C libnuvread TOPDIR=./..
make[1]: Entering directory `/root/trunk/libnuvread'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/trunk/libnuvread'
make -C libnuvtools TOPDIR=./..
make[1]: Entering directory `/root/trunk/libnuvtools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/trunk/libnuvtools'
make -C ffmpeg TOPDIR=./..
make[1]: Entering directory `/root/trunk/ffmpeg'
make -C libavcodec TOPDIR=./../..
make[2]: Entering directory `/root/trunk/ffmpeg/libavcodec'
gcc -O3 -g -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o xvidff.o xvidff.c
xvidff.c: In function `ff_xvid_encode_init':
xvidff.c:91: error: `xvid_plugin_single_t' undeclared (first use in this function)
xvidff.c:91: error: (Each undeclared identifier is reported only once
xvidff.c:91: error: for each function it appears in.)
xvidff.c:91: error: syntax error before "single"
xvidff.c:93: error: `xvid_plugin_2pass2_t' undeclared (first use in this function)
xvidff.c:93: error: syntax error before "rc2pass2"
xvidff.c:94: error: `xvid_gbl_init_t' undeclared (first use in this function)
xvidff.c:95: error: `xvid_enc_create_t' undeclared (first use in this function)
xvidff.c:96: error: `xvid_enc_plugin_t' undeclared (first use in this function)
xvidff.c:99: error: `XVID_VOP_HALFPEL' undeclared (first use in this function)
xvidff.c:101: error: `XVID_VOP_INTER4V' undeclared (first use in this function)
xvidff.c:103: error: `XVID_VOP_TRELLISQUANT' undeclared (first use in this function)
xvidff.c:105: error: `XVID_VOP_HQACPRED' undeclared (first use in this function)
xvidff.c:107: error: `XVID_VOP_GREYSCALE' undeclared (first use in this function)
xvidff.c:114: error: `XVID_ME_EXTSEARCH16' undeclared (first use in this function)
xvidff.c:114: error: `XVID_ME_EXTSEARCH8' undeclared (first use in this function)
xvidff.c:118: error: `XVID_ME_ADVANCEDDIAMOND8' undeclared (first use in this function)
xvidff.c:119: error: `XVID_ME_HALFPELREFINE8' undeclared (first use in this function)
xvidff.c:120: error: `XVID_ME_CHROMA_PVOP' undeclared (first use in this function)
xvidff.c:120: error: `XVID_ME_CHROMA_BVOP' undeclared (first use in this function)
xvidff.c:126: error: `XVID_ME_ADVANCEDDIAMOND16' undeclared (first use in this function)
xvidff.c:126: error: `XVID_ME_HALFPELREFINE16' undeclared (first use in this function)
xvidff.c:136: error: `XVID_VOP_MODEDECISION_RD' undeclared (first use in this function)
xvidff.c:138: error: `XVID_ME_HALFPELREFINE8_RD' undeclared (first use in this function)
xvidff.c:139: error: `XVID_ME_QUARTERPELREFINE8_RD' undeclared (first use in this function)
xvidff.c:140: error: `XVID_ME_EXTSEARCH_RD' undeclared (first use in this function)
xvidff.c:140: error: `XVID_ME_CHECKPREDICTION_RD' undeclared (first use in this function)
xvidff.c:143: error: `XVID_VOP_FAST_MODEDECISION_RD' undeclared (first use in this function)
xvidff.c:145: error: `XVID_ME_HALFPELREFINE16_RD' undeclared (first use in this function)
xvidff.c:145: error: `XVID_ME_QUARTERPELREFINE16_RD' undeclared (first use in this function)
xvidff.c:154: error: `XVID_VOL_GMC' undeclared (first use in this function)
xvidff.c:155: error: `XVID_ME_GME_REFINE' undeclared (first use in this function)
xvidff.c:158: error: `XVID_VOL_QUARTERPEL' undeclared (first use in this function)
xvidff.c:159: error: `XVID_ME_QUARTERPELREFINE16' undeclared (first use in this function)
xvidff.c:161: error: `XVID_ME_QUARTERPELREFINE8' undeclared (first use in this function)
xvidff.c:164: error: `xvid_gbl_init' undeclared (first use in this function)
xvidff.c:165: error: `XVID_VERSION' undeclared (first use in this function)
xvidff.c:182: warning: implicit declaration of function `xvid_global'
xvidff.c:182: error: `XVID_GBL_INIT' undeclared (first use in this function)
xvidff.c:185: error: `xvid_enc_create' undeclared (first use in this function)
xvidff.c:200: error: `plugins' undeclared (first use in this function)
xvidff.c:225: error: `rc2pass2' undeclared (first use in this function)
xvidff.c:263: error: `xvid_plugin_2pass2' undeclared (first use in this function)
xvidff.c:268: error: `single' undeclared (first use in this function)
xvidff.c:272: error: `xvid_plugin_single' undeclared (first use in this function)
xvidff.c:279: error: `xvid_plugin_lumimasking' undeclared (first use in this function)
xvidff.c:307: error: `XVID_VOL_MPEGQUANT' undeclared (first use in this function)
xvidff.c:334: error: `XVID_GLOBAL_CLOSED_GOP' undeclared (first use in this function)
xvidff.c:353: error: `XVID_GLOBAL_PACKED' undeclared (first use in this function)
xvidff.c: In function `ff_xvid_encode_frame':
xvidff.c:385: error: `xvid_enc_frame_t' undeclared (first use in this function)
xvidff.c:385: error: syntax error before "xvid_enc_frame"
xvidff.c:386: error: `xvid_enc_stats_t' undeclared (first use in this function)
xvidff.c:389: error: `xvid_enc_frame' undeclared (first use in this function)
xvidff.c:390: error: `XVID_VERSION' undeclared (first use in this function)
xvidff.c:391: error: `xvid_enc_stats' undeclared (first use in this function)
xvidff.c:405: error: `XVID_CSP_PLANAR' undeclared (first use in this function)
xvidff.c:416: error: `XVID_TYPE_AUTO' undeclared (first use in this function)
xvidff.c:444: error: `XVID_TYPE_PVOP' undeclared (first use in this function)
xvidff.c:446: error: `XVID_TYPE_BVOP' undeclared (first use in this function)
xvidff.c:448: error: `XVID_TYPE_SVOP' undeclared (first use in this function)
xvidff.c:452: error: `XVID_KEYFRAME' undeclared (first use in this function)
xvidff.c: At top level:
xvidff.c:614: error: syntax error before '*' token
xvidff.c: In function `xvid_ff_2pass_create':
xvidff.c:616: error: `param' undeclared (first use in this function)
xvidff.c:630: warning: implicit declaration of function `XVID_VERSION_MAJOR'
xvidff.c:630: error: `XVID_VERSION' undeclared (first use in this function)
xvidff.c:631: warning: implicit declaration of function `XVID_VERSION_MINOR'
xvidff.c:632: warning: implicit declaration of function `XVID_VERSION_PATCH'
xvidff.c:634: error: `handle' undeclared (first use in this function)
xvidff.c: At top level:
xvidff.c:646: error: syntax error before "xvid_plg_destroy_t"
xvidff.c: In function `xvid_ff_2pass_destroy':
xvidff.c:649: error: `ref' undeclared (first use in this function)
xvidff.c: At top level:
xvidff.c:662: error: syntax error before "xvid_plg_data_t"
xvidff.c: In function `xvid_ff_2pass_before':
xvidff.c:668: error: `param' undeclared (first use in this function)
xvidff.c:668: error: `XVID_ZONE_QUANT' undeclared (first use in this function)
xvidff.c:675: error: `XVID_ME_CHROMA_PVOP' undeclared (first use in this function)
xvidff.c:676: error: `XVID_ME_CHROMA_BVOP' undeclared (first use in this function)
xvidff.c:677: error: `XVID_ME_EXTSEARCH16' undeclared (first use in this function)
xvidff.c:678: error: `XVID_ME_ADVANCEDDIAMOND16' undeclared (first use in this function)
xvidff.c:679: error: `XVID_ME_FAST_MODEINTERPOLATE' undeclared (first use in this function)
xvidff.c:680: error: `XVID_ME_SKIP_DELTASEARCH' undeclared (first use in this function)
xvidff.c:681: error: `XVID_ME_FASTREFINE16' undeclared (first use in this function)
xvidff.c:682: error: `XVID_ME_BFRAME_EARLYSTOP' undeclared (first use in this function)
xvidff.c:683: error: `XVID_VOP_MODEDECISION_RD' undeclared (first use in this function)
xvidff.c:684: error: `XVID_VOP_FAST_MODEDECISION_RD' undeclared (first use in this function)
xvidff.c:685: error: `XVID_VOP_TRELLISQUANT' undeclared (first use in this function)
xvidff.c:686: error: `XVID_VOP_INTER4V' undeclared (first use in this function)
xvidff.c:687: error: `XVID_VOP_HQACPRED' undeclared (first use in this function)
xvidff.c:689: error: `XVID_VOL_GMC' undeclared (first use in this function)
xvidff.c: At top level:
xvidff.c:705: error: syntax error before "xvid_plg_data_t"
xvidff.c: In function `xvid_ff_2pass_after':
xvidff.c:706: error: `ref' undeclared (first use in this function)
xvidff.c:715: error: `param' undeclared (first use in this function)
xvidff.c: In function `xvid_ff_2pass':
xvidff.c:742: error: `XVID_PLG_INFO' undeclared (first use in this function)
xvidff.c:743: error: `XVID_PLG_FRAME' undeclared (first use in this function)
xvidff.c:746: error: `XVID_PLG_BEFORE' undeclared (first use in this function)
xvidff.c:749: error: `XVID_PLG_CREATE' undeclared (first use in this function)
xvidff.c:752: error: `XVID_PLG_AFTER' undeclared (first use in this function)
xvidff.c:755: error: `XVID_PLG_DESTROY' undeclared (first use in this function)
make[2]: *** [xvidff.o] Error 1
make[2]: Leaving directory `/root/trunk/ffmpeg/libavcodec'
make[1]: *** [libavcodec] Error 2
make[1]: Leaving directory `/root/trunk/ffmpeg'
make: *** [ffmpeg] Error 2


Top
  
 
PostPosted: Sat Apr 23, 2005 11:52 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
Code:
apt-cache search xvid|grep xvid


gives this output on my R5A12 system:

Code:
avifile-xvid-plugin - XviD video encoding plugin for libavifile
linuxvideostudio - MJPEG-tools GTK graphical user interface
libxvidcore4 - High quality ISO MPEG4 codec library
libxvidcore4-dev - High quality ISO MPEG4 codec library -- development files
libxvidencore0 - MPEG-4 Video encoder
xvid4conf - creates XviD configuration files
xvidcap - Screen video capture for X
xvidcore-kmr5 - XviD 1.0.1 built for KnoppMyth R5.


I *suspect* you might be able to perform a:

Code:
apt-get install libxvidcore4-dev


and then be able to compile. But that's just a guess.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 24, 2005 7:38 am 
Thanks for the reply. Seems like a good approach but it still does not work. I get the same error messages with the xvidff.c file.

I am working with the author but I am now thinking I may just wait until the nuv2avi development stabilizes a bit more. There is some sort of funky dependency problem here and it may just take some time to work the kinks out in the main nuv2avi tree.

Thanks!

Andrew Lynch


Top
  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu