Page 2 of 2
Posted: Thu May 17, 2007 1:24 pm
by jameswilson
lol i found that too.
The only way to do it would be to capture the input with ffmpeg and then deinterlace it then give it to zm, how i dont know
Also the new hd std has 1080i so its still interlaced as it uses half the bandwidth of 1080p
Posted: Thu May 17, 2007 1:48 pm
by kdf
720p would be the ideal resolution really as its progressive without too much bandwidth. There are lots of programs that would capture the input and de-interlace it but I dont think you could get proper status reports from it which is probably why a custom capture program was written.
With regards to the original question in this forum. While researching I found out if you want to de-interlace clips when exporting, ffmpeg wont do it (as you found out)
but mencoder will using the following command
Code: Select all
mencoder mf://filename.jpg -mf w=720:h=576:fps=10:type=jpg -vf lavcdeint -ovc lavc -lavcopts vcodec=mpeg4 -ofps 25 -oac copy -o output.avi
Where
filename.jpg = the jpg file you want to convert (can use *.jpg to convert an entire event)
w= width in pixels
h= height in pixels
fps = the fps rate of your camera
-vf lavcdeint is the deinterlacing filter (read the man as there are quite a few deinterlacing filters)
dunno if that helps but after a quick test I got a working video file of an event that was fully deinterlaced.
Posted: Wed Mar 18, 2009 11:45 am
by Voltage54
hi kdf... nice find! Exactly what I've been looking for.
Can you help a noob out though and show us all how you could integrate this function into zoneminder to replace the ffmpeg/mpeg_encode function?
Thanks heaps:)