Page 1 of 2
image mpeg
Posted: Tue May 29, 2007 4:00 pm
by nadir
Hi all,
how i can't view image in mpeg after changing in option
image format mpeg >> swf>>in format of ffmpeg swf.
i have just a white screen.
image mpeg
Posted: Tue May 29, 2007 4:21 pm
by nadir
are there some packeges to install (libcodecs or...)
Posted: Tue May 29, 2007 6:58 pm
by wilso027
Are you trying to change the live view of a camera from mjpeg to mpg?
Allan
re
Posted: Tue May 29, 2007 7:04 pm
by nadir
Yes of course
Posted: Tue May 29, 2007 7:44 pm
by wilso027
All the following can be found under options and the images tab.
Make sure that you have ZM_STREAM_METHOD set to mpeg and that ZM_OPT_MPEG is set to something other than no. You also probably need to make sure the paths for ZM_PATH_MPEG_ENCODE and ZM_PATH_FFMPEG are correct.
Allan
re
Posted: Tue May 29, 2007 8:19 pm
by nadir
ZM_STREAM_METHOD set to mpeg
ZM_MPEG_LIVE_FORMAT swf
ZM_OPT_MPEG ffmpeg
ZM_PATH_FFMPEG /usr/bin dirc instalation
re
Posted: Tue May 29, 2007 8:31 pm
by nadir
What have you set in FFMPEG INPUT OPTION
Posted: Tue May 29, 2007 9:04 pm
by wilso027
I don't know what distro you have but my ZM_PATH_FFMPEG /usr/local/bin/ffmpeg on a Ubuntu system. You have to make sure that the path to ffmpeg correct. I don't have anything on the ZM_FFMPEG_INPUT_OPTIONS line. Can you generate videos of events. If that works then you know ffmpeg is working.
Allan
RE
Posted: Tue May 29, 2007 9:14 pm
by nadir
I am running debian and ffmpeg path is /usr/bin fmpeg generate video
Posted: Tue May 29, 2007 10:00 pm
by wilso027
I am running Ubuntu which is a flavor of Debian and I had to compile ffmpeg by hand to fix a bug that was in my version. I used the article from here:
http://po-ru.com/diary/fixing-ffmpeg-on-ubuntu-edgy/
See if you can create a video of an event. Also I think your path to ffmpeg is wrong. What is the output of the following command
Allan
re
Posted: Wed May 30, 2007 11:10 am
by nadir
[debian:/home/nadir# dlocate ffmpeg |grep bin
]
ffmpeg: /usr/bin
ffmpeg: /usr/bin/ffserver
ffmpeg: /usr/bin/ffmpeg
ffmpeg: /usr/bin/ffplay
[/code]
Posted: Wed May 30, 2007 1:38 pm
by wilso027
Can you generate videos?
re
Posted: Wed May 30, 2007 4:14 pm
by nadir
Yes, in avi, mpeg...
Posted: Wed May 30, 2007 8:08 pm
by W.
live mpeg uses libavcodec, not the ffmpeg executable, so make sure you have libavcodec installed and zm compiled against it. besides that, check zms logs for any hints if you have zm compiled with live mpeg support or not.
Re
Posted: Thu May 31, 2007 11:32 am
by nadir
i have installed zm by APT from debian package it's a binary .deb not a source. You think it's nessecery to compil source than the binary.
for me i think binary is better,perhaps zm from source is better.
i have all libcodecs installed w32codecs.