[Mplayer-felhasznalok] rtsp:// Darwin Streaming Server <-> mplayer
Balazs Moldovanyi
moldovanyi at vnet.hu
Fri Jan 26 16:38:02 CET 2007
Sziasztok,
Volt már az angol levlistán hasonló kérdés tavaly, de
megválaszolatlanul marad: hogyan lehet Darwin Streaming Video Server-
ről jövő file-t, illetve live stream-et mplayer-rel megnézni?
Darwin 5.5 Linuxon (FC6) és Mplayer a következő hibajelenséget
produkálja:
root at localhost ~]# mplayer rtsp://192.168.77.11/sample_100kbit.mp4
...
Unable to determine our source address: This computer has an invalid
IP address: 0x0
(Hasonló a bánata egy live stream-et leíró .sdp-vel is.)
QuickTime Player (más gépen) és VLC lejátsza a file-t (és az SDP-
t is) RTSP-n keresztül.
Teljes output a levél végén.
Ugyanezen file ugyanezen gépről, de http-n át kiválóan
lejátszódik, output szintén a levél végén.
(Egy nagyobb projektben szeretnénk kiváltani a Windows-os PC-ket
Linux-ra egy webes alkalmazás klienseiként. Már csak a QuickTime
plugin-t kiváltatni képes komponenst keressük, így került a
képbe az MPlayer. Kérlek segítsetek!)
Előre is köszi minden segítséget!
u.i. tudom, hogy nem az SVN verzióval tesztelem, de elég frissnek
tünt ez a LIVNA csomag és ez ment fel gyorsan, bíztam benne, hogy
működni fog. Kipróbálom az svn-nel is amint tudom és beszámolok
az eredményről.
u.i. 2 tesztURL-t adjak? Vagy bármi másban tudok segíteni?
-Balázs
Mplayer with RTSP URL from DSS:
[root at localhost ~]# mplayer rtsp://192.168.77.11/sample_100kbit.mp4
MPlayer 1.0rc1-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing rtsp://192.168.77.11/sample_100kbit.mp4.
Resolving 192.168.77.11 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.77.11
Connecting to server 192.168.77.11[192.168.77.11]: 554...
A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/5.5 (Build/
489.7; Platform/Linux; Release/Darwin; )'.
STREAM_LIVE555, URL: rtsp://192.168.77.11/sample_100kbit.mp4
Stream not seekable!
file format detected.
Unable to determine our source address: This computer has an invalid
IP address: 0x0
Unable to determine our source address: This computer has an invalid
IP address: 0x0
Initiated "video/MP4V-ES" RTP subsession on port 32820
Unable to determine our source address: This computer has an invalid
IP address: 0x0
Unable to determine our source address: This computer has an invalid
IP address: 0x0
Initiated "audio/MPEG4-GENERIC" RTP subsession on port 32822
MPlayer interrupted by signal 2 in module: demux_open
Mplayer with HTTP URL to the same file:
[root at localhost ~]# mplayer http://192.168.77.11/~websp/video/
sample_100kbit.mp4
MPlayer 1.0rc1-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing http://192.168.77.11/~websp/video/sample_100kbit.mp4.
Resolving 192.168.77.11 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.77.11
Connecting to server 192.168.77.11[192.168.77.11]: 80...
Cache size set to 320 KBytes
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
Quicktime/MOV file format detected.
VIDEO: [mp4v] 192x242 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
========================================================================
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
========================================================================
==
========================================================================
==
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 16000 Hz, 2 ch, s16le, 20.0 kbit/3.91% (ratio: 2500->64000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4
Audio) decoder)
========================================================================
==
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 192 x 242 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 0.79:1 - prescaling to correct movie aspect.
VO: [xv] 192x242 => 192x242 Planar YV12
A: 69.9 V: 69.9 A-V: 0.009 ct: 0.131 1050/1050 1% 0% 1.5% 1 0 0%
Exiting... (End of file)
More information about the MPlayer-felhasznalok
mailing list