Page 1 of 1

MPEG streaming

Posted: Wed Dec 07, 2005 1:19 am
by KorayPeksayar
Hello,

I'm tryng to integrate Kutttpech Java MPEG player into ZoneMinder for using event playback, using Kutttpech's slider for forwarding-backwarding should be cool !

However MPEG streaming fails for me.

I've enabled debugging at level 9 and I can see all output.

The output while trying to stream an MPEG is:

Code: Select all

FAT-zm_mpeg.cpp/148 [Could not open codec]
Now what do I miss here ?

I've mpeg as the format 'live' video streams are played in.

Koray

Posted: Wed Dec 07, 2005 1:11 pm
by zoneminder
Can you post a bit more debug if you have it? Also what version of ffmpeg are you using?

Phil

Debug log lines

Posted: Wed Dec 07, 2005 2:56 pm
by KorayPeksayar
zmdebug.log has the following as soon as I refresh the live viewing page:

Code: Select all

or Creative IBC = 20, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 10, FM = 0]
12/07/05 16:50:47.398164 zms[13849].DB1-zm_monitor.cpp/1309 [Loaded monitor 3(Creative), 0 zones]
12/07/05 16:50:47.398370 zms[13849].DB1-zm_monitor.cpp/1457 [BFPS:6, EFPS:6, FM:1]
12/07/05 16:50:47.401751 zms[13849].FAT-zm_mpeg.cpp/148 [Could not open codec]
:shock:

Posted: Wed Dec 07, 2005 5:08 pm
by zoneminder
That's not too helpful then :lol:

What about the ffmpeg version?

Phil

Posted: Wed Dec 07, 2005 5:27 pm
by KorayPeksayar
Oh sorry ! :(

It is 0.4.9-cvs

Code: Select all

Name        : ffmpeg                       Relocations: /usr
Version     : 0.4.9                             Vendor: Packman
Release     : 4.pm.cvs20051016              Build Date: Sun 16 Oct 2005 23:59:00 EEST
Install date: Fri 02 Dec 2005 20:41:07 EET      Build Host: marvin2
Group       : Video                         Source RPM: ffmpeg-0.4.9-4.pm.cvs20051016.src.rpm
Size        : 691974                           License: LGPL
Signature   : DSA/SHA1, Sun 16 Oct 2005 23:59:02 EEST, Key ID 888366c05277a2fa
Packager    : Manfred Tremmel <Manfred.Tremmel@iiv.de>
URL         : http://ffmpeg.sourceforge.net
Summary     : Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder
Description :
ffmpeg is a hyper fast realtime audio/video encoder, a streaming  server
and a generic audio and video file converter.

It can grab from a standard Video4Linux video source and convert it into
several file formats based on DCT/motion compensation encoding. Sound is
compressed in MPEG audio layer 2 or using an AC3 compatible stream.
Distribution: SUSE LINUX 10.0 (i586) OSS

Posted: Wed Dec 07, 2005 5:39 pm
by KorayPeksayar
And now it is:

Code: Select all

==> /var/log/zm/zm_debug.log <==
r Creative IBC = 20, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 10, FM = 0]
12/07/05 19:34:49.360136 zms[23396].DB1-zm_monitor.cpp/1309 [Loaded monitor 3(Creative), 0 zones]
12/07/05 19:34:49.360335 zms[23396].DB1-zm_monitor.cpp/1457 [BFPS:10, EFPS:10, FM:1]
12/07/05 19:34:49.360766 zms[23396].WAR-zm_mpeg.cpp/45 [Could not deduce output format from file extension: using MPEG.]
12/07/05 19:34:49.364028 zms[23396].FAT-zm_mpeg.cpp/148 [Could not open codec]
However video creation works.
So far only live streaming doesn't work, haven't tried events yet

Posted: Thu Dec 08, 2005 1:07 pm
by zoneminder
Can you check that LIVE_VIDEO_FORMAT is just 'mpeg' and not 'mpeg ' or any other combination with spaces or other funny characters in it. Also you could try just mpg without the 'e'.

Phil