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
266463da
Commit
266463da
authored
Jul 26, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename ffplay to avplay.
parent
7351eb14
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
47 additions
and
46 deletions
+47
-46
.gitignore
.gitignore
+1
-1
Changelog
Changelog
+1
-0
Makefile
Makefile
+4
-4
avplay.c
avplay.c
+6
-6
configure
configure
+5
-5
avplay.texi
doc/avplay.texi
+6
-6
demuxers.texi
doc/demuxers.texi
+1
-1
developer.texi
doc/developer.texi
+1
-1
ffmpeg.texi
doc/ffmpeg.texi
+1
-1
ffprobe.texi
doc/ffprobe.texi
+1
-1
ffserver.texi
doc/ffserver.texi
+1
-1
general.texi
doc/general.texi
+1
-1
indevs.texi
doc/indevs.texi
+2
-2
libavfilter.texi
doc/libavfilter.texi
+2
-2
protocols.texi
doc/protocols.texi
+14
-14
No files found.
.gitignore
View file @
266463da
...
...
@@ -12,7 +12,7 @@ doc/*.html
doc/*.pod
doxy
ffmpeg
ff
play
av
play
ffprobe
ffserver
libavcodec/*_tablegen
...
...
Changelog
View file @
266463da
...
...
@@ -5,6 +5,7 @@ releases are sorted from youngest to oldest.
version <next>:
- BWF muxer
- Flash Screen Video 2 decoder
- ffplay renamed to avplay
version 0.7:
...
...
Makefile
View file @
266463da
...
...
@@ -53,7 +53,7 @@ COMPILE_S = $(call COMPILE,AS)
%.c %.h
:
TAG = GEN
PROGS-$(CONFIG_FFMPEG)
+=
ffmpeg
PROGS-$(CONFIG_
FFPLAY)
+=
ff
play
PROGS-$(CONFIG_
AVPLAY)
+=
av
play
PROGS-$(CONFIG_FFPROBE)
+=
ffprobe
PROGS-$(CONFIG_FFSERVER)
+=
ffserver
...
...
@@ -64,7 +64,7 @@ HOSTPROGS := $(TESTTOOLS:%=tests/%)
TOOLS
=
qt-faststart trasher
TOOLS-$(CONFIG_ZLIB)
+=
cws2fws
BASENAMES
=
ffmpeg
ff
play ffprobe ffserver
BASENAMES
=
ffmpeg
av
play ffprobe ffserver
ALLPROGS
=
$
(
BASENAMES:%
=
%
$(EXESUF)
)
ALLMANPAGES
=
$
(
BASENAMES:%
=
%.1
)
...
...
@@ -116,8 +116,8 @@ endef
$(foreach
D,$(FFLIBS),$(eval
$(call
DOSUBDIR,lib$(D))))
ff
play.o
:
CFLAGS += $(SDL_CFLAGS)
ff
play$(EXESUF)
:
FF_EXTRALIBS += $(SDL_LIBS)
av
play.o
:
CFLAGS += $(SDL_CFLAGS)
av
play$(EXESUF)
:
FF_EXTRALIBS += $(SDL_LIBS)
ffserver$(EXESUF)
:
LDFLAGS += $(FFSERVERLDFLAGS)
$(PROGS)
:
%$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
...
...
ff
play.c
→
av
play.c
View file @
266463da
/*
*
ff
play : Simple Media Player based on the Libav libraries
*
av
play : Simple Media Player based on the Libav libraries
* Copyright (c) 2003 Fabrice Bellard
*
* This file is part of Libav.
...
...
@@ -55,7 +55,7 @@
#include <unistd.h>
#include <assert.h>
const
char
program_name
[]
=
"
ff
play"
;
const
char
program_name
[]
=
"
av
play"
;
const
int
program_birth_year
=
2003
;
#define MAX_QUEUE_SIZE (15 * 1024 * 1024)
...
...
@@ -1678,7 +1678,7 @@ static int input_config_props(AVFilterLink *link)
static
AVFilter
input_filter
=
{
.
name
=
"
ff
play_input"
,
.
name
=
"
av
play_input"
,
.
priv_size
=
sizeof
(
FilterPriv
),
...
...
@@ -2357,7 +2357,7 @@ static int decode_thread(void *arg)
av_freep
(
&
opts
);
if
(
ic
->
pb
)
ic
->
pb
->
eof_reached
=
0
;
//FIXME hack,
ff
play maybe should not use url_feof() to test for the end
ic
->
pb
->
eof_reached
=
0
;
//FIXME hack,
av
play maybe should not use url_feof() to test for the end
if
(
seek_by_bytes
<
0
)
seek_by_bytes
=
!!
(
ic
->
iformat
->
flags
&
AVFMT_TS_DISCONT
);
...
...
@@ -2954,7 +2954,7 @@ static const OptionDef options[] = {
static
void
show_usage
(
void
)
{
printf
(
"Simple media player
\n
"
);
printf
(
"usage:
ffplay [options] input_file
\n
"
);
printf
(
"usage:
%s [options] input_file
\n
"
,
program_name
);
printf
(
"
\n
"
);
}
...
...
@@ -3030,7 +3030,7 @@ int main(int argc, char **argv)
if
(
!
input_filename
)
{
show_usage
();
fprintf
(
stderr
,
"An input file must be specified
\n
"
);
fprintf
(
stderr
,
"Use -h to get full help or, even better, run 'man
ffplay'
\n
"
);
fprintf
(
stderr
,
"Use -h to get full help or, even better, run 'man
%s'
\n
"
,
program_name
);
exit
(
1
);
}
...
...
configure
View file @
266463da
...
...
@@ -81,7 +81,7 @@ Configuration options:
and binaries will be unredistributable [no]
--disable-doc do not build documentation
--disable-ffmpeg disable ffmpeg build
--disable-
ffplay disable ff
play build
--disable-
avplay disable av
play build
--disable-ffprobe disable ffprobe build
--disable-ffserver disable ffserver build
--disable-avdevice disable libavdevice build
...
...
@@ -913,7 +913,7 @@ CONFIG_LIST="
dxva2
fastdiv
ffmpeg
ff
play
av
play
ffprobe
ffserver
fft
...
...
@@ -1489,8 +1489,8 @@ postproc_deps="gpl"
# programs
ffmpeg_deps
=
"avcodec avformat swscale"
ffmpeg_select
=
"buffer_filter"
ff
play_deps
=
"avcodec avformat swscale sdl"
ff
play_select
=
"rdft"
av
play_deps
=
"avcodec avformat swscale sdl"
av
play_select
=
"rdft"
ffprobe_deps
=
"avcodec avformat"
ffserver_deps
=
"avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
ffserver_extralibs
=
'$ldl'
...
...
@@ -1635,7 +1635,7 @@ enable debug
enable
doc
enable
fastdiv
enable
ffmpeg
enable
ff
play
enable
av
play
enable
ffprobe
enable
ffserver
enable
network
...
...
doc/
ff
play.texi
→
doc/
av
play.texi
View file @
266463da
\input
texinfo @c -*- texinfo -*-
@settitle
ff
play Documentation
@settitle
av
play Documentation
@titlepage
@center @titlefont
{
ff
play Documentation
}
@center @titlefont
{
av
play Documentation
}
@end titlepage
@top
...
...
@@ -13,14 +13,14 @@
@example
@c man begin SYNOPSIS
ff
play [options] @file
{
input
_
file
}
av
play [options] @file
{
input
_
file
}
@c man end
@end example
@chapter Description
@c man begin DESCRIPTION
FF
play is a very simple and portable media player using the Libav
AV
play is a very simple and portable media player using the Libav
libraries and the SDL library. It is mostly used as a testbed for the
various Libav APIs.
@c man end
...
...
@@ -166,8 +166,8 @@ Seek to percentage in file corresponding to fraction of width.
@ignore
@setfilename
ff
play
@settitle
FF
play media player
@setfilename
av
play
@settitle
AV
play media player
@c man begin SEEALSO
ffmpeg(1), ffprobe(1), ffserver(1) and the Libav HTML documentation
...
...
doc/demuxers.texi
View file @
266463da
...
...
@@ -70,7 +70,7 @@ Apple HTTP Live Streaming demuxer.
This demuxer presents all AVStreams from all variant streams.
The id field is set to the bitrate variant index number. By setting
the discard flags on AVStreams (by pressing 'a' or 'v' in
ff
play),
the discard flags on AVStreams (by pressing 'a' or 'v' in
av
play),
the caller can decide which variant streams to actually receive.
The total bitrate of the variant that the stream belongs to is
available in a metadata key named "variant_bitrate".
...
...
doc/developer.texi
View file @
266463da
...
...
@@ -17,7 +17,7 @@
decoding). Look at @file
{
libavcodec/apiexample.c
}
to see how to use it.
@item libavformat is the library containing the file format handling (mux and
demux code for several formats). Look at @file
{
ff
play.c
}
to use it in a
demux code for several formats). Look at @file
{
av
play.c
}
to use it in a
player. See @file
{
libavformat/output-example.c
}
to use it to generate
audio or video streams.
...
...
doc/ffmpeg.texi
View file @
266463da
...
...
@@ -1079,7 +1079,7 @@ file to which you want to add them.
@settitle ffmpeg video converter
@c man begin SEEALSO
ff
play(1), ffprobe(1), ffserver(1) and the Libav HTML documentation
av
play(1), ffprobe(1), ffserver(1) and the Libav HTML documentation
@c man end
@c man begin AUTHORS
...
...
doc/ffprobe.texi
View file @
266463da
...
...
@@ -122,7 +122,7 @@ with name "STREAM".
@settitle ffprobe media prober
@c man begin SEEALSO
ffmpeg(1),
ff
play(1), ffserver(1) and the Libav HTML documentation
ffmpeg(1),
av
play(1), ffserver(1) and the Libav HTML documentation
@c man end
@c man begin AUTHORS
...
...
doc/ffserver.texi
View file @
266463da
...
...
@@ -265,7 +265,7 @@ rather than as a daemon.
@c man begin SEEALSO
ffmpeg(1),
ff
play(1), ffprobe(1), the @file
{
ffmpeg/doc/ffserver.conf
}
ffmpeg(1),
av
play(1), ffprobe(1), the @file
{
ffmpeg/doc/ffserver.conf
}
example and the Libav HTML documentation
@c man end
...
...
doc/general.texi
View file @
266463da
...
...
@@ -837,7 +837,7 @@ speed up is close to non-existent for normal one-off builds and is only
noticeable when running make for a second time
(
for example in
@code
{
make install
}
)
.
@item In order to compile
FF
play, you must have the MinGW development library
@item In order to compile
AV
play, you must have the MinGW development library
of @uref
{
http:
//
www.libsdl.org
/
, SDL
}
.
Edit the @file
{
bin
/
sdl
-
config
}
script so that it points to the correct prefix
where SDL was installed. Verify that @file
{
sdl
-
config
}
can be launched from
...
...
doc/indevs.texi
View file @
266463da
...
...
@@ -199,10 +199,10 @@ tools.
@example
# Grab and show the input of a video4linux device, frame rate is set
# to the default of 25/1.
ff
play -s 320x240 -f video4linux /dev/video0
av
play -s 320x240 -f video4linux /dev/video0
# Grab and show the input of a video4linux2 device, autoadjust size.
ff
play -f video4linux2 /dev/video0
av
play -f video4linux2 /dev/video0
# Grab and record the input of a video4linux2 device, autoadjust size,
# frame rate value defaults to 0/0 so it is read from the video4linux2
...
...
doc/libavfilter.texi
View file @
266463da
...
...
@@ -24,7 +24,7 @@ some directory of your choice by:
@end example
And then read the README file in the top directory to learn how to
integrate it into ffmpeg and
ff
play.
integrate it into ffmpeg and
av
play.
But note that there may still be serious bugs in the code and its API
and ABI should not be considered stable yet!
...
...
@@ -56,7 +56,7 @@ result will be that in output the top half of the video is mirrored
onto the bottom half.
Video filters are loaded using the @var
{
-vf
}
option passed to
ffmpeg or to
ff
play. Filters in the same linear chain are separated by
ffmpeg or to
av
play. Filters in the same linear chain are separated by
commas. In our example, @var
{
split, fifo, overlay
}
are in one linear
chain, and @var
{
fifo, crop, vflip
}
are in another. The points where
the linear chains join are labeled by names enclosed in square
...
...
doc/protocols.texi
View file @
266463da
...
...
@@ -52,10 +52,10 @@ resource to be concatenated, each one possibly specifying a distinct
protocol.
For example to read a sequence of files @file{split1.mpeg},
@file{split2.mpeg}, @file{split3.mpeg} with @file{
ff
play} use the
@file{split2.mpeg}, @file{split3.mpeg} with @file{
av
play} use the
command:
@example
ff
play concat:split1.mpeg\|split2.mpeg\|split3.mpeg
av
play concat:split1.mpeg\|split2.mpeg\|split3.mpeg
@end example
Note that you may need to escape the character "|" which is special for
...
...
@@ -183,10 +183,10 @@ application specified in @var{app}, may be prefixed by "mp4:".
@end table
For example to read with @file{
ff
play} a multimedia resource named
For example to read with @file{
av
play} a multimedia resource named
"sample" from the application "vod" from an RTMP server "myserver":
@example
ff
play rtmp://myserver/vod/sample
av
play rtmp://myserver/vod/sample
@end example
@section rtmp, rtmpe, rtmps, rtmpt, rtmpte
...
...
@@ -224,9 +224,9 @@ For example, to stream a file in real-time to an RTMP server using
ffmpeg -re -i myfile -f flv rtmp://myserver/live/mystream
@end example
To play the same stream using @file{
ff
play}:
To play the same stream using @file{
av
play}:
@example
ff
play "rtmp://myserver/live/mystream live=1"
av
play "rtmp://myserver/live/mystream live=1"
@end example
@section rtp
...
...
@@ -281,7 +281,7 @@ When receiving data over UDP, the demuxer tries to reorder received packets
order for this to be enabled, a maximum delay must be specified in the
@code{max_delay} field of AVFormatContext.
When watching multi-bitrate Real-RTSP streams with @file{
ff
play}, the
When watching multi-bitrate Real-RTSP streams with @file{
av
play}, the
streams to display can be chosen with @code{-vst} @var{n} and
@code{-ast} @var{n} for video and audio respectively, and can be switched
on the fly by pressing @code{v} and @code{a}.
...
...
@@ -291,13 +291,13 @@ Example command lines:
To watch a stream over UDP, with a max reordering delay of 0.5 seconds:
@example
ff
play -max_delay 500000 rtsp://server/video.mp4?udp
av
play -max_delay 500000 rtsp://server/video.mp4?udp
@end example
To watch a stream tunneled over HTTP:
@example
ff
play rtsp://server/video.mp4?http
av
play rtsp://server/video.mp4?http
@end example
To send a stream in realtime to a RTSP server, for others to watch:
...
...
@@ -358,13 +358,13 @@ To broadcast a stream on the local subnet, for watching in VLC:
ffmpeg -re -i @var{input} -f sap sap://224.0.0.255?same_port=1
@end example
Similarly, for watching in
ff
play:
Similarly, for watching in
av
play:
@example
ffmpeg -re -i @var{input} -f sap sap://224.0.0.255
@end example
And for watching in
ff
play, over IPv6:
And for watching in
av
play, over IPv6:
@example
ffmpeg -re -i @var{input} -f sap sap://[ff0e::1:2:3:4]
...
...
@@ -389,13 +389,13 @@ Example command lines follow.
To play back the first stream announced on the normal SAP multicast address:
@example
ff
play sap://
av
play sap://
@end example
To play back the first stream announced on one the default IPv6 SAP multicast address:
@example
ff
play sap://[ff0e::2:7ffe]
av
play sap://[ff0e::2:7ffe]
@end example
@section tcp
...
...
@@ -414,7 +414,7 @@ Listen for an incoming connection
@example
ffmpeg -i @var{input} -f @var{format} tcp://@var{hostname}:@var{port}?listen
ff
play tcp://@var{hostname}:@var{port}
av
play tcp://@var{hostname}:@var{port}
@end example
@end table
...
...
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