[MPlayer-users] rtsp stream playback does't work except mp3
乔建苹
jpqiao at sdu.edu.cn
Wed Apr 20 12:25:20 CEST 2005
Thank you, Philipp!
I run " mplayer -v rtsp://host/mpg1video.mpg" and "mplayer
rtsp://host/realmp3.mp3 " the following are the results:
1.# mplayer -v rtsp://host/mpg1video.mpg
MPlayer dev-CVS-050403-12:00-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
CommandLine: '-v' 'rtsp://172.16.24.167/mpg1video.mpg'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
get_path('mpg1video.mpg.conf') -> '/root/.mplayer/mpg1video.mpg.conf'
Playing rtsp://172.16.24.167/mpg1video.mpg.
Filename for url is now rtsp://172.16.24.167/mpg1video.mpg
Filename for url is now rtsp://172.16.24.167/mpg1video.mpg
Connecting to server 172.16.24.167[172.16.24.167]:554 ...
Cache size set to 640 KBytes
Connected to server: 172.16.24.167
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 15.00% (98304 bytes) Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 0
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0xdb
Chunk: CONT (544e4f43) (size: 0x1f, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0x37, offset: 0x63)
Found new stream (id: 0)
Stream mimetype: video/MPV
Unknown video stream format
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x37, offset: 0x9a)
Found new stream (id: 1)
Stream mimetype: audio/MPA
Unknown audio stream format
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x1b8eb0, offset: 0xd1)
Packets in file: 1204
No stream found.
vo: x11 uninit called but X11 not inited..
Exiting... (End of file)
2.
$ mplayer rtsp://172.16.24.167/realmp3.mp3
MPlayer dev-CVS-050403-12:00-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
scripts.
Playing rtsp://172.16.24.167/realmp3.mp3.
Connecting to server 172.16.24.167[172.16.24.167]:554 ...
Cache size set to 640 KBytes
Connected to server: 172.16.24.167
Cache fill: 18.75% (122880 bytes) REAL file format detected.
Stream mimetype: audio/X-MP3-draft-00
demux_real: invalid chunksize! (0)
Clip info:
name: realmp3
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [ffmp3adu] afm:ffmpeg (FFmpeg MPEG layer-3 adu audio decod
er)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback...
Stream EOF detected7% 18%
A: 39.1 (39.0) 5.7% 0%
Exiting... (End of file)
END. hope for your reply!
Joanna Qiao
More information about the MPlayer-users
mailing list