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
0b97443a
Commit
0b97443a
authored
May 12, 2002
by
Juanjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Video CD option for ffmpeg
Originally committed as revision 492 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
92b3e125
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ffmpeg.c
ffmpeg.c
+4
-0
No files found.
ffmpeg.c
View file @
0b97443a
...
@@ -110,6 +110,7 @@ static int do_hex_dump = 0;
...
@@ -110,6 +110,7 @@ static int do_hex_dump = 0;
static
int
do_play
=
0
;
static
int
do_play
=
0
;
static
int
do_psnr
=
0
;
static
int
do_psnr
=
0
;
static
int
do_vstats
=
0
;
static
int
do_vstats
=
0
;
static
int
mpeg_vcd
=
0
;
typedef
struct
AVOutputStream
{
typedef
struct
AVOutputStream
{
int
file_index
;
/* file index */
int
file_index
;
/* file index */
...
@@ -647,6 +648,8 @@ static int av_encode(AVFormatContext **output_files,
...
@@ -647,6 +648,8 @@ static int av_encode(AVFormatContext **output_files,
for
(
i
=
0
;
i
<
nb_output_files
;
i
++
)
{
for
(
i
=
0
;
i
<
nb_output_files
;
i
++
)
{
os
=
output_files
[
i
];
os
=
output_files
[
i
];
nb_ostreams
+=
os
->
nb_streams
;
nb_ostreams
+=
os
->
nb_streams
;
if
(
mpeg_vcd
)
os
->
flags
|=
AVF_FLAG_VCD
;
}
}
if
(
nb_stream_maps
>
0
&&
nb_stream_maps
!=
nb_ostreams
)
{
if
(
nb_stream_maps
>
0
&&
nb_stream_maps
!=
nb_ostreams
)
{
fprintf
(
stderr
,
"Number of stream maps must match number of output streams
\n
"
);
fprintf
(
stderr
,
"Number of stream maps must match number of output streams
\n
"
);
...
@@ -2168,6 +2171,7 @@ const OptionDef options[] = {
...
@@ -2168,6 +2171,7 @@ const OptionDef options[] = {
{
"h"
,
0
,
{(
void
*
)
show_help
},
"show help"
},
{
"h"
,
0
,
{(
void
*
)
show_help
},
"show help"
},
{
"formats"
,
0
,
{(
void
*
)
show_formats
},
"show available formats, codecs, protocols, ..."
},
{
"formats"
,
0
,
{(
void
*
)
show_formats
},
"show available formats, codecs, protocols, ..."
},
{
"f"
,
HAS_ARG
,
{(
void
*
)
opt_format
},
"force format"
,
"fmt"
},
{
"f"
,
HAS_ARG
,
{(
void
*
)
opt_format
},
"force format"
,
"fmt"
},
{
"vcd"
,
OPT_BOOL
,
{(
void
*
)
&
mpeg_vcd
},
"output Video CD MPEG-PS compliant file"
},
{
"i"
,
HAS_ARG
,
{(
void
*
)
opt_input_file
},
"input file name"
,
"filename"
},
{
"i"
,
HAS_ARG
,
{(
void
*
)
opt_input_file
},
"input file name"
,
"filename"
},
{
"y"
,
OPT_BOOL
,
{(
void
*
)
&
file_overwrite
},
"overwrite output files"
},
{
"y"
,
OPT_BOOL
,
{(
void
*
)
&
file_overwrite
},
"overwrite output files"
},
{
"map"
,
HAS_ARG
|
OPT_EXPERT
,
{(
void
*
)
opt_map
},
"set input stream mapping"
,
"file:stream"
},
{
"map"
,
HAS_ARG
|
OPT_EXPERT
,
{(
void
*
)
opt_map
},
"set input stream mapping"
,
"file:stream"
},
...
...
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