Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
913debaf
Commit
913debaf
authored
Jul 28, 2003
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added HuffYuv and A-law codes for low bitrate and CPU load encodings/transcoding
parent
769e4f67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
modules/encoder/ffmpeg/video.c
modules/encoder/ffmpeg/video.c
+6
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+3
-1
No files found.
modules/encoder/ffmpeg/video.c
View file @
913debaf
...
...
@@ -2,7 +2,7 @@
* video.c : video encoder using ffmpeg library
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: video.c,v 1.
4 2003/04/27 23:16:35 gbazi
n Exp $
* $Id: video.c,v 1.
5 2003/07/28 20:25:30 jpsama
n Exp $
*
* Authors: Laurent Aimar
*
...
...
@@ -81,6 +81,7 @@ int E_( OpenEncoderVideo ) ( vlc_object_t *p_this )
case
VLC_FOURCC
(
'm'
,
'p'
,
'1'
,
'v'
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'v'
):
case
VLC_FOURCC
(
'h'
,
'u'
,
'f'
,
'f'
):
break
;
default:
return
VLC_EGENERIC
;
...
...
@@ -167,6 +168,10 @@ static int Init ( video_encoder_t *p_encoder )
p_encoder
->
p_sys
->
psz_codec
=
"MPEG-4"
;
i_codec
=
CODEC_ID_MPEG4
;
break
;
case
VLC_FOURCC
(
'h'
,
'u'
,
'f'
,
'f'
):
p_encoder
->
p_sys
->
psz_codec
=
"Huff YUV"
;
i_codec
=
CODEC_ID_HUFFYUV
;
break
;
default:
return
VLC_EGENERIC
;
}
...
...
modules/stream_out/transcode.c
View file @
913debaf
...
...
@@ -2,7 +2,7 @@
* transcode.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: transcode.c,v 1.2
6 2003/07/20 23:30:07 gbazi
n Exp $
* $Id: transcode.c,v 1.2
7 2003/07/28 20:25:30 jpsama
n Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -490,6 +490,7 @@ static struct
{
VLC_FOURCC
(
'w'
,
'm'
,
'a'
,
'1'
),
CODEC_ID_WMAV1
},
{
VLC_FOURCC
(
'w'
,
'm'
,
'a'
,
'2'
),
CODEC_ID_WMAV2
},
{
VLC_FOURCC
(
'v'
,
'o'
,
'r'
,
'b'
),
CODEC_ID_VORBIS
},
{
VLC_FOURCC
(
'a'
,
'l'
,
'a'
,
'w'
),
CODEC_ID_PCM_ALAW
},
/* video */
{
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'v'
),
CODEC_ID_MPEG4
},
...
...
@@ -499,6 +500,7 @@ static struct
{
VLC_FOURCC
(
'D'
,
'I'
,
'V'
,
'3'
),
CODEC_ID_MSMPEG4V3
},
{
VLC_FOURCC
(
'H'
,
'2'
,
'6'
,
'3'
),
CODEC_ID_H263
},
{
VLC_FOURCC
(
'I'
,
'2'
,
'6'
,
'3'
),
CODEC_ID_H263I
},
{
VLC_FOURCC
(
'h'
,
'u'
,
'f'
,
'f'
),
CODEC_ID_HUFFYUV
},
{
VLC_FOURCC
(
'W'
,
'M'
,
'V'
,
'1'
),
CODEC_ID_WMV1
},
{
VLC_FOURCC
(
'W'
,
'M'
,
'V'
,
'2'
),
CODEC_ID_WMV2
},
{
VLC_FOURCC
(
'M'
,
'J'
,
'P'
,
'G'
),
CODEC_ID_MJPEG
},
...
...
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