[MPlayer-users] about network streaming of mplayer

hong liu l1436636 at yahoo.com
Fri Jun 1 21:51:42 CEST 2007


I have two questions about the use of mplayer.

1. about playing back streamed content
>From the manual of mplayer posted in the web site, MPlayer can play files from the network, using the HTTP, FTP, MMS or RTSP/RTP protocol. Now I have  an H264 file called test.mp4 in a Darwin video streaming server. I used the command of "mplayer rtsp://192.168.0.1/test.mp4", and then error messages came out. I attached the output of mplayer in the below:
--------------------------------
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.60GHz (Family: 15, Model: 4, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing rtsp://142.92.36.55/a01_hinted.mp4.
Resolving 142.92.36.55 for AF_INET6...
Couldn't resolve name for AF_INET6: 142.92.36.55
Connecting to server 142.92.36.55[142.92.36.55]: 554...
rtsp_session: unsupported RTSP server. Server type is '4Sight/5.0 (Build=138; Platform=Windows)'.
STREAM_LIVE555, URL: rtsp://142.92.36.55/a01_hinted.mp4
Stream not seekable!
 file format detected.
Initiated "video/H264" RTP subsession on port 32974
demux_rtp: Guessed the video frame rate as 25 frames-per-second.
        (If this is wrong, use the "-fps <frame-rate>" option instead.)
VIDEO:  [H264]  0x0  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Error while decoding frame!
Error while decoding frame!,?% 0 0
Error while decoding frame!,?% 0 0
------------------------------------------------------

2. about Saving streamed content
I run the commands of "mplayer rtsp://192.168.0.1/test.mp4 -dumpstream -dumpfile test_recv.mp4" or "mplayer rtsp://192.168.0.1/test.mp4 -dumpstream -dumpfile test_recv.264". There was fatal error taking place. Here listed the relevant output of mplayer:
-------------------------------------------------------
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.60GHz (Family: 15, Model: 4, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing rtsp://142.92.36.55/a01_hinted.mp4.
Resolving 142.92.36.55 for AF_INET6...
Couldn't resolve name for AF_INET6: 142.92.36.55
Connecting to server 142.92.36.55[142.92.36.55]: 554...
rtsp_session: unsupported RTSP server. Server type is '4Sight/5.0 (Build=138; Platform=Windows)'.
STREAM_LIVE555, URL: rtsp://142.92.36.55/a01_hinted.mp4
Cannot dump this stream - no file descriptor available.

Exiting... (Fatal error)
-------------------------------------------------------------------

Could any expert offer any advice or help to fix the problems? Thank you very much in advance!

       
---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
 in the all-new Yahoo! Mail Beta. 


More information about the MPlayer-users mailing list