Page 1 of 1

mpeg4 to asf?

Posted: Wed Nov 30, 2005 10:46 pm
by bhomass
one thing I never understood is how does zm convert mpeg4 streams to asf for displaying on WMP?

Posted: Wed Nov 30, 2005 10:50 pm
by zoneminder
It doesn't. ZM generates video streams in a variety of video formats such as mpeg or asf by utilising the capabilities of ffmpeg. So fi ffmpeg can do it then so should ZM, within the bounds of format limitations such as frame rates and windw sizes etc.

Phil

Posted: Wed Nov 30, 2005 11:19 pm
by bhomass
but the choices on configure are
ZM_VIDEO_STREAM_METHOD = mpeg
ZM_VIDEO_LIVE_FORMAT = asf

when is "method" applied vs. "format"?

Posted: Thu Dec 01, 2005 12:17 am
by zoneminder
The stream method should probably be called video rather than mpeg. Originally I only got it working with mpeg video and since I was using mpeg_encode and ffmpeg I just ended up calling it mpeg. Video is a better word though. Format is just the format of video and is passed to ffmpeg directly.

Phil

Posted: Thu Dec 01, 2005 1:01 am
by bhomass
does this mean, where it say asf, I could change to mpeg?

I am not sure I configured my ffmpeg to support asf. was there something option required during configure for ffmpeg?

Posted: Thu Dec 01, 2005 1:23 pm
by zoneminder
Yes you can change asf to mpeg. Bear in mind though that asf works as a continuous stream whereas so far I've only been able to get mpeg working as a fixed length file. Your mileage may vary as they say.

As far as I know, you don't need to do anything special with ffmpeg to use asf.

Phil

Posted: Fri Dec 02, 2005 2:15 pm
by SyRenity
I think that actually MPEG-4 would be the correct name for this option, as that's how the security IP cameras are divided by their capabilities, i.e. streaming via MJPEG or via MPEG-4 or both.