From: Alexander Markelov <ml@13.net.ru> To: sisyphus@altlinux.ru Subject: [sisyphus] motion + FFmpeg Date: Tue, 05 Oct 2004 10:29:46 +0400 Message-ID: <41623F5A.9000608@13.net.ru> (raw) Доброго времени суток! У кого нибудь получилось заставить motion писать mpeg1 или mpeg4 ? Использую последний motion из сизифа. Вот кусок из motion.conf относящийся к ffmpeg: #Use ffmpeg to encode mpeg movies in realtime (default: off) ffmpeg_cap_new on #Use ffmpeg to make movies with only the pixels moving #object (green ghost images) (default: off) ffmpeg_cap_motion off #Use ffmpeg to encode a timelapse movie #Default value 0 = off - else save frame every Nth second ffmpeg_timelapse 0 #The file rollover mode of the timelapse video #Valid values: hourly, daily (default), weekly-sunday, weekly-monday, monthly, manual ffmpeg_timelapse_mode daily #Bitrate to be used by the ffmpeg encoder (default: 400000) #This option is ignored if ffmpeg_variable_bitrate is not 0 (disabled) ffmpeg_bps 500000 #Enables and defines variable bitrate for the ffmpeg encoder. #ffmpeg_bps is ignored if variable bitrate is enabled. #Valid values: 0 (default) = fixed bitrate defined by ffmpeg_bps, #or the range 2 - 31 where 2 means best quality and 31 is worst. ffmpeg_variable_bitrate 0 #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 (default), mpeg4, and msmpeg4. #mpeg1 gives you files with extension .mpg #mpeg4 or msmpeg4 give 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. ffmpeg_video_codec msmpeg4 Файл avi создается, но его не прочитать :( Запускаю ffplay -stats /var/tmp/cam0/01-20041004102112.avi В ответ вот что: Input #0, avi, from '/var/tmp/cam0/01-20041004102112.avi': Duration: 00:00:00.0, bitrate: -2147483 kb/s Stream #0.0: Video: msmpeg4v2, 768x576, 2.00 fps 10.94 A-V: 0.000 aq= 0KB vq= 0KB какой то не понятный битрейт, да и fps. Может есть идеи как побороть ?
next reply other threads:[~2004-10-05 6:29 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-10-05 6:29 Alexander Markelov [this message] 2004-10-05 6:56 ` Yury Kashtanov 2004-10-05 7:18 ` Alexander Markelov 2004-10-05 8:24 ` Yury Kashtanov 2004-10-05 8:32 ` Alexander Markelov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=41623F5A.9000608@13.net.ru \ --to=ml@13.net.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git