Commit 7a23da6f authored by romansh's avatar romansh

    * making resolution abbreviations right
    * introducing sntsc/spal for square pixel ntsc/pal


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2177 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 36794a65
......@@ -2577,7 +2577,7 @@ static void show_formats(void)
printf(" %s:", up->name);
printf("\n");
printf("Frame size, frame rate abbreviations: ntsc pal film ntsc-film sqcif qcif cif 4cif\n");
printf("Frame size, frame rate abbreviations: ntsc pal qntsc qpal sntsc spal film ntsc-film sqcif qcif cif 4cif\n");
printf("Motion estimation methods:");
pp = motion_str;
while (*pp) {
......
......@@ -1224,8 +1224,12 @@ typedef struct {
} AbvEntry;
static AbvEntry frame_abvs[] = {
{ "ntsc", 352, 240, 30000, 1001 },
{ "pal", 352, 288, 25, 1 },
{ "ntsc", 720, 480, 30000, 1001 },
{ "pal", 720, 576, 25, 1 },
{ "qntsc", 352, 240, 30000, 1001 }, /* VCD compliant ntsc */
{ "qpal", 352, 288, 25, 1 }, /* VCD compliant pal */
{ "sntsc", 352, 240, 30000, 1001 }, /* square pixel ntsc */
{ "spal", 352, 288, 25, 1 }, /* square pixel pal */
{ "film", 352, 240, 24, 1 },
{ "ntsc-film", 352, 240, 24000, 1001 },
{ "sqcif", 128, 96, 0, 0 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment