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
ddf5ef02
Commit
ddf5ef02
authored
Aug 17, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: remove -intra option.
It's equivalent to -g 0.
parent
e922bbfa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
7 deletions
+2
-7
Changelog
Changelog
+1
-0
avconv.c
avconv.c
+0
-4
avconv.texi
doc/avconv.texi
+0
-2
lavf-regression.sh
tests/lavf-regression.sh
+1
-1
No files found.
Changelog
View file @
ddf5ef02
...
...
@@ -39,6 +39,7 @@ easier to use. The changes are:
* Presets in avconv are disabled, because only libx264 used them and
presets for libx264 can now be specified using a private option
'-preset <presetname>'.
* -intra option was removed, it's equivalent to -g 0.
- XMV demuxer
...
...
avconv.c
View file @
ddf5ef02
...
...
@@ -143,7 +143,6 @@ static int qp_hist = 0;
static
char
*
vfilters
=
NULL
;
#endif
static
int
intra_only
=
0
;
static
int
audio_sample_rate
=
0
;
#define QSCALE_NONE -99999
static
float
audio_qscale
=
QSCALE_NONE
;
...
...
@@ -3166,8 +3165,6 @@ static OutputStream *new_video_stream(AVFormatContext *oc)
video_enc
->
pix_fmt
=
frame_pix_fmt
;
st
->
sample_aspect_ratio
=
video_enc
->
sample_aspect_ratio
;
if
(
intra_only
)
video_enc
->
gop_size
=
0
;
if
(
video_qscale
||
same_quant
)
{
video_enc
->
flags
|=
CODEC_FLAG_QSCALE
;
video_enc
->
global_quality
=
FF_QP2LAMBDA
*
video_qscale
;
...
...
@@ -4089,7 +4086,6 @@ static const OptionDef options[] = {
{
"padleft"
,
HAS_ARG
|
OPT_VIDEO
,
{(
void
*
)
opt_pad
},
"Removed, use the pad filter instead"
,
"size"
},
{
"padright"
,
HAS_ARG
|
OPT_VIDEO
,
{(
void
*
)
opt_pad
},
"Removed, use the pad filter instead"
,
"size"
},
{
"padcolor"
,
HAS_ARG
|
OPT_VIDEO
,
{(
void
*
)
opt_pad
},
"Removed, use the pad filter instead"
,
"color"
},
{
"intra"
,
OPT_BOOL
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
&
intra_only
},
"use only intra frames"
},
{
"vn"
,
OPT_BOOL
|
OPT_VIDEO
,
{(
void
*
)
&
video_disable
},
"disable video"
},
{
"vdt"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
&
video_discard
},
"discard threshold"
,
"n"
},
{
"qscale"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qscale
},
"use fixed video quantizer scale (VBR)"
,
"q"
},
...
...
doc/avconv.texi
View file @
ddf5ef02
...
...
@@ -354,8 +354,6 @@ pixel formats.
Set SwScaler flags.
@item -g @var
{
gop
_
size
}
Set the group of pictures size.
@item -intra
Use only intra frames.
@item -vdt @var
{
n
}
Discard threshold.
@item -qscale @var
{
q
}
...
...
tests/lavf-regression.sh
View file @
ddf5ef02
...
...
@@ -67,7 +67,7 @@ do_lavf mxf "-ar 48000 -bf 2 -timecode_frame_start 264363"
fi
if
[
-n
"
$do_mxf_d10
"
]
;
then
do_lavf mxf_d10
"-ar 48000 -ac 2 -r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec mpeg2video -
intra
-flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
do_lavf mxf_d10
"-ar 48000 -ac 2 -r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec mpeg2video -
g 0
-flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy 1200000 -qmax 12 -f mxf_d10"
fi
if
[
-n
"
$do_ts
"
]
;
then
...
...
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