Hi,
I am having a little trouble getting better resolution on video generation.
The mjpeg preview of the stream is pretty good, but generated video has "chunky" blocks.
I have set additional ffmpeg settings to -b 128000 -minrate 128000 but the generated video stays the same. I tried mpg, mpeg and wmv formats - the video is just not good enough
Any suggestions?
Thanks in advance!
Andi
FFMPEG Video generation quality options/setting?
-
- Posts: 4
- Joined: Wed Jun 04, 2008 11:26 am
Thats the reason zoneminder used jpgs to begin with whey have minimal compressionso you get , more detail and no blocks almost all videos formates will compress the video by reducing qulity even if it is minimal smaller blocks
you might change how to exports with ffmpeg (basic understanding)
http://ffmpeg.mplayerhq.hu/
and read this post about better quality (blending might be helpfull dep on how blocky it is) add what eles helps to
http://www.linuxquestions.org/questions ... eg-648971/
this option under Image
ZM_FFMPEG_OUTPUT_OPTIONS Additional output options to ffmpeg (?)
you might change how to exports with ffmpeg (basic understanding)
http://ffmpeg.mplayerhq.hu/
and read this post about better quality (blending might be helpfull dep on how blocky it is) add what eles helps to
http://www.linuxquestions.org/questions ... eg-648971/
this option under Image
ZM_FFMPEG_OUTPUT_OPTIONS Additional output options to ffmpeg (?)
video generation
hi,
i've read the docs and tried a few options. so far i;'ve settled on this one which seems to make good videos. " -sameq "
btw i put the option in the ZM_FFMPEG_INPUT_OPTIONS
i tried the options below and the videos look good but has a much larger video file
-b 8000k -minrate 8000k -maxrate 8000k -bufsize 2835k
the above option doesn't look any better than the -sameq option
i have the alarm frame rate set @ 25 fps with the idle @ 5 or 10 depending on the cam
hope this helps
i've read the docs and tried a few options. so far i;'ve settled on this one which seems to make good videos. " -sameq "
btw i put the option in the ZM_FFMPEG_INPUT_OPTIONS
i tried the options below and the videos look good but has a much larger video file
-b 8000k -minrate 8000k -maxrate 8000k -bufsize 2835k
the above option doesn't look any better than the -sameq option
i have the alarm frame rate set @ 25 fps with the idle @ 5 or 10 depending on the cam
hope this helps
-
- Posts: 4
- Joined: Wed Jun 04, 2008 11:26 am
ffmpeg options syntax error
Thanks for the input - I did manage to get it working properly, however I haven't tried the -sameq option.
I realised later that I didn't use an ample bitrate, I only specified 128000 not knowing that I could use the "k" and then realizing that 128k was essentially too low in any case.
Thanks again,
Cheers,
Andi
I realised later that I didn't use an ample bitrate, I only specified 128000 not knowing that I could use the "k" and then realizing that 128k was essentially too low in any case.
Thanks again,
Cheers,
Andi