Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c6ead256
Commit
c6ead256
authored
Oct 02, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix long-standing compilation warning and unduplicate data
parent
cad0baca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
193 additions
and
155 deletions
+193
-155
modules/gui/wxwidgets/Modules.am
modules/gui/wxwidgets/Modules.am
+1
-0
modules/gui/wxwidgets/streamdata.cpp
modules/gui/wxwidgets/streamdata.cpp
+159
-0
modules/gui/wxwidgets/streamdata.h
modules/gui/wxwidgets/streamdata.h
+33
-155
No files found.
modules/gui/wxwidgets/Modules.am
View file @
c6ead256
...
@@ -8,6 +8,7 @@ SOURCES_wxwidgets = \
...
@@ -8,6 +8,7 @@ SOURCES_wxwidgets = \
streamout.cpp \
streamout.cpp \
wizard.cpp \
wizard.cpp \
streamdata.h \
streamdata.h \
streamdata.cpp \
messages.cpp \
messages.cpp \
playlist.cpp \
playlist.cpp \
iteminfo.cpp \
iteminfo.cpp \
...
...
modules/gui/wxwidgets/streamdata.cpp
0 → 100644
View file @
c6ead256
/*****************************************************************************
* streamdata.cpp: streaming/transcoding data
*****************************************************************************
* Copyright (C) 2000-2005 the VideoLAN team
* $Id: wizard.cpp 7826 2004-05-30 14:43:12Z zorglub $
*
* Authors: Clment Stenac <zorglub@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
#include <vlc/vlc.h>
#include <wx/string.h>
#include "streamdata.h"
const
struct
codec
vcodecs_array
[]
=
{
{
"MPEG-1 Video"
,
"mp1v"
,
N_
(
"MPEG-1 Video codec (useable with MPEG PS, "
\
"MPEG TS, MPEG1, OGG and RAW)"
),
// {MUX_PS, MUX_TS, MUX_MPEG, MUX_OGG, MUX_AVI, MUX_RAW, -1,-1,-1 } },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"MPEG-2 Video"
,
"mp2v"
,
N_
(
"MPEG-2 Video codec (useable with MPEG PS, "
\
"MPEG TS, MPEG1, OGG and RAW)"
),
// {MUX_PS, MUX_TS, MUX_MPEG, MUX_OGG, MUX_AVI, MUX_RAW, -1,-1,-1 } },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"MPEG-4 Video"
,
"mp4v"
,
N_
(
"MPEG-4 Video codec (useable with MPEG PS, "
\
"MPEG TS, MPEG1, ASF, MPEG4, OGG and RAW)"
),
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_MP4,MUX_OGG,MUX_AVI,MUX_RAW, -1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_MP4
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
}
},
{
"DIVX 1"
,
"DIV1"
,
N_
(
"DivX first version (useable with MPEG TS, MPEG1, ASF"
\
" and OGG)"
)
,
// {MUX_TS , MUX_MPEG , MUX_ASF , MUX_OGG , MUX_AVI , -1,-1,-1,-1 } },
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"DIVX 2"
,
"DIV2"
,
N_
(
"DivX second version (useable with MPEG TS, MPEG1, ASF"
\
" and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"DIVX 3"
,
"DIV3"
,
N_
(
"DivX third version (useable with MPEG TS, MPEG1, ASF"
\
" and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"H 263"
,
"H263"
,
N_
(
"H263 is a video codec optimized for videoconference "
\
"(low rates, useable with MPEG TS)"
)
,
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"H 264"
,
"H264"
,
N_
(
"H264 is a new video codec (useable with MPEG TS "
\
"and MPEG4)"
)
,
{
MUX_TS
,
MUX_MP4
,
MUX_ASF
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"WMV 1"
,
"WMV1"
,
N_
(
"WMV (Windows Media Video) 7 (useable with MPEG TS, "
\
"MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"WMV 2"
,
"WMV2"
,
N_
(
"WMV (Windows Media Video) 8 (useable with MPEG TS, "
\
"MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
#ifdef WIN32
{
"WMV 3"
,
"WMV3"
,
N_
(
"WMV (Windows Media Video) 9 (useable with MPEG TS, "
\
"MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
#endif
{
"MJPEG"
,
"MJPG"
,
N_
(
"MJPEG consists of a series of JPEG pictures "
\
"(useable with MPEG TS, MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Theora"
,
"theo"
,
N_
(
"Theora is a free general-purpose codec (useable "
\
"with MPEG TS)"
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Dummy"
,
"dummy"
,
N_
(
"Dummy codec (do not transcode, useable with all "
\
"encapsulation formats)"
)
,
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_MP4
,
MUX_OGG
,
MUX_WAV
,
MUX_RAW
,
MUX_MOV
}},
{
NULL
,
NULL
,
NULL
,
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}}
/* Do not remove me */
};
const
struct
codec
acodecs_array
[]
=
{
{
"MPEG Audio"
,
"mpga"
,
N_
(
"The standard MPEG audio (1/2) format "
\
"(useable with MPEG PS, MPEG TS, MPEG1, ASF, OGG and RAW)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_OGG,MUX_AVI,MUX_RAW, -1,-1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
}
},
{
"MP3"
,
"mp3"
,
N_
(
"MPEG Audio Layer 3 (useable with MPEG PS, MPEG TS, "
\
"MPEG1, ASF, OGG and RAW)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_OGG,MUX_AVI,MUX_RAW, -1,-1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
}
},
{
"MPEG 4 Audio"
,
"mp4a"
,
N_
(
"Audio format for MPEG4 (useable with "
\
"MPEG TS and MPEG4)"
)
,
{
MUX_TS
,
MUX_MP4
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"A/52"
,
"a52"
,
N_
(
"DVD audio format (useable with MPEG PS, MPEG TS, "
\
"MPEG1, ASF, OGG and RAW)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_OGG,MUX_AVI,MUX_RAW, -1,-1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
}
},
{
"Vorbis"
,
"vorb"
,
N_
(
"Vorbis is a free audio codec (useable with OGG)"
)
,
{
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"FLAC"
,
"flac"
,
N_
(
"FLAC is a lossless audio codec (useable with OGG "
\
"and RAW)"
)
,
{
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Speex"
,
"spx"
,
N_
(
"A free audio codec dedicated to compression of "
\
"voice (useable with OGG)"
)
,
{
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Uncompressed, integer"
,
"s16l"
,
N_
(
"Uncompressed audio samples "
\
"(useable with WAV)"
),
{
MUX_WAV
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Uncompressed, floating"
,
"fl32"
,
N_
(
"Uncompressed audio samples "
\
"(useable with WAV)"
),
{
MUX_WAV
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Dummy"
,
"dummy"
,
N_
(
"Dummy codec (do not transcode, useable with all "
\
"encapsulation formats)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_MP4,MUX_OGG,MUX_AVI,MUX_RAW,MUX_MOV}},
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_MP4
,
MUX_OGG
,
MUX_RAW
,
MUX_MOV
,
MUX_WAV
}},
{
NULL
,
NULL
,
NULL
,
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}}
/* Do not remove me */
};
const
struct
method
methods_array
[]
=
{
{
"udp:"
,
N_
(
"UDP Unicast"
),
N_
(
"Use this to stream to a single computer."
),
N_
(
"Enter the address of the computer to stream to."
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"udp:"
,
N_
(
"UDP Multicast"
),
N_
(
"Use this to stream to a dynamic group of computers on a "
"multicast-enabled network. This is the most efficient method "
"to stream to several computers, but it does not work over Internet."
),
N_
(
"Enter the multicast address to stream to in this field. "
"This must be an IP address between 224.0.0.0 an 239.255.255.255. "
"For a private use, enter an address beginning with 239.255."
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"http://"
,
"HTTP"
,
N_
(
"Use this to stream to several computers. This method is "
"less efficient, as the server needs to send the "
"stream several times."
),
N_
(
"Enter the local addresses you want to listen to. Do not enter "
"anything if you want to listen to all adresses or if you don't "
"understand. This is generally the best thing to do. Other computers "
"can then access the stream at http://yourip:8080 by default."
),
{
MUX_TS
,
MUX_PS
,
MUX_MPEG
,
MUX_OGG
,
MUX_RAW
,
MUX_ASF
,
-
1
,
-
1
,
-
1
}
},
{
NULL
,
NULL
,
NULL
,
NULL
,
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}}
/* Do not remove me */
};
const
struct
encap
encaps_array
[]
=
{
{
MUX_PS
,
"ps"
,
"MPEG PS"
,
N_
(
"MPEG Program Stream"
)
},
{
MUX_TS
,
"ts"
,
"MPEG TS"
,
N_
(
"MPEG Transport Stream"
)
},
{
MUX_MPEG
,
"ps"
,
"MPEG 1"
,
N_
(
"MPEG 1 Format"
)
},
{
MUX_OGG
,
"ogg"
,
"OGG"
,
"OGG"
},
{
MUX_RAW
,
"raw"
,
"RAW"
,
"RAW"
},
{
MUX_ASF
,
"asf"
,
"ASF"
,
"ASF"
},
// { MUX_AVI, "avi","AVI", "AVI" },
{
MUX_MP4
,
"mp4"
,
"MP4"
,
"MPEG4"
},
{
MUX_MOV
,
"mov"
,
"MOV"
,
"MOV"
},
{
MUX_WAV
,
"wav"
,
"WAV"
,
"WAV"
},
{
-
1
,
NULL
,
NULL
,
NULL
}
/* Do not remove me */
};
modules/gui/wxwidgets/streamdata.h
View file @
c6ead256
/*****************************************************************************
/*****************************************************************************
* streamdata.h: streaming/transcoding data
* streamdata.h: streaming/transcoding data
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-200
4
the VideoLAN team
* Copyright (C) 2000-200
5
the VideoLAN team
* $Id: wizard.cpp 7826 2004-05-30 14:43:12Z zorglub $
* $Id: wizard.cpp 7826 2004-05-30 14:43:12Z zorglub $
*
*
* Authors: Clment Stenac <zorglub@videolan.org>
* Authors: Clment Stenac <zorglub@videolan.org>
...
@@ -49,96 +49,9 @@ struct codec {
...
@@ -49,96 +49,9 @@ struct codec {
int
muxers
[
MUXERS_NUMBER
];
int
muxers
[
MUXERS_NUMBER
];
};
};
static
struct
codec
vcodecs_array
[]
=
extern
const
struct
codec
vcodecs_array
[];
{
extern
const
struct
codec
acodecs_array
[];
{
"MPEG-1 Video"
,
"mp1v"
,
N_
(
"MPEG-1 Video codec (useable with MPEG PS, "
\
"MPEG TS, MPEG1, OGG and RAW)"
),
// {MUX_PS, MUX_TS, MUX_MPEG, MUX_OGG, MUX_AVI, MUX_RAW, -1,-1,-1 } },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"MPEG-2 Video"
,
"mp2v"
,
N_
(
"MPEG-2 Video codec (useable with MPEG PS, "
\
"MPEG TS, MPEG1, OGG and RAW)"
),
// {MUX_PS, MUX_TS, MUX_MPEG, MUX_OGG, MUX_AVI, MUX_RAW, -1,-1,-1 } },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"MPEG-4 Video"
,
"mp4v"
,
N_
(
"MPEG-4 Video codec (useable with MPEG PS, "
\
"MPEG TS, MPEG1, ASF, MPEG4, OGG and RAW)"
),
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_MP4,MUX_OGG,MUX_AVI,MUX_RAW, -1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_MP4
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
}
},
{
"DIVX 1"
,
"DIV1"
,
N_
(
"DivX first version (useable with MPEG TS, MPEG1, ASF"
\
" and OGG)"
)
,
// {MUX_TS , MUX_MPEG , MUX_ASF , MUX_OGG , MUX_AVI , -1,-1,-1,-1 } },
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"DIVX 2"
,
"DIV2"
,
N_
(
"DivX second version (useable with MPEG TS, MPEG1, ASF"
\
" and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"DIVX 3"
,
"DIV3"
,
N_
(
"DivX third version (useable with MPEG TS, MPEG1, ASF"
\
" and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"H 263"
,
"H263"
,
N_
(
"H263 is a video codec optimized for videoconference "
\
"(low rates, useable with MPEG TS)"
)
,
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"H 264"
,
"H264"
,
N_
(
"H264 is a new video codec (useable with MPEG TS "
\
"and MPEG4)"
)
,
{
MUX_TS
,
MUX_MP4
,
MUX_ASF
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"WMV 1"
,
"WMV1"
,
N_
(
"WMV (Windows Media Video) 7 (useable with MPEG TS, "
\
"MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"WMV 2"
,
"WMV2"
,
N_
(
"WMV (Windows Media Video) 8 (useable with MPEG TS, "
\
"MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
#ifdef WIN32
{
"WMV 3"
,
"WMV3"
,
N_
(
"WMV (Windows Media Video) 9 (useable with MPEG TS, "
\
"MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
#endif
{
"MJPEG"
,
"MJPG"
,
N_
(
"MJPEG consists of a series of JPEG pictures "
\
"(useable with MPEG TS, MPEG1, ASF and OGG)"
)
,
{
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Theora"
,
"theo"
,
N_
(
"Theora is a free general-purpose codec (useable "
\
"with MPEG TS)"
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Dummy"
,
"dummy"
,
N_
(
"Dummy codec (do not transcode, useable with all "
\
"encapsulation formats)"
)
,
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_MP4
,
MUX_OGG
,
MUX_WAV
,
MUX_RAW
,
MUX_MOV
}},
{
NULL
,
NULL
,
NULL
,
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}}
/* Do not remove me */
};
static
struct
codec
acodecs_array
[]
=
{
{
"MPEG Audio"
,
"mpga"
,
N_
(
"The standard MPEG audio (1/2) format "
\
"(useable with MPEG PS, MPEG TS, MPEG1, ASF, OGG and RAW)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_OGG,MUX_AVI,MUX_RAW, -1,-1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
}
},
{
"MP3"
,
"mp3"
,
N_
(
"MPEG Audio Layer 3 (useable with MPEG PS, MPEG TS, "
\
"MPEG1, ASF, OGG and RAW)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_OGG,MUX_AVI,MUX_RAW, -1,-1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
}
},
{
"MPEG 4 Audio"
,
"mp4a"
,
N_
(
"Audio format for MPEG4 (useable with "
\
"MPEG TS and MPEG4)"
)
,
{
MUX_TS
,
MUX_MP4
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"A/52"
,
"a52"
,
N_
(
"DVD audio format (useable with MPEG PS, MPEG TS, "
\
"MPEG1, ASF, OGG and RAW)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_OGG,MUX_AVI,MUX_RAW, -1,-1} },
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
}
},
{
"Vorbis"
,
"vorb"
,
N_
(
"Vorbis is a free audio codec (useable with OGG)"
)
,
{
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"FLAC"
,
"flac"
,
N_
(
"FLAC is a lossless audio codec (useable with OGG "
\
"and RAW)"
)
,
{
MUX_OGG
,
MUX_RAW
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Speex"
,
"spx"
,
N_
(
"A free audio codec dedicated to compression of "
\
"voice (useable with OGG)"
)
,
{
MUX_OGG
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Uncompressed, integer"
,
"s16l"
,
N_
(
"Uncompressed audio samples "
\
"(useable with WAV)"
),
{
MUX_WAV
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Uncompressed, floating"
,
"fl32"
,
N_
(
"Uncompressed audio samples "
\
"(useable with WAV)"
),
{
MUX_WAV
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"Dummy"
,
"dummy"
,
N_
(
"Dummy codec (do not transcode, useable with all "
\
"encapsulation formats)"
)
,
// {MUX_PS,MUX_TS,MUX_MPEG,MUX_ASF,MUX_MP4,MUX_OGG,MUX_AVI,MUX_RAW,MUX_MOV}},
{
MUX_PS
,
MUX_TS
,
MUX_MPEG
,
MUX_ASF
,
MUX_MP4
,
MUX_OGG
,
MUX_RAW
,
MUX_MOV
,
MUX_WAV
}},
{
NULL
,
NULL
,
NULL
,
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}}
/* Do not remove me */
};
struct
method
{
struct
method
{
char
*
psz_access
;
char
*
psz_access
;
...
@@ -148,30 +61,8 @@ struct method {
...
@@ -148,30 +61,8 @@ struct method {
int
muxers
[
MUXERS_NUMBER
];
int
muxers
[
MUXERS_NUMBER
];
};
};
static
struct
method
methods_array
[]
=
extern
const
struct
method
methods_array
[];
{
{
"udp:"
,
N_
(
"UDP Unicast"
),
N_
(
"Use this to stream to a single computer."
),
N_
(
"Enter the address of the computer to stream to."
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"udp:"
,
N_
(
"UDP Multicast"
),
N_
(
"Use this to stream to a dynamic group of computers on a "
"multicast-enabled network. This is the most efficient method "
"to stream to several computers, but it does not work over Internet."
),
N_
(
"Enter the multicast address to stream to in this field. "
"This must be an IP address between 224.0.0.0 an 239.255.255.255. "
"For a private use, enter an address beginning with 239.255."
),
{
MUX_TS
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}
},
{
"http://"
,
"HTTP"
,
N_
(
"Use this to stream to several computers. This method is "
"less efficient, as the server needs to send the "
"stream several times."
),
N_
(
"Enter the local addresses you want to listen to. Do not enter "
"anything if you want to listen to all adresses or if you don't "
"understand. This is generally the best thing to do. Other computers "
"can then access the stream at http://yourip:8080 by default."
),
{
MUX_TS
,
MUX_PS
,
MUX_MPEG
,
MUX_OGG
,
MUX_RAW
,
MUX_ASF
,
-
1
,
-
1
,
-
1
}
},
{
NULL
,
NULL
,
NULL
,
NULL
,
{
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
}}
/* Do not remove me */
};
struct
encap
{
struct
encap
{
int
id
;
int
id
;
...
@@ -180,25 +71,12 @@ struct encap {
...
@@ -180,25 +71,12 @@ struct encap {
char
*
psz_descr
;
char
*
psz_descr
;
};
};
static
struct
encap
encaps_array
[]
=
extern
const
struct
encap
encaps_array
[];
{
{
MUX_PS
,
"ps"
,
"MPEG PS"
,
N_
(
"MPEG Program Stream"
)
},
{
MUX_TS
,
"ts"
,
"MPEG TS"
,
N_
(
"MPEG Transport Stream"
)
},
{
MUX_MPEG
,
"ps"
,
"MPEG 1"
,
N_
(
"MPEG 1 Format"
)
},
{
MUX_OGG
,
"ogg"
,
"OGG"
,
"OGG"
},
{
MUX_RAW
,
"raw"
,
"RAW"
,
"RAW"
},
{
MUX_ASF
,
"asf"
,
"ASF"
,
"ASF"
},
// { MUX_AVI, "avi","AVI", "AVI" },
{
MUX_MP4
,
"mp4"
,
"MP4"
,
"MPEG4"
},
{
MUX_MOV
,
"mov"
,
"MOV"
,
"MOV"
},
{
MUX_WAV
,
"wav"
,
"WAV"
,
"WAV"
},
{
-
1
,
NULL
,
NULL
,
NULL
}
/* Do not remove me */
};
/* Bitrates arrays */
/* Bitrates arrays */
static
const
wxString
vbitrates_array
[]
=
static
const
wxString
vbitrates_array
[]
=
{
{
wxT
(
"3072"
),
wxT
(
"3072"
),
wxT
(
"2048"
),
wxT
(
"2048"
),
wxT
(
"1024"
),
wxT
(
"1024"
),
...
@@ -212,9 +90,10 @@ static struct encap encaps_array[] =
...
@@ -212,9 +90,10 @@ static struct encap encaps_array[] =
wxT
(
"64"
),
wxT
(
"64"
),
wxT
(
"32"
),
wxT
(
"32"
),
wxT
(
"16"
)
wxT
(
"16"
)
};
};
static
const
wxString
abitrates_array
[]
=
{
static
const
wxString
abitrates_array
[]
=
{
wxT
(
"512"
),
wxT
(
"512"
),
wxT
(
"256"
),
wxT
(
"256"
),
wxT
(
"192"
),
wxT
(
"192"
),
...
@@ -223,5 +102,4 @@ static struct encap encaps_array[] =
...
@@ -223,5 +102,4 @@ static struct encap encaps_array[] =
wxT
(
"64"
),
wxT
(
"64"
),
wxT
(
"32"
),
wxT
(
"32"
),
wxT
(
"16"
)
wxT
(
"16"
)
};
};
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