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
0bc39128
Commit
0bc39128
authored
Sep 02, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: remove -psnr option.
It's redundant -- -flags +psnr does the same thing.
parent
d242d80e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
avconv.c
avconv.c
+0
-5
avconv.texi
doc/avconv.texi
+0
-2
No files found.
avconv.c
View file @
0bc39128
...
...
@@ -117,7 +117,6 @@ static int file_overwrite = 0;
static
int
do_benchmark
=
0
;
static
int
do_hex_dump
=
0
;
static
int
do_pkt_dump
=
0
;
static
int
do_psnr
=
0
;
static
int
do_pass
=
0
;
static
char
*
pass_logfilename_prefix
=
NULL
;
static
int
video_sync_method
=
-
1
;
...
...
@@ -3088,9 +3087,6 @@ static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc)
video_enc
->
rc_initial_buffer_occupancy
=
video_enc
->
rc_buffer_size
*
3
/
4
;
video_enc
->
intra_dc_precision
=
intra_dc_precision
-
8
;
if
(
do_psnr
)
video_enc
->
flags
|=
CODEC_FLAG_PSNR
;
/* two pass mode */
if
(
do_pass
)
{
if
(
do_pass
==
1
)
{
...
...
@@ -3967,7 +3963,6 @@ static const OptionDef options[] = {
{
"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"
},
{
"psnr"
,
OPT_BOOL
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
&
do_psnr
},
"calculate PSNR of compressed frames"
},
{
"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 @
0bc39128
...
...
@@ -550,8 +550,6 @@ Use this option if your input file is interlaced and you want
to keep the interlaced format for minimum losses.
The alternative is to deinterlace the input stream with
@option
{
-deinterlace
}
, but deinterlacing introduces losses.
@item -psnr
Calculate PSNR of compressed frames.
@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