How to stream from a file using ffserver ,ffmpeg and mplayer093 (7/26/2007 4:47:48 AM) comp.os.linux.misc What I do is : 1. ffserver -f ffserver.conf& 2. ffmepg -r 30 -s 320x240 -an -i ~/test/dvd.avi http://localhost:8090/feed1.ffm 3. mplayer http://localhost:8090/test.asf but the ffmpeg exit after a few seconds ==... DaVinci
why there is no sound for the demo prgrame of alsa lib136 (3/18/2007 5:24:32 AM) comp.unix.programmer http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm__min_8c-example.html 0001 / 00002 * This extra small demo sends a random samples to your speakers. 00003 */ 00004 00005 #include "../include/asound... DaVinci
"cat xyz.wav > /dev/dsp " why there are no audio638 (3/17/2007 2:58:24 PM) comp.os.linux.misc alsa. devices such as /dev/dsp /dev/mixer,/dev/audio existed. the player xmms,and other player works well. but I do this :"cat xyz.wav">/dev/dsp,there is no effect. why? thanks. ... DaVinci
what's wrong with the macro3844 (10/22/2006 7:03:25 AM) comp.lang.c #include #include #include #define SECONDS_PER_YEAR (60*60*24*365)UL int main() { unsigned long int u_i = SECONDS_PER_YEAR; printf("%lu\n",u_i); return 0; } cc -g -c -Wall -std=c99 -DDEBUG defin... DaVinci
how can I get warning ?530 (10/17/2006 10:59:04 AM) comp.lang.c int main() { double d = 33.33; int i = d; return 0; } Makefile: gcc -c -g -Wall -std=c99 test.c but I can't get any warning information. how can I get the warning on the type converation? ... DaVinci
sendto:: Invalid argument.199 (9/21/2006 7:48:24 AM) comp.unix.programmer #define PORT 2223 why htonl(PORT) will make sendto() if(sendto(sockfd,buff3,10,0, (struct sockaddr*)&sad,sizeof(sad))<0) error,but htons(PORTPort) will not ? the error is : sendto:: Invalid argume... DaVinci
what's the meaning of the macro140 (9/11/2006 1:36:29 PM) comp.lang.c I had thinked about the implements of variable argument for a long time. But I only know a little about it on the following macro. Could you please explain it for me? more detail.Thanks very much. typedef cha... DaVinci
Pow() doesn't give me the correct result243 (9/16/2006 12:06:16 PM) comp.unix.programmer I tried to obtain the power of a number i.e say I used something like pow(2.0,3.0) in my program. Initially it said error undefined symbol : pow() . Then I linked the library libbsd.a. Then it got cmpiled but i... Itzramki(1)
sendto:: Invalid argument.199 (9/21/2006 7:48:24 AM) comp.unix.programmer #define PORT 2223 why htonl(PORT) will make sendto() if(sendto(sockfd,buff3,10,0, (struct sockaddr*)&sad,sizeof(sad))<0) error,but htons(PORTPort) will not ? the error is : sendto:: Invalid argume... apple.davinci(92)
how can I get warning ?530 (10/17/2006 10:59:04 AM) comp.lang.c int main() { double d = 33.33; int i = d; return 0; } Makefile: gcc -c -g -Wall -std=c99 test.c but I can't get any warning information. how can I get the warning on the type converation? ... apple.davinci(92)