Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d7edd359
Commit
d7edd359
authored
Jan 30, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: deprecate the -deinterlace option
Its quality is horrible, yadif should always be used instead.
parent
c9b309e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
avconv.c
avconv.c
+9
-2
avconv.texi
doc/avconv.texi
+2
-0
No files found.
avconv.c
View file @
d7edd359
...
...
@@ -4371,6 +4371,13 @@ static int opt_vsync(const char *opt, const char *arg)
return
0
;
}
static
int
opt_deinterlace
(
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"-%s is deprecated, use -filter:v yadif instead
\n
"
,
opt
);
do_deinterlace
=
1
;
return
0
;
}
#define OFFSET(x) offsetof(OptionsContext, x)
static
const
OptionDef
options
[]
=
{
/* main options */
...
...
@@ -4435,8 +4442,8 @@ static const OptionDef options[] = {
"use same quantizer as source (implies VBR)"
},
{
"pass"
,
HAS_ARG
|
OPT_VIDEO
,
{(
void
*
)
opt_pass
},
"select the pass number (1 or 2)"
,
"n"
},
{
"passlogfile"
,
HAS_ARG
|
OPT_STRING
|
OPT_VIDEO
,
{(
void
*
)
&
pass_logfilename_prefix
},
"select two pass log file name prefix"
,
"prefix"
},
{
"deinterlace"
,
OPT_
BOOL
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
&
do
_deinterlace
},
"
deinterlace pictures
"
},
{
"deinterlace"
,
OPT_
EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt
_deinterlace
},
"
this option is deprecated, use the yadif filter instead
"
},
{
"vstats"
,
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
&
opt_vstats
},
"dump video coding statistics to file"
},
{
"vstats_file"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_vstats_file
},
"dump video coding statistics to file"
,
"file"
},
#if CONFIG_AVFILTER
...
...
doc/avconv.texi
View file @
d7edd359
...
...
@@ -528,6 +528,8 @@ How strictly to follow the standards.
@item -deinterlace
Deinterlace pictures.
This option is deprecated since the deinterlacing is very low quality.
Use the yadif filter with @code
{
-filter:v yadif
}
.
@item -vstats
Dump video coding statistics to @file
{
vstats
_
HHMMSS.log
}
.
@item -vstats
_
file @var
{
file
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment