ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] motion + FFmpeg
@ 2004-10-05  6:29 Alexander Markelov
  2004-10-05  6:56 ` Yury Kashtanov
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Markelov @ 2004-10-05  6:29 UTC (permalink / raw)
  To: sisyphus

Доброго времени суток!
У кого нибудь получилось заставить 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.
Может есть идеи как побороть ?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] motion + FFmpeg
  2004-10-05  6:29 [sisyphus] motion + FFmpeg Alexander Markelov
@ 2004-10-05  6:56 ` Yury Kashtanov
  2004-10-05  7:18   ` Alexander Markelov
  0 siblings, 1 reply; 5+ messages in thread
From: Yury Kashtanov @ 2004-10-05  6:56 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Tue, 05 Oct 2004 10:29:46 +0400
Alexander Markelov <ml@13.net.ru> wrote:

> #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.
> Может есть идеи как побороть ?

у меня со строчкой 
ffmpeg_video_codec mpeg4
все работает

ffplay -stats 20041005-114546.avi 
Input #0, avi, from '20041005-114546.avi':
  Duration: 00:00:23.1, bitrate: 433 kb/s
  Stream #0.0: Video: mpeg4, 320x240, 8.00 fps
  55.83 A-V:  0.000 aq=    0KB vq=    0KB 

~~~~~~~~~
Yury Kashtanov



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] motion + FFmpeg
  2004-10-05  6:56 ` Yury Kashtanov
@ 2004-10-05  7:18   ` Alexander Markelov
  2004-10-05  8:24     ` Yury Kashtanov
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Markelov @ 2004-10-05  7:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Yury Kashtanov пишет:

>On Tue, 05 Oct 2004 10:29:46 +0400
>Alexander Markelov <ml@13.net.ru> wrote:
>
>  
>
>>#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.
>>Может есть идеи как побороть ?
>>    
>>
>
>у меня со строчкой 
>ffmpeg_video_codec mpeg4
>все работает
>
>ffplay -stats 20041005-114546.avi 
>Input #0, avi, from '20041005-114546.avi':
>  Duration: 00:00:23.1, bitrate: 433 kb/s
>  Stream #0.0: Video: mpeg4, 320x240, 8.00 fps
>  55.83 A-V:  0.000 aq=    0KB vq=    0KB 
>
>~~~~~~~~~
>Yury Kashtanov
>
>_______________________________________________
>Sisyphus mailing list
>Sisyphus@altlinux.ru
>https://lists.altlinux.ru/mailman/listinfo/sisyphus
>  
>
пробовал в разных вариантах и mpeg4 и mpeg1, когда mpeg1 так вообще 
ругается:

[mpeg1video @ 0x5833a8]MPEG1/2 doesnt support 2/1 fps
Segmentation fault

соответственно mpeg4:

ffplay -stats /var/tmp/cam0/01-20041005111449.avi
Input #0, avi, from '/var/tmp/cam0/01-20041005111449.avi':
  Duration: 00:00:00.0, bitrate: -2147483 kb/s
  Stream #0.0: Video: mpeg4, 352x288, 2.00 fps
   6.77 A-V:  0.000 aq=    0KB vq=    0KB




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] motion + FFmpeg
  2004-10-05  7:18   ` Alexander Markelov
@ 2004-10-05  8:24     ` Yury Kashtanov
  2004-10-05  8:32       ` Alexander Markelov
  0 siblings, 1 reply; 5+ messages in thread
From: Yury Kashtanov @ 2004-10-05  8:24 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Tue, 05 Oct 2004 11:18:49 +0400
Alexander Markelov <ml@13.net.ru> wrote:

> >у меня со строчкой 
> >ffmpeg_video_codec mpeg4
> >все работает
> >
> >ffplay -stats 20041005-114546.avi 
> >Input #0, avi, from '20041005-114546.avi':
> >  Duration: 00:00:23.1, bitrate: 433 kb/s
> >  Stream #0.0: Video: mpeg4, 320x240, 8.00 fps
> >  55.83 A-V:  0.000 aq=    0KB vq=    0KB 
> >
> >
> пробовал в разных вариантах и mpeg4 и mpeg1, когда mpeg1 так вообще 
> ругается:
> 
> [mpeg1video @ 0x5833a8]MPEG1/2 doesnt support 2/1 fps
> Segmentation fault
> 
> соответственно mpeg4:
> 
> ffplay -stats /var/tmp/cam0/01-20041005111449.avi
> Input #0, avi, from '/var/tmp/cam0/01-20041005111449.avi':
>   Duration: 00:00:00.0, bitrate: -2147483 kb/s
>   Stream #0.0: Video: mpeg4, 352x288, 2.00 fps
>    6.77 A-V:  0.000 aq=    0KB vq=    0KB
> 
а какой стоит framerate? (у меня 10)
кажется при низких значениях у него башню сносит.

~~~~~~~~~
Yury Kashtanov



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] motion + FFmpeg
  2004-10-05  8:24     ` Yury Kashtanov
@ 2004-10-05  8:32       ` Alexander Markelov
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Markelov @ 2004-10-05  8:32 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Yury Kashtanov пишет:

>On Tue, 05 Oct 2004 11:18:49 +0400
>Alexander Markelov <ml@13.net.ru> wrote:
>
>  
>
>>>у меня со строчкой 
>>>ffmpeg_video_codec mpeg4
>>>все работает
>>>
>>>ffplay -stats 20041005-114546.avi 
>>>Input #0, avi, from '20041005-114546.avi':
>>> Duration: 00:00:23.1, bitrate: 433 kb/s
>>> Stream #0.0: Video: mpeg4, 320x240, 8.00 fps
>>> 55.83 A-V:  0.000 aq=    0KB vq=    0KB 
>>>
>>>
>>>      
>>>
>>пробовал в разных вариантах и mpeg4 и mpeg1, когда mpeg1 так вообще 
>>ругается:
>>
>>[mpeg1video @ 0x5833a8]MPEG1/2 doesnt support 2/1 fps
>>Segmentation fault
>>
>>соответственно mpeg4:
>>
>>ffplay -stats /var/tmp/cam0/01-20041005111449.avi
>>Input #0, avi, from '/var/tmp/cam0/01-20041005111449.avi':
>>  Duration: 00:00:00.0, bitrate: -2147483 kb/s
>>  Stream #0.0: Video: mpeg4, 352x288, 2.00 fps
>>   6.77 A-V:  0.000 aq=    0KB vq=    0KB
>>
>>    
>>
>а какой стоит framerate? (у меня 10)
>кажется при низких значениях у него башню сносит.
>
>~~~~~~~~~
>Yury Kashtanov
>
>_______________________________________________
>Sisyphus mailing list
>Sisyphus@altlinux.ru
>https://lists.altlinux.ru/mailman/listinfo/sisyphus
>  
>
стоял 2 потом поменял на 100 (без лимита мол)
попробовал сейчас поставить 10 + mpeg4 формат, без изменений. :(



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-05  8:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-05  6:29 [sisyphus] motion + FFmpeg Alexander Markelov
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

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