Page 2 of 2

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Mon Jun 02, 2014 12:45 pm
by jteeuw
Thanks for the info!

but when i run the code , i get a couple of second the cam on my monitor and the a stops with a error ( see screenshot)

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Tue Jun 03, 2014 6:53 am
by postfux
Hi jteeuw

Sorry now i know what was wrong in my Tutorial. Pleas forget my last post.

Instead of starting:

Code: Select all

ffstream & 
it schould be

Code: Select all

sudo ffserver &
Once ffserver is running you should be able to start

Code: Select all

raspivid -b 5000000 -ex night -mm average -op 150 -t 999999999 -w 640 -h 360 -fps 5 -o - |ffmpeg -v verbose -i - -flags +global_header -vcodec copy -r 5 -an http://0.0.0.0:8554/feed1.ffm
I corrected also the Tutorial at the beginning.

Greetings Markus

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Tue Jun 03, 2014 7:21 am
by jteeuw
hi Markus,

Thanks you for the info , but when i run

Code: Select all

sudo ffserver &
I get the following error :

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Tue Jun 03, 2014 7:23 am
by jteeuw
jteeuw wrote:hi Markus,

Thanks you for the info , but when i run

Code: Select all

sudo ffserver &
I get the following error :

Found it , i run the following code to correct it :

Code: Select all

sudo mkdir tmp2

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Tue Jun 03, 2014 8:11 am
by postfux
Hi jteeuw

Glad to hear that i could help you and that you got it running!

Greetings Markus

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Tue Jun 03, 2014 1:39 pm
by jteeuw
Hi Markus,

The stream is visible in VLC but in zoneminder i get the following errors:

Re: Raspberry Pi Cam module Streaming RTSP h264 video to ZM

Posted: Tue Jun 03, 2014 7:32 pm
by postfux
Hi jteeuw

Sorry i don't have so deep knowledge about zoneminder.

Have you compiled ZM by yourself ore used a prebuild version?
Do you use a 64bit Linux version? I have not used it for ZM,
so maybe when compiling you need different settings.

Greetings Markus