[MPlayer-users] Error opening/initializing the selected video_out (-vo) device. jpeg
ScriptInstallation.in
info at scriptinstallation.in
Mon Aug 13 22:50:41 CEST 2007
Hi,
I get error on running the command
[root at u15263049 src]# /usr/bin/mplayer -vo
jpeg:quality=100:outdir=/tmp/screenshots/15 -ss 20 -frames 2 -nosound
/tmp/1.wmv
MPlayer dev-SVN-r24054-4.0.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 127, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing /tmp/1.wmv.
AVI file format detected.
[aviheader] Video stream found, -vid 0
VIDEO: [FFVH] 320x240 12bpp 1000.000 fps 13710.3 kbps (1673.6 kbyte/s)
Clip info:
Software: MEncoder dev-SVN-r24054-4.0.2
Error opening/initializing the selected video_out (-vo) device.
Exiting... (End of file)
[root at u15263049 src]#
I installed http://www.ijg.org/files/jpegsrc.v6b.tar.gz
Then recompiled mplayer
Configuration went properly
./configure --prefix=/usr --enable-jpeg --codecsdir=/usr/local/lib/codecs/
On make, i am getting error
vo_jpeg.c:26:21: error: jpeglib.h: No such file or directory
vo_jpeg.c: In function 'jpeg_write':
vo_jpeg.c:176: error: storage size of 'cinfo' isn't known
vo_jpeg.c:177: error: storage size of 'jerr' isn't known
vo_jpeg.c:178: error: 'JSAMPROW' undeclared (first use in this function)
vo_jpeg.c:178: error: (Each undeclared identifier is reported only once
vo_jpeg.c:178: error: for each function it appears in.)
vo_jpeg.c:178: error: syntax error before 'row_pointer'
vo_jpeg.c:191: warning: implicit declaration of function 'jpeg_std_error'
vo_jpeg.c:192: warning: implicit declaration of function
'jpeg_create_compress'
vo_jpeg.c:193: warning: implicit declaration of function 'jpeg_stdio_dest'
vo_jpeg.c:198: error: 'JCS_RGB' undeclared (first use in this function)
vo_jpeg.c:200: warning: implicit declaration of function 'jpeg_set_defaults'
vo_jpeg.c:202: error: 'TRUE' undeclared (first use in this function)
vo_jpeg.c:212: warning: implicit declaration of function 'jpeg_set_quality'
vo_jpeg.c:217: warning: implicit declaration of function
'jpeg_simple_progression'
vo_jpeg.c:220: warning: implicit declaration of function
'jpeg_start_compress'
vo_jpeg.c:224: error: 'row_pointer' undeclared (first use in this function)
vo_jpeg.c:225: warning: implicit declaration of function
'jpeg_write_scanlines'
vo_jpeg.c:228: warning: implicit declaration of function
'jpeg_finish_compress'
vo_jpeg.c:230: warning: implicit declaration of function
'jpeg_destroy_compress'
vo_jpeg.c:177: warning: unused variable 'jerr'
vo_jpeg.c:176: warning: unused variable 'cinfo'
make[1]: *** [vo_jpeg.o] Error 1
make[1]: Leaving directory `/usr/local/src/mplayer/libvo'
make: *** [libvo/libvo.a] Error 2
How do i compile mencoder with jpeg support ?
Thanks,
Yujin
More information about the MPlayer-users
mailing list