mpeg4 to asf?

Support and queries relating to all previous versions of ZoneMinder
Locked
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

mpeg4 to asf?

Post by bhomass »

one thing I never understood is how does zm convert mpeg4 streams to asf for displaying on WMP?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post by bhomass »

but the choices on configure are
ZM_VIDEO_STREAM_METHOD = mpeg
ZM_VIDEO_LIVE_FORMAT = asf

when is "method" applied vs. "format"?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
bhomass
Posts: 103
Joined: Sat Jun 11, 2005 6:54 pm

Post 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?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
SyRenity
Posts: 301
Joined: Mon Jan 24, 2005 2:43 pm

Post 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.
Locked