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

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
KaZeR
Posts: 10
Joined: Fri Oct 21, 2005 9:20 am

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

Post 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");
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
Wolf-
Posts: 3
Joined: Wed Feb 16, 2005 5:09 am

Post by Wolf- »

Thank you for the quick fix.
Post Reply