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
20566eb0
Commit
20566eb0
authored
Oct 30, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace outdated references to ffmpeg tool with avconv.
parent
124e2884
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
13 deletions
+17
-13
avplay.c
avplay.c
+1
-1
avserver.c
avserver.c
+3
-3
adxenc.c
libavcodec/adxenc.c
+1
-1
libxvidff.c
libavcodec/libxvidff.c
+3
-3
cutils.c
libavformat/cutils.c
+1
-1
http.c
libavformat/http.c
+2
-2
movenc.h
libavformat/movenc.h
+1
-1
nsvdec.c
libavformat/nsvdec.c
+5
-1
No files found.
avplay.c
View file @
20566eb0
...
...
@@ -2997,7 +2997,7 @@ static const OptionDef options[] = {
#endif
{
"rdftspeed"
,
OPT_INT
|
HAS_ARG
|
OPT_AUDIO
|
OPT_EXPERT
,
{(
void
*
)
&
rdftspeed
},
"rdft speed"
,
"msecs"
},
{
"default"
,
HAS_ARG
|
OPT_AUDIO
|
OPT_VIDEO
|
OPT_EXPERT
,
{(
void
*
)
opt_default
},
"generic catch all option"
,
""
},
{
"i"
,
0
,
{
NULL
},
"
ffmpeg
compatibility dummy option"
,
""
},
{
"i"
,
0
,
{
NULL
},
"
avconv
compatibility dummy option"
,
""
},
{
NULL
,
},
};
...
...
avserver.c
View file @
20566eb0
...
...
@@ -223,8 +223,8 @@ typedef struct FFStream {
char
title
[
512
];
char
copyright
[
512
];
char
comment
[
512
];
pid_t
pid
;
/*
Of ffmpeg
process */
time_t
pid_start
;
/*
Of ffmpeg
process */
pid_t
pid
;
/*
of avconv
process */
time_t
pid_start
;
/*
of avconv
process */
char
**
child_argv
;
struct
FFStream
*
next
;
unsigned
bandwidth
;
/* bandwidth, in kbits/s */
...
...
@@ -474,7 +474,7 @@ static void start_children(FFStream *feed)
slash
=
pathname
;
else
slash
++
;
strcpy
(
slash
,
"
ffmpeg
"
);
strcpy
(
slash
,
"
avconv
"
);
http_log
(
"Launch commandline: "
);
http_log
(
"%s "
,
pathname
);
...
...
libavcodec/adxenc.c
View file @
20566eb0
...
...
@@ -145,7 +145,7 @@ static int adx_encode_frame(AVCodecContext *avctx,
/*
input data size =
ffmpeg.c:
do_audio_out()
avconv.c:
do_audio_out()
frame_bytes = enc->frame_size * 2 * enc->channels;
*/
...
...
libavcodec/libxvidff.c
View file @
20566eb0
...
...
@@ -137,7 +137,7 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) {
xvid_enc_create_t
xvid_enc_create
;
xvid_enc_plugin_t
plugins
[
7
];
/* Bring in VOP flags from
ffmpeg
command-line */
/* Bring in VOP flags from
avconv
command-line */
x
->
vop_flags
=
XVID_VOP_HALFPEL
;
/* Bare minimum quality */
if
(
xvid_flags
&
CODEC_FLAG_4MV
)
x
->
vop_flags
|=
XVID_VOP_INTER4V
;
/* Level 3 */
...
...
@@ -191,7 +191,7 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) {
break
;
}
/* Bring in VOL flags from
ffmpeg
command-line */
/* Bring in VOL flags from
avconv
command-line */
x
->
vol_flags
=
0
;
if
(
xvid_flags
&
CODEC_FLAG_GMC
)
{
x
->
vol_flags
|=
XVID_VOL_GMC
;
...
...
@@ -669,7 +669,7 @@ static int xvid_ff_2pass_create(xvid_plg_create_t * param,
/* This is because we can safely prevent a buffer overflow */
log
[
0
]
=
0
;
snprintf
(
log
,
BUFFER_REMAINING
(
log
),
"#
ffmpeg
2-pass log file, using xvid codec
\n
"
);
"#
avconv
2-pass log file, using xvid codec
\n
"
);
snprintf
(
BUFFER_CAT
(
log
),
BUFFER_REMAINING
(
log
),
"# Do not modify. libxvidcore version: %d.%d.%d
\n\n
"
,
XVID_VERSION_MAJOR
(
XVID_VERSION
),
...
...
libavformat/cutils.c
View file @
20566eb0
...
...
@@ -24,7 +24,7 @@
/* add one element to a dynamic array */
void
ff_dynarray_add
(
intptr_t
**
tab_ptr
,
int
*
nb_ptr
,
intptr_t
elem
)
{
/* see similar
ffmpeg
.c:grow_array() */
/* see similar
avconv
.c:grow_array() */
int
nb
,
nb_alloc
;
intptr_t
*
tab
;
...
...
libavformat/http.c
View file @
20566eb0
/*
* HTTP protocol for
ffmpeg
client
* HTTP protocol for
avconv
client
* Copyright (c) 2000, 2001 Fabrice Bellard
*
* This file is part of Libav.
...
...
@@ -31,7 +31,7 @@
#include "url.h"
#include "libavutil/opt.h"
/* XXX: POST protocol is not completely implemented because
ffmpeg
uses
/* XXX: POST protocol is not completely implemented because
avconv
uses
only a subset of it. */
/* used for protocol handling */
...
...
libavformat/movenc.h
View file @
20566eb0
...
...
@@ -35,7 +35,7 @@
#define MODE_MOV 0x02
#define MODE_3GP 0x04
#define MODE_PSP 0x08 // example working PSP command line:
//
ffmpeg
-i testinput.avi -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00001.MP4
//
avconv
-i testinput.avi -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00001.MP4
#define MODE_3G2 0x10
#define MODE_IPOD 0x20
...
...
libavformat/nsvdec.c
View file @
20566eb0
...
...
@@ -71,7 +71,11 @@
* so the header seems to not be mandatory. (for streaming).
*
* index slice duration check (excepts nsvtrailer.nsv):
* for f in [^n]*.nsv; do DUR="$(ffmpeg -i "$f" 2>/dev/null | grep 'NSVf duration' | cut -d ' ' -f 4)"; IC="$(ffmpeg -i "$f" 2>/dev/null | grep 'INDEX ENTRIES' | cut -d ' ' -f 2)"; echo "duration $DUR, slite time $(($DUR/$IC))"; done
* for f in [^n]*.nsv; do
* DUR="$(avconv -i "$f" 2> /dev/null | grep 'NSVf duration' | cut -d ' ' -f 4)"
* IC="$(avconv -i "$f" 2> /dev/null | grep 'INDEX ENTRIES' | cut -d ' ' -f 2)"
* echo "duration $DUR, slite time $(($DUR/$IC))"
* done
*/
/*
...
...
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