Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
63fa1385
Commit
63fa1385
authored
Aug 21, 2006
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg: experimental muxer using ffmpeg's libavformat.
parent
5f1df8ae
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
456 additions
and
2 deletions
+456
-2
modules/codec/ffmpeg/Modules.am
modules/codec/ffmpeg/Modules.am
+2
-0
modules/codec/ffmpeg/demux.c
modules/codec/ffmpeg/demux.c
+2
-2
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+6
-0
modules/codec/ffmpeg/ffmpeg.h
modules/codec/ffmpeg/ffmpeg.h
+4
-0
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+442
-0
No files found.
modules/codec/ffmpeg/Modules.am
View file @
63fa1385
...
...
@@ -8,6 +8,7 @@ SOURCES_ffmpeg = \
encoder.c \
postprocess.c \
demux.c \
mux.c \
$(NULL)
SOURCES_ffmpegaltivec = \
...
...
@@ -20,5 +21,6 @@ SOURCES_ffmpegaltivec = \
encoder.c \
postprocess.c \
demux.c \
mux.c \
$(NULL)
modules/codec/ffmpeg/demux.c
View file @
63fa1385
...
...
@@ -74,7 +74,7 @@ static int Demux ( demux_t *p_demux );
static
int
Control
(
demux_t
*
p_demux
,
int
i_query
,
va_list
args
);
static
int
IORead
(
void
*
opaque
,
uint8_t
*
buf
,
int
buf_size
);
static
in
t
IOSeek
(
void
*
opaque
,
offset_t
offset
,
int
whence
);
static
offset_
t
IOSeek
(
void
*
opaque
,
offset_t
offset
,
int
whence
);
/*****************************************************************************
* Open
...
...
@@ -439,7 +439,7 @@ static int IORead( void *opaque, uint8_t *buf, int buf_size )
return
i_ret
?
i_ret
:
-
1
;
}
static
in
t
IOSeek
(
void
*
opaque
,
offset_t
offset
,
int
whence
)
static
offset_
t
IOSeek
(
void
*
opaque
,
offset_t
offset
,
int
whence
)
{
URLContext
*
p_url
=
opaque
;
demux_t
*
p_demux
=
p_url
->
priv_data
;
...
...
modules/codec/ffmpeg/ffmpeg.c
View file @
63fa1385
...
...
@@ -191,6 +191,12 @@ vlc_module_begin();
set_capability
(
"demux2"
,
2
);
set_callbacks
(
E_
(
OpenDemux
),
E_
(
CloseDemux
)
);
/* mux submodule */
add_submodule
();
set_description
(
_
(
"FFmpeg muxer"
)
);
set_capability
(
"sout mux"
,
2
);
set_callbacks
(
E_
(
OpenMux
),
E_
(
CloseMux
)
);
/* video filter submodule */
add_submodule
();
set_capability
(
"video filter2"
,
50
);
...
...
modules/codec/ffmpeg/ffmpeg.h
View file @
63fa1385
...
...
@@ -68,6 +68,10 @@ void E_(CloseAudioEncoder)( vlc_object_t * );
int
E_
(
OpenDemux
)
(
vlc_object_t
*
);
void
E_
(
CloseDemux
)(
vlc_object_t
*
);
/* Mux module */
int
E_
(
OpenMux
)
(
vlc_object_t
*
);
void
E_
(
CloseMux
)(
vlc_object_t
*
);
/* Video filter module */
int
E_
(
OpenFilter
)(
vlc_object_t
*
);
int
E_
(
OpenCropPadd
)(
vlc_object_t
*
);
...
...
modules/codec/ffmpeg/mux.c
0 → 100644
View file @
63fa1385
This diff is collapsed.
Click to expand it.
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