ffmpeg과 ffserver구동시 문제
글쓴이: ekaeae / 작성시간: 일, 2005/10/23 - 7:10오전
ffmpeg를 컴파일 하여 ffserver, ffmpeg를 컴파일 하였습니다
그 후에
ffserver -f doc/ffserver.conf ffserver started
실행후
ffmpeg -i /root/MO.mpg /tmp/feed1.ffm
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Oct 17 2005 13:16:14, gcc: 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) Input #0, mpeg, from 'MO.mpg': Duration: 00:03:02.1, bitrate: 2918 kb/s Stream #0.0: Audio: mp2, 32000 Hz, mono, 64 kb/s Stream #0.1: Video: mpeg1video, 640x480, 25.00 fps File '/tmp/feed1.ffm' already exists. Overwrite ? [y/N] y Output #0, ffm, to '/tmp/feed1.ffm': Stream #0.0: Video: mpeg1video, 640x480, 25.00 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp2, 32000 Hz, mono, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame= 4565 q=31.0 Lsize= 0kB time=182.5 bitrate= 0.0kbits/s
이러면서 프레임 q 사이즈 타임 bitrate 작동되었습니다
이렇게 ffmpeg을 실행시켜 주었습니다
클라이언트에서는
mplayer http://localhost:8090/test1.mpg
로 접속을 시도하였는데
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Playing http://localhost:8090/feed1.ffm. Resolving localhost for AF_INET6... Couldn't resolve name for AF_INET6: localhost Resolving localhost for AF_INET... Connecting to server localhost[127.0.0.1]:8090 ... Cache size set to 320 KBytes Connected to server: localhost Cache fill: 0.00% (0 bytes) Exiting... (End of file)
이렇게 끝나버립니다
저는 그냥 음향 영상 파일을 서버에서 가동 시키고
클라이언트에서 스트리밍으로 받게 하고 싶습니다....
mplayer에서 다른 옵션은 필요 없을것도 같은데
아시는분들 도움 부탁드립니다...~[/code]
Forums:
댓글 달기