Page 1 of 1

ffmpeg / 3gp generation fails at resolution != 176x144

Posted: Tue May 16, 2006 1:33 pm
by KaZeR
Hi there.

On my system, 3gp video generation fails if i don't force the output video size to 176x144 (my cameras are capturing at 320x240).

I didn't found another way to force 3gp video resolution elsewhere, so i made a minor change to zmvideo.pl.

Is it the best way to do it?

I hope it will help.

Code: Select all

321,324c321,322
<               if($format eq "3gp"){
<                       $video_size = "176x144";
<               }
<               Info("Outputting to $format");

Posted: Wed May 17, 2006 9:24 pm
by zoneminder
I think that should work. I wil probably be revisiting the whole video generation area at some point. I only use 3gp from my phone and that automatically chooses 176x144 or a multiple. However on the web side it doesn't so you would have to add it as an FFMPEG_OUTPUT option but then it would apply to all formats.

Posted: Mon Jul 03, 2006 10:19 pm
by Wolf-
Thank you for the quick fix.