Unable to play back video saved in MPEG4

Support and queries relating to all previous versions of ZoneMinder
Locked
TheWayne
Posts: 8
Joined: Mon Jun 07, 2004 10:05 pm
Location: Chicago
Contact:

Unable to play back video saved in MPEG4

Post by TheWayne »

Has anyone had any luck in trying to save an Event in an MPEG4 format ? I am using Zoneminder 1.19.4 and the latest CVS from ffmpeg. My camera source is from the Dlink DCS1000 netcam . I have the option for ffmpeg set to -vcodec mpeg4 (tried msmpeg4 also) the mpeg file seems to be encoded but I have not been able to play them back with ffplay,xine,or Windows media player. Maybe it is just an issue with ffmpeg 0.4.8 or I have something wrong in how I am passing the options. My goal is to have 3 or 4 netcams and archive all the footage saved nto mpeg4 files every hour.
TheWayne
Posts: 8
Joined: Mon Jun 07, 2004 10:05 pm
Location: Chicago
Contact:

Post by TheWayne »

Changed line 156 in zmvideo.pl from my $video_file = "$video_name.mpg" to my $video_file = "$video_name.avi" . Seems ffmpeg will encode a file with a .mpg extension as mpeg4 but uses a mpeg header. File will create but can not be played back.
Locked