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
d0a603a5
Commit
d0a603a5
authored
Oct 20, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/encode_video: set the framerate
parent
e0252402
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
encode_video.c
doc/examples/encode_video.c
+3
-1
No files found.
doc/examples/encode_video.c
View file @
d0a603a5
...
...
@@ -69,7 +69,9 @@ int main(int argc, char **argv)
c
->
width
=
352
;
c
->
height
=
288
;
/* frames per second */
c
->
time_base
=
(
AVRational
){
1
,
25
};
c
->
time_base
=
(
AVRational
){
1
,
25
};
c
->
framerate
=
(
AVRational
){
25
,
1
};
c
->
gop_size
=
10
;
/* emit one intra frame every ten frames */
c
->
max_b_frames
=
1
;
c
->
pix_fmt
=
AV_PIX_FMT_YUV420P
;
...
...
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