[MPlayer-users] how to make mplayer to exit automatically when receiving streaming video
hong liu
l1436636 at yahoo.com
Fri Jul 6 15:00:42 CEST 2007
>Hi!
>hong liu <l1436636 <at> yahoo.com> writes:
>> When I use mplayer or mencoder to receive streaming videos, they cann't exit
>automatically after the
>> streaming is over. I have to use Ctrl-C or other ways to kill them. Is there
>any decent way to force them exit
>> after the stream session is completed?
>Please fix your line length! (is this the fourth time I ask?)
>Please post a command line including output.
>Carl Eugen
Hello Carl,
Thank you for your advice. I will pay more attention on fixing the line length for
later emails.
The following is the command line plus output:
------------------
<gx620-7-147> mplayer rtsp://192.168.0.1/a01_hinted.mp4
MPlayer dev-SVN-r23519-3.4.6 (C) 2000-2007 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://192.168.0.1/a01_hinted.mp4.
Resolving 192.168.0.1 for AF_INET6...
Couldn't resolve name for AF_INET6: 142.92.36.55
Connecting to server 192.168.0.1[192.168.0.1]: 554...
rtsp_session: unsupported RTSP server. Server type is '4Sight/5.0
(Build=138; Platform=Windows)'.
STREAM_LIVE555, URL: rtsp://192.168.0.1/a01_hinted.mp4
Stream not seekable!
file format detected.
Initiated "video/H264" RTP subsession on port 32774
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...
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 352x288 => 352x288 Planar YV12
V: 11.9 299/299 2% 0% 0.0% 0 0
-------------------------------------------
After I type Ctrl-C, and the resulting output is :
MPlayer interrupted by signal 2 in module: video_read_frame
Thank you for your kind help again!
Hong
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
More information about the MPlayer-users
mailing list