unsing transcode with nuvexport (externally from mythtv)
[email protected] Fri, 11 Sep 2009 10:44:31 -0700 (PDT)
| Newsgroups | gmane.comp.video.transcode.user |
|---|---|
| Message-ID | <[email protected]> |
Dear all,
this is my very first post in a mailing list at all. I'm new to linux and I've set up a HTPC based on mythbuntu distro. Now, I would like to transcode some recordings from mythtv proprietary nuv format to xvid.
I've installed transcode v1.10 from source with following ./configure command :
./configure --enable-nuv --enable-xvid --with-xvid-prefix=/usr/local --with-xvid-includes=/usr/local/include --with-xvid-libs=/usr/local/lib --enable-libpostproc --with-libpostproc-prefix=/usr/include --with-libpostproc-includes=/usr/include/libpostproc --enable-lzo --with-lzo-prefix=/usr/include --with-lzo-includes=/usr/include/lzo --enable-mjpegtools --with-mjpegtools-prefix=/usr/include --with-mjpegtools-includes=/usr/include/mjpegtools
This gives me the following messages :
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 a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of gcc... gcc3
checking for gawk... /usr/bin/gawk
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for standard header files... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking __attribute__((...)) support... yes
checking __attribute__((aligned())) support... 64
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for getopt_long_only... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for mmap... yes
checking for strlcat... no
checking for strlcpy... no
checking for strtof... yes
checking for vsscanf... yes
checking for sysconf(_SC_PAGESIZE)... checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for pthreads in -lpthread... yes
checking for build architecture... Intel Pentium architecture (IA32)
checking if $CC groks MMX inline assembly... yes
checking if $CC groks 3DNow inline assembly... yes
checking if $CC groks SSE inline assembly... yes
checking if $CC can handle SSE2 inline asm... yes
checking if $CC groks AltiVec inline assembly... no
checking if $CC groks AltiVec C extensions... no
checking if linker needs -framework vecLib...
checking for pkg-config... /usr/bin/pkg-config
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XvQueryExtension in -lXv... no
checking for XShmQueryExtension in -lX11... no
checking X11/Xaw/Simple.h usability... no
checking X11/Xaw/Simple.h presence... no
checking for X11/Xaw/Simple.h... no
checking for XpmFreeAttributes in -lXpm... no
checking for gzopen in -lz... yes
checking for sin in -lm... yes
checking for pkgconfig support for libavcodec... yes
checking how to determine LIBAVCODEC_CFLAGS... pkg-config
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking how to determine LIBAVCODEC_LIBS... pkg-config
checking for avcodec_thread_init in -lavcodec... yes
VER=52.20.0
BUILD=3412992
checking for pkgconfig support for libavformat... yes
checking how to determine LIBAVFORMAT_CFLAGS... pkg-config
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking how to determine LIBAVFORMAT_LIBS... pkg-config
checking for av_register_all in -lavformat... yes
VER=52.31.0
BUILD=3415808
checking for pkgconfig support for libmpeg2... no
checking how to determine LIBMPEG2_CFLAGS... default
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking how to determine LIBMPEG2_LIBS... default
checking for mpeg2_init in -lmpeg2... yes
checking enable new or experimental components... no
checking enable deprecated components... no
checking for internal static framebuffer support... yes
checking whether v4l support is requested... no
checking whether bktr support is requested... no
checking whether sunau support is requested... no
checking whether OSS support is requested... no
checking whether ALSA support is requested... no
checking encore2.h usability... no
checking encore2.h presence... no
checking for encore2.h... no
checking whether libpostproc support is requested... yes
checking for pkgconfig support for libpostproc... yes
checking how to determine LIBPOSTPROC_CFLAGS... user
checking libpostproc/postprocess.h usability... yes
checking libpostproc/postprocess.h presence... yes
checking for libpostproc/postprocess.h... yes
checking how to determine LIBPOSTPROC_LIBS... pkg-config
checking for pp_postprocess in -lpostproc... yes
checking whether freetype2 support is requested... no
checking whether lame support is requested... yes
checking for pkgconfig support for lame... no
checking how to determine LAME_CFLAGS... default
checking how to determine LAME_LIBS... default
checking for lame_init in -lmp3lame... yes
checking lame/lame.h usability... yes
checking lame/lame.h presence... yes
checking for lame/lame.h... yes
checking lame version... 398
checking whether xvid support is requested... yes
checking for pkgconfig support for xvid... no
checking how to determine xvid_CFLAGS... user
checking xvid.h usability... yes
checking xvid.h presence... yes
checking for xvid.h... yes
checking how to determine xvid_LIBS... user
checking for xvid_global in -lxvidcore... yes
checking xvid version >= 1.0... yes
checking whether x264 support is requested... no
checking whether ogg support is requested... no
checking whether vorbis support is requested... no
checking whether theora support is requested... no
checking whether libdvdread support is requested... yes
checking for pkgconfig support for libdvdread... no
checking how to determine LIBDVDREAD_CFLAGS... default
checking how to determine LIBDVDREAD_LIBS... default
checking for DVDOpen in -ldvdread... no
checking whether pvm3 support is requested... no
checking whether libdv support is requested... no
checking whether libquicktime support is requested... no
checking whether lzo support is requested... yes
checking for pkgconfig support for lzo... no
checking how to determine LZO_CFLAGS... user
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking how to determine LZO_LIBS... prefix
checking for lzo_version in -llzo2... yes
checking whether a52 support is requested... no
checking whether faac support is requested... no
checking whether libxml2 support is requested... no
checking whether ibp and lors support is requested... no
checking whether mjpegtools support is requested... yes
checking for pkgconfig support for mjpegtools... yes
checking for mjpegtools-config... no
checking how to determine MJPEGTOOLS_CFLAGS... user
checking mjpegtools/yuv4mpeg.h usability... yes
checking mjpegtools/yuv4mpeg.h presence... yes
checking for mjpegtools/yuv4mpeg.h... yes
checking how to determine MJPEGTOOLS_LIBS... pkg-config
checking for y4m_si_get_height in -lmjpegutils... yes
checking whether sdl support is requested... no
checking whether imagemagick support is requested... no
checking whether libjpegmmx support is requested... no
checking whether libjpeg support is requested... yes
checking for pkgconfig support for libjpeg... no
checking how to determine LIBJPEG_CFLAGS... default
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking how to determine LIBJPEG_LIBS... default
checking for jpeg_CreateCompress in -ljpeg... yes
checking whether bsdav support is requested... no
checking whether iconv support is requested... yes
checking for pkgconfig support for iconv... no
checking how to determine ICONV_CFLAGS... default
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking how to determine ICONV_LIBS... default
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -lc... yes
checking for PV3 support... no
checking for NuppelVideo support... yes
checking if gcc supports -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 flags... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating aclib/Makefile
config.status: creating avilib/Makefile
config.status: creating docs/Makefile
config.status: creating docs/html/Makefile
config.status: creating docs/man/Makefile
config.status: creating docs/pvm3/Makefile
config.status: creating docs/tech/Makefile
config.status: creating docs/tech/html/Makefile
config.status: creating encode/Makefile
config.status: creating export/Makefile
config.status: creating filter/Makefile
config.status: creating filter/divxkey/Makefile
config.status: creating filter/extsub/Makefile
config.status: creating filter/preview/Makefile
config.status: creating filter/subtitler/Makefile
config.status: creating filter/tomsmocomp/Makefile
config.status: creating filter/yuvdenoise/Makefile
config.status: creating filter/stabilize/Makefile
config.status: creating import/Makefile
config.status: creating import/nuv/Makefile
config.status: creating import/v4l/Makefile
config.status: creating multiplex/Makefile
config.status: creating libdldarwin/Makefile
config.status: creating libtc/Makefile
config.status: creating libtcaudio/Makefile
config.status: creating libtcvideo/Makefile
config.status: creating pvm3/Makefile
config.status: creating src/Makefile
config.status: creating testsuite/Makefile
config.status: creating tools/Makefile
config.status: creating transcode.spec
config.status: creating filter/parse_csv.awk
config.status: creating filter/filter_list.awk
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
----------------------------------------
Summary for transcode 1.1.0:
----------------------------------------
core options
----------------------------------------
enable experimental code no
enable deprecated code no
static AV-frame buffering yes
A52 default decoder no
ffmpeg libraries
----------------------------------------
libavcodec build 3412992
libavcodec version 52.20.0
libavformat build 3415808
libavformat version 52.31.0
hardware support
----------------------------------------
v4l/v4l2 no
ALSA no
OSS no
bktr no
sunau no
optional module support
----------------------------------------
PV3 no
NuppelVideo yes
optional package support
----------------------------------------
IBP (libxio) no
X11 yes
Xv extension no
Xshm extension no
Xaw library no
Xpm library no
libmpeg2 yes
libpostproc yes
freetype2 no
lame yes
xvid yes
x264 no
ogg no
vorbis no
theora no
libdvdread no
pvm3 no
libdv no
libquicktime no
lzo yes
a52 no
faac no
libxml2 no
mjpegtools yes
sdl no
imagemagick no
libjpeg yes
bsdav no
iconv yes
ERROR: option '--enable-libdvdread' failed: cannot link against libdvdread
libdvdread can be found in the following packages:
libdvdread http://www.dtek.chalmers.se/groups/dvd/downloads.shtml
and then
make
sudo make install
When I use nuv export, it starts transcode with the following command :
/usr/bin/nice -n19 transcode --log_no_color --progress_meter 2 --progress_rate 16 --import_asr 2 --export_asr 2 --export_fps 25,3 -Z 512x384 -k -i /tmp/fifodir_11440/vidout -p /tmp/fifodir_11440/audout -H 0 -x raw -g 768x576 -f 25,3 -n 0x1 -e 48000,16,2 -j 8,12,8,12 -J smartyuv -J yuvdenoise=mode=2 -y xvid,null -N 0x55 -b 128,0,2,0 -R 1,/tmp/xvid.11440.log -w 768 -o /dev/null 2>&1
and gives the debug messages as folloxed
transcode v1.1.0 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 768x576 1.33:1 encoded @ 4:3
[transcode] V: clip frame (<-) | 744x560
[transcode] V: zoom | 512x384 1.34:1 (Lanczos3)
[transcode] V: rgb2bgr | yes
[transcode] V: bits/pixel | 0.156
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: multi-pass | (mode=1) writing data (pass 1) to /tmp/xvid.11440.log
[transcode] V: video format | YUV420 (4:2:0) aka I420
[transcode] A: import format | 0x1 PCM [48000,16,2]
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer | 10 @ 768x576 [0x2]
[transcode] A: audio buffer | 10 @ 48000x2x16
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_raw.so] v0.3.3 (2008-11-23) (video) RGB/YUV | (audio) PCM
[filter_smartyuv.so] (MMX) 0.1.6 (2007-05-31) Motion-adaptive deinterlacing
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_xvid4.so] v0.0.6 (2007-08-11) (video) XviD 1.0.x series (aka API 4.0) | (audio) MPEG/AC3/PCM
[import_raw.so] tcextract -i "/tmp/fifodir_11440/vidout" -d 0 -x yuv420p | tcextract -a 0 -x yuv420p -d 0
[export_xvid4.so] Error opening configuration file ./xvid4.cfg: No such file or directory
[extract_yuv.c] critical: No support for YUV4MPEG compiled in.
[extract_yuv.c] critical: Recompile with mjpegtools support enabled.
[extract_yuv.c] critical: No support for YUV4MPEG compiled in.
[extract_yuv.c] critical: Recompile with mjpegtools support enabled.
[decoder.c] cancelling the import threads
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length 0.00 s
I firstly thank you to have read my post until that point.
I don't know what to do for solving that issue since ./configure reported that mjpegtools are supported in the optional package list.
For sure, I did something wrong in the installation from source but I would greatly appreciate some help.
thank you inn advance for your efforts
best regards
Kurvanov