From: Angel C. <ac...@te...> - 2008-11-20 12:10:07
|
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, -- Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint = 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe; no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply. Willing is not enough; we must do" Johann Wolfgang von Goethe |