[Ffmpeg-devel] [PATCH] utils.c: add vga and qvga name support for resolution

Benoit Fouet benoit.fouet
Mon Apr 23 09:01:43 CEST 2007


Baptiste Coudurier wrote:
> Baptiste Coudurier a ?crit :
>> M?ns Rullg?rd a ?crit :
>>> Ivo <ivop at euronet.nl> writes:
>>>
>>>> On Saturday 21 April 2007 13:15, M?ns Rullg?rd wrote:
>>>>> Alex Beregszaszi <alex at rtfs.hu> writes:
>>>>>> Hi,
>>>>>>
>>>>>>> To summarise what should be added IMHO:
>>>>>>>
>>>>>>> * xyzga modes
>>>>>>> * hd modes (hd720, hd1080 and a mode for 1440x1080)
>>>>>> What about hdw1080, w as in wide? Or hd1080w.
>>>>> HD 1080 formats always have a display aspect ratio of 16/9, so using
>>>>> the word "wide" to distinguish them could easily get confusing.
>>>>> Furthermore, 1920 is the normal width, 1440 being the cheap
>>>>> alternative used when the full width isn't possible.
>>>> Agreed. And I am not entirely happy with hdv1080 either, as that
>>>> looks vendor-specific (HDV1080 is from Sony IIRC). Perhaps hds1080
>>>> (for small) or hda1080 (anamorphic) ?
>>>
>>> I'm not sure the 1440 format is standard enough to warrant a name at
>>> all.
>>
>> FYI, MPEG-2 13818-2 defines High 1440 profile, and for it allows a
>> maximum height of 1440.
>
> Sorry, let me redo, High 1440 level, where maximum width is 1440.
>
here is an updated patch, without the hdv1080 part.
please keep in mind this patch is just meant to help users :)
as nobody said anything on ffserver part, i guess, it effectively uses
the same table...

Ben

-- 
Purple Labs S.A.
www.purplelabs.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libavformat_utils.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070423/425e7ef9/attachment.asc>



More information about the ffmpeg-devel mailing list