mplayer 在线播放错误
CPU: ARM
Playing rtsp://admin:12345@192.168.1.198/mpeg4/main/ch01/av_stream.
Connecting to server 192.168.1.198[192.168.1.198]: 554...
librtsp: server responds: 'RTSP/1.0 405 Method Not Allowed'
STREAM_LIVE555, URL: rtsp://admin:12345@192.168.1.198/mpeg4/main/ch01/av_stream
Stream not seekable!
file format detected.
Unable to determine our source address: This computer has an invalid IP address: 0x0
这个错误是因为没有设置网关造成的
route add default gw x.x.x.x eth0
设置后问题消失
Playing rtsp://admin:12345@192.168.1.198/mpeg4/main/ch01/av_stream.
Connecting to server 192.168.1.198[192.168.1.198]: 554...
librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
STREAM_LIVE555, URL: rtsp://admin:12345@192.168.1.198/mpeg4/main/ch01/av_stream
Stream not seekable!
file format detected.
Initiated "video/H264" RTP subsession on port 39284
Initiated "audio/PCMU" RTP subsession on port 33848
demux_rtp: Failed to guess the video frame rate
VIDEO: [H264] 0x0 0bpp 0.000 fps 0.0 kbps ( 0.0 kbyte/s)
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Opening audio decoder: [alaw] aLaw/uLaw audio decoder
AUDIO: 8000 Hz, 1 ch, s16le, 64.0 kbit/50.00% (ratio: 8000->16000)
Selected audio codec: [ulaw] afm: alaw (uLaw)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/sound/dsp: No such device or address
Opening /dev/dvb/adapter0/audio0
DVB AUDIO DEVICE: No such file or directory
AO: [null] 8000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 26.4 (26.4) of 0.0 (unknown) 0.8%
播放RTSP:/ /管理员:12345@192.168.1.198/mpeg4/main/ch01/av_stream。
连接到服务器192.168.1.198 [ 192.168.1.198 ]:554…
librtsp:服务器响应:“RTSP/1 401未经授权的
stream_live555,网址:RTSP:/ /管理员:12345@192.168.1.198/mpeg4/main/ch01/av_stream
流不可搜索!
文件格式检测。
发起的“视频/ H264“RTP会话在端口39284
发起的“音频/ PCMU“RTP会话在端口33848
demux_rtp:未能猜视频帧速率
视频:[ H264 ] 0x0 0bpp 0帧0 kbps的(0字节/秒)
FPS在页眉或无效没有指定,使用FPS的选项。
==========================================================================
打开音频解码器:[一]个/ ulaw音频解码器
音频:8000赫兹,1通道,s16le,64 kbit/50%(比:8000 - 16000)
选定的音频编解码器:[ ulaw ]:一个原子力显微镜(ulaw)
==========================================================================
[澳] audio_setup OSS:不能打开音频设备/ dev /声音/ DSP:没有这样的设备或地址
打开/ dev / DVB / adapter0 / audio0
DVB音频设备:没有这样的文件或目录
奥:[空] 8000Hz 1Ch s16le(每个样品的2个字节)
视频:视频无
开始播放…