Page 1 of 1

Black screens when trying to stream asf or swf

Posted: Sun Aug 19, 2007 12:12 pm
by lister
Am making slow progress with my install on Fedora...

Test camera is now working fine using MJPEG or JPEG. However, when I try and stream asf or swf, I just get a black screen.

The browser is definately expecting the correct format, as it loads media player, or Flash appropriately.

I have installed ffmpeg fine, and set the following options:
ZM_MPEG_LIVE_FORMAT = asf
ZM_MPEG_REPLAY_FORMAT = asf
ZM_STREAM_METHOD = mpeg
ZM_OPT_MPEG = ffmpeg
ZM_PATH_FFMPEG = usr/bin/ffmpeg (correct)
ZM_FFMPEG_FORMATS = mpg* asf mpeg wmv avi mov swf 3gp**

Is there some log file that can give me a clue?
I've tried looking at /var/log/messages, but can't see any obvious problems.

Thanks for any help,
Lister

Posted: Sun Aug 19, 2007 6:45 pm
by lister
OK, I've just noticed this message in the log:

Code: Select all

Aug 19 19:41:46 garage zms[5892]: ERR [MPEG streaming of 'mode=mpeg&monitor=1&scale=100&bitrate=150000&maxfps=15&format=asf&auth=ee5e6fa43f50701cd77b9ddcb283e9a2&rand=1187548906' attempted while disabled]
which seems to infer that mpeg streaming is disabled? Any idea why? :(

Posted: Sun Aug 19, 2007 6:53 pm
by lister
Right, I've searched the forums for this error, and see that it's because my copy of ZM wasn't built for mpeg support, or it couldn't find some libraries.

I'm a fair newbie to Linux, so I just installed ZM as an RPM. Does this mean I have to build ZM myself in order to get streaming working? :(

Is there not an RPM version somewhere with mpeg support already built?

Posted: Sun Aug 19, 2007 10:58 pm
by jameswilson
I have many years of zm experience but i still have issues trying to build and get ffmpeg to work so i still use the live cd. If you want to 'roll your own' im afraid this will happen and i for one dont have the know how to help you. I know that the compiled version of zm must match the ffmpeg version it was built with.
If you want it to just work and dont have bleeding edge new hard ware check out the live cd's or Ross's CTU ZM

live cd is on Mandriva 2006, CTU is FC3

Posted: Mon Aug 20, 2007 9:56 am
by lister
Thanks for your comments. Sounds like it's going to be a bit of a mare but I guess that's the best way to learn! :lol:

Been reading up a bit on the Fedora rpm and it seems that ffmpeg wasn't included as the licensing goes against Fedora's philosophy.

Oh well, I guess I'll just have to have a bash at building it myself, and I can always fall back on the live CD's if needs be.

Thanks again.

Update

Posted: Wed Sep 12, 2007 8:31 pm
by dhorth
Did you find a fix for this issue. I'm in the same boat!