[MPlayer-users] warning: first frame is no keyframe.. Please help

Ratin ratin3 at gmail.com
Sat Oct 27 18:04:34 CEST 2007


I verified the stream I am supplying to it is MPEG-4 stream. If I specify
MPEG-2 stream, i.e, "MPV"
instead of "MP4V-ES" for the codec type in RTMAP line in the SDP, then
mplayer errors out with:

"MPEG: FATAL: EOF while searching for sequence header. Video: Cannot read
properties. No stream found"

No video shows up ofcourse.

And like I said, the playback is fine after I cause motion infront of the
camera, suggesting that the motion vector
calculation algorithms probably somehow initializes the decoder/player
properly. If you or anybody here can point
me to right direction, that would be great.

Thanks,

Ratin


Date: Fri, 26 Oct 2007 18:27:38 +0000 (UTC)
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
Subject: Re: [MPlayer-users] warning: first frame is no keyframe..
       Please  help
To: mplayer-users at mplayerhq.hu
Message-ID: <loom.20071026T182525-431 at post.gmane.org>
Content-Type: text/plain; charset=us-ascii

Hi!

Ratin <ratin3 <at> gmail.com> writes:

> I developed an RTSP server to server live MPEG-2 stream and tried it with
> mplayer and vlc, The video is full of greenish artifacts,  and I am
getting
> this warning (whown below with <<<<<<<<<<<<<<<)

[...]

> Initiated "video/MP4V-ES" RTP subsession on port 3122

It seems your server claims that your MPEG2 video is MPEG4.
That makes playback definitely impossible.

Carl Eugen


Message: 5
Date: Fri, 26 Oct 2007 10:40:02 -0700
From: Ratin <ratin3 at gmail.com>
Subject: [MPlayer-users] warning: first frame is no keyframe.. Please
       help
To: mplayer-users at mplayerhq.hu
Message-ID:
       <5c70701a0710261040y13d06495vbd
44cedface076ed at mail.gmail.com<5c70701a0710261040y13d06495vbd44cedface076ed at mail.gmail.com>
>
Content-Type: text/plain; charset=ISO-8859-1

I developed an RTSP server to server live MPEG-2 stream and tried it with
mplayer and vlc, The video is full of greenish artifacts,  and I am getting
this warning (whown below with <<<<<<<<<<<<<<<)


C:\Program Files\MPlayer for Windows>mplayer rtsp://10.95.253.160/1841 -fps
30
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.00GHz (Family: 6, Model: 13,
Stepping: 8)
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://10.95.253.160/1841.
Connecting to server 10.95.253.160[10.95.253.160]: 554...
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
STREAM_LIVE555, URL: rtsp://10.95.253.160/1841
Stream not seekable!
 file format detected.
Initiated "video/MP4V-ES" RTP subsession on port 3122
VIDEO:  [mp4v]  0x0  0bpp  0.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)
==========================================================================
Audio: no sound
FPS forced to be 30.000  (ftime: 0.033).
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.47:1 - prescaling to correct movie aspect.
VO: [directx] 352x240 => 352x240 Planar YV12
[mpeg4 @ 00D01B60]warning: first frame is no
keyframe                              <<<<<<<<<<<<<<<<<<<
No bind found for key 'MOUSE_BTN0'.
V:   0.0 -2147483648/17838 -2147483648% -2147483648% -1.$% 0 0

Exiting... (End of file)

I am definitely sending I-Frames as the first packet to mplayer as I
captured the packets a number of times. Funny thing is video clears up as
soon as camera/encoder captures motion (i.e. waving my hand infront of the
camera will do the job). I am wondering if anybody here knows what
exactly mplayer is looking for when I am providing VS header, VOS header,
GOV header and VOP header. vlc also throws the same warning. Any clue? I
will appreciate any reponse.

Thanks,

Ratin



More information about the MPlayer-users mailing list