377,378,379,381 さん ありがとうございます。 DMAは、ONです。CPUの使用率もそんなに高くないので、XV かもしれません。 // Display is not using Xinerama. configfile: error - tried to update non-string type 0 (key video.logo_file, value /usr/local/share/xine/skins/xine_logo.zyuy2) video_out_xv: using Xv port 60 from adaptor NV04 Video Overlay for hardware colorspace conversion and scaling.
Warning! Synchoronized X activated - this is way slow....
Making install in src make[1]: ここに入ります: ディレクトリ `/root/aalib-1.4.0/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c aalinux.c rm -f .libs/aalinux.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c aalinux.c -fPIC -DPIC -o .libs/aalinux.lo aalinux.c:8: gpm.h: No such file or directory In file included from /usr/include/sys/types.h:215, from /usr/include/bits/fcntl.h:25, from /usr/include/fcntl.h:33, from aalinux.c:11: /usr/include/sys/select.h:52: warning: `__NFDBITS' redefined /usr/include/linux/posix_types.h:22: warning: this is the location of the previous definition /usr/include/sys/select.h:54: warning: `__FDMASK' redefined /usr/include/linux/posix_types.h:34: warning: this is the location of the previous definition make[1]: *** [aalinux.lo] エラー 1 make[1]: ここから出ます: ディレクトリ `/root/aalib-1.4.0/src' make: *** [install-recursive] エラー 1
Index: cfg-mencoder.h =================================================================== RCS file: /cvsroot/mplayer/main/cfg-mencoder.h,v retrieving revision 1.49 diff -r1.49 cfg-mencoder.h 85a86,90 > #ifdef HAVE_VORBIS > {"vorbis", &out_audio_codec, CONF_TYPE_FLAG, 0, 0, ACODEC_VORBIS, NULL}, > #else > {"vorbis", "MPlayer was compiled without vorbis support!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, > #endif Index: mencoder.c =================================================================== RCS file: /cvsroot/mplayer/main/mencoder.c,v retrieving revision 1.147 diff -r1.147 mencoder.c 0a1 > #define HAVE_VORBIS 1 13c14,15 < #define ACODEC_NULL 3 --- > #define ACODEC_VORBIS 3 > #define ACODEC_NULL 4 55a58,62 > #ifdef HAVE_VORBIS > #undef CDECL > #include <vorbis/vorbisenc.h> > #endif /* HAVE_VORBIS */ > 189a197,218 > #ifdef HAVE_VORBIS > typedef struct oggvorbis_struct_st { > ogg_stream_state os; /* take physical pages, weld into a logical > stream of packets */ > ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ > ogg_packet op; /* one raw packet of data for decode */ > > vorbis_info vi; /* struct that stores all the static vorbis bitstream > settings */ > vorbis_comment vc; /* struct that stores all the bitstream user comments */ > vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ > vorbis_block vb; /* local working space for packet->PCM decode */ > ogg_packet header; > ogg_packet header_comm; > ogg_packet header_code; > int eos, buf_len; > int first; > char *buf; > } oggvorbis_struct_t; > struct oggvorbis_struct_st *ov; > #endif >
472 名前:login:Penguin [02/08/20 19:32 ID:C1Epl3BU]
768a798,864 > case ACODEC_VORBIS: > printf("Vorbis audio (testing) selected\n"); > ov = (struct oggvorbis_struct_st*)malloc(sizeof(struct oggvorbis_struct_st)); > > ov->eos = 0, ov->buf_len = 0; > ov->first = 1; > > ov->buf = (char *)malloc(32768); > > vorbis_info_init(&ov->vi); > vorbis_encode_init_vbr(&ov->vi,sh_audio->channels, > sh_audio->samplerate,.5); > > /* add a comment */ > vorbis_comment_init(&ov->vc); > vorbis_comment_add_tag(&ov->vc,"ENCODER","encoder_example.c"); > > /* set up the analysis state and auxiliary encoding storage */ > vorbis_analysis_init(&ov->vd, &ov->vi); > vorbis_block_init(&ov->vd, &ov->vb); > > /* set up our packet->stream encoder */ > /* pick a random serial number; that way we can more likely build > chained streams just by concatenation */ > srand(time(NULL)); > ogg_stream_init(&ov->os,rand()); > > /* Vorbis streams begin with three headers; the initial header (with > most of the codec setup parameters) which is mandated by the Ogg > bitstream spec. The second header holds any comment fields. The > third header holds the bitstream codebook. We merely need to > make the headers, then pass them to libvorbis one at a time; > libvorbis handles the additional Ogg bitstream constraints */ > > vorbis_analysis_headerout(&ov->vd, &ov->vc, &ov->header, &ov->header_comm, > &ov->header_code); > /* automatically placed in its own page */ > ogg_stream_packetin(&ov->os, &ov->header); > ogg_stream_packetin(&ov->os, &ov->header_comm); > ogg_stream_packetin(&ov->os, &ov->header_code); > > while(!ov->eos){ > int ov_count = 0; > int result=ogg_stream_flush(&ov->os,&ov->og); > if(result==0) break; > // fwrite(og.header,1,og.header_len,stdout); > memcpy(ov->buf+ov->buf_len, ov->og.header, ov->og.header_len); > ov->buf_len += ov->og.header_len; > // fwrite(og.body,1,og.body_len,stdout); > memcpy(ov->buf+ov->buf_len, ov->og.body, ov->og.body_len); > ov->buf_len += ov->og.body_len; > }