From: LAPPERRIERE S. <sl...@ac...> - 2008-11-21 09:30:42
|
Hi! I've tried mpeg4 and mpeg1 but none of them work. I'm using Debian testing release. So it appears the best think to do is to manually compile ffmpeg... Thank you for your help! -- Silvere Lapperriere .accelance msp Tel. +33 4 26 29 12 22 http://www.accelance.fr Angel Carpintero wrote: > El jue, 20-11-2008 a las 10:52 +0100, LAPPERRIERE Silvère escribió: > > Hi, > > >> My problem: motion 3.2.11 creates jpeg pictures but no AVI video file. >> >> Here is the output of the log file: >> >> Nov 20 10:46:38 mx motion: [1] Thread 1 started >> Nov 20 10:46:39 mx motion: [1] Resizing pre_capture buffer to 1 items >> Nov 20 10:46:39 mx motion: [1] Started stream webcam server in port 8081 >> Nov 20 10:46:43 mx motion: [1] Codec not found: Operation now in progress >> Nov 20 10:46:43 mx motion: [1] ffopen_open error creating (new) file >> [/var/www/cam/test1/01-20081120104643.avi]: Operation now in progress >> Nov 20 10:46:44 mx motion: [1] Calling vid_close() from motion_cleanup >> Nov 20 10:46:44 mx motion: [1] vid_close: calling netcam_cleanup >> Nov 20 10:46:44 mx motion: [1] netcam camera handler: finish set, exiting >> Nov 20 10:46:44 mx motion: [0] Motion thread 1 restart >> >> Here is my "motion.conf" config file: >> >> # Rename this distribution example file to motion.conf >> # >> # This config file was generated by motion 3.2.11 >> >> > [snip] > >> > > > Are you using debian or ubuntu ? > > http://www.lavrsen.dk/twiki/bin/view/Motion/DebianUbuntu > > > >> # Use ffmpeg to encode mpeg movies in realtime (default: off) >> ffmpeg_cap_new on >> > > >> # Codec to used by ffmpeg for the video compression. >> # Timelapse mpegs are always made in mpeg1 format independent from >> this >> option. >> # Supported formats are: mpeg1 (ffmpeg-0.4.8 only), mpeg4 (default), >> and >> msmpeg4. >> # mpeg1 - gives you files with extension .mpg >> # mpeg4 or msmpeg4 - gives you files with extension .avi >> # msmpeg4 is recommended for use with Windows Media Player because >> # it requires no installation of codec on the Windows client. >> # swf - gives you a flash film with extension .swf >> # flv - gives you a flash video with extension .flv >> # ffv1 - FF video codec 1 for Lossless Encoding ( experimental ) >> # mov - QuickTime ( testing ) >> ffmpeg_video_codec mpeg4 >> >> > > mpeg4 codec , probably your ffmpeg libs doesn't support mpeg encoders > (except for mpeg1 that is free). > > Cheers, > |