[MPlayer-users] MEncoder RTSP Stream Recording

Steve utnsteve at gmail.com
Sun Aug 28 04:14:59 CEST 2011


Hi All,

Just wanted to add it may not be specific to Panasonic Cameras, but if
anyone has experience being able to play a RTSP stream through MPlayer but
being unable to record the stream through MEncoder and if they found a
work-around or solution, their input would be greatly appreciated.

Thank you.

On Thu, Aug 25, 2011 at 4:04 PM, Steve <utnsteve at gmail.com> wrote:

> Hi All,
> I am using a Panasonic Camera and I am able to use the following
> command to Play the RTPS stream:
>
> mplayer rtsp://x.x.x.x/nphMpeg4/nil-640x480 -user xxx -passwd xxx
> -cache 8192 -fs -fps 30
>
> Now, I am trying to use MEncoder to record the stream by using the
> following command (taking a 30 FPS and turning it into a 5 FPS):
>
> mencoder rtsp://x.x.x.x/nphMpeg4/nil-640x480 –user xxx –passwd xxx
> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv -fps 30 -ofps 5
> -nosound -endpos 00:00:30 -o test.
>
> Now I am getting the following message:
> ============================
> MEncoder dev-SVN-r33996-4.5-openSUSE Linux 11.4 (i686)-Packman (C)
> 2000-2011 MPlayer Team
> Resolving x.x.x.x for AF_INET6...
>
> Couldn't resolve name for AF_INET6: x.x.x.x
> Connecting to server x.x.x.x[x.x.x.x]: 554...
>
> librtsp: server responds: 'RTSP/1.0 400 Bad Request'
> STREAM_LIVE555, URL: rtsp://x.x.x.x/nphMpegh4/nil-640x480
> success: format: 21  data: 0x0 - 0x0
> Stream not seekable!
>  file format detected.
> Failed to get a SDP description from URL
> "rtsp://x.x.x.x/nphMpegh4/nil-640x480": 404 Not Found
> ============ Sorry, this file format is not recognized/supported
> =============
> === If this file is an AVI, ASF or MPEG stream, please contact the
> author! ===
> Cannot open demuxer.
>
> Exiting...
> ============================
>
> So, I can play using MPlayer, but I can not record the stream via MEncoder?
>
> I also tried using:
>
> mplayer rtsp://x.x.x.x/nphMpeg4/nil-640x480 -dumpvideo -dumpfile
> test.mp4.raw
>
> But that also did not work...
> Anyone using similar scenario with Panasonic IP Camera?
>
> Thank you for any help or tips.
> Cheers.
>


More information about the MPlayer-users mailing list