Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
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
dvblast
Commits
579f377c
Commit
579f377c
authored
Mar 31, 2011
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* New option -z to allow to output even unknown ES types.
parent
bdb3e91c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
7 deletions
+18
-7
NEWS
NEWS
+1
-0
asi.c
asi.c
+1
-1
demux.c
demux.c
+3
-1
dvblast.c
dvblast.c
+10
-3
dvblast.h
dvblast.h
+2
-1
en50221.c
en50221.c
+1
-1
No files found.
NEWS
View file @
579f377c
...
...
@@ -12,6 +12,7 @@ Changes between 1.2 and 2.0:
* Add support for NIT in DVB compliance mode
* Syslog support with -l option
* Override tuning parameters with new options
* Output all PMTs with -w, all ESs (even unknown) for a program with -z
Changes between 1.1 and 1.2:
----------------------------
...
...
asi.c
View file @
579f377c
...
...
@@ -18,7 +18,7 @@
*
* 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., 5
9 Temple Place - Suite 330, Boston, MA 0211
1, USA.
* Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston MA 02110-130
1, USA.
*****************************************************************************/
#include <stdlib.h>
...
...
demux.c
View file @
579f377c
/*****************************************************************************
* demux.c
*****************************************************************************
* Copyright (C) 2004, 2008-201
0
VideoLAN
* Copyright (C) 2004, 2008-201
1
VideoLAN
* $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -1319,6 +1319,8 @@ bool demux_PIDIsSelected( uint16_t i_pid )
*****************************************************************************/
static
bool
PIDWouldBeSelected
(
uint8_t
*
p_es
)
{
if
(
b_any_type
)
return
true
;
uint8_t
i_type
=
pmtn_get_streamtype
(
p_es
);
switch
(
i_type
)
...
...
dvblast.c
View file @
579f377c
/*****************************************************************************
* dvblast.c
*****************************************************************************
* Copyright (C) 2004, 2008-201
0
VideoLAN
* Copyright (C) 2004, 2008-201
1
VideoLAN
* $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -79,6 +79,7 @@ mtime_t i_frontend_timeout_duration = DEFAULT_FRONTEND_TIMEOUT;
mtime_t
i_quit_timeout
=
0
;
mtime_t
i_quit_timeout_duration
=
0
;
int
b_budget_mode
=
0
;
int
b_any_type
=
0
;
int
b_select_pmts
=
0
;
int
b_random_tsid
=
0
;
uint16_t
i_network_id
=
0xffff
;
...
...
@@ -381,7 +382,7 @@ static void DisplayVersion()
void
usage
()
{
DisplayVersion
();
msg_Raw
(
NULL
,
"Usage: dvblast [-q] [-c <config file>] [-r <remote socket>] [-t <ttl>] [-o <SSRC IP>] [-i <RT priority>] [-a <adapter>] [-n <frontend number>] [-S <diseqc>] [-f <frequency>|-D [<src host>[:<src port>]@]<src mcast>[:<port>][/<opts>]*|-A <ASI adapter>] [-s <symbol rate>] [-v <0|13|18>] [-p] [-b <bandwidth>] [-I <inversion>] [-F <fec inner>] [-m <modulation] [-R <rolloff>] [-P <pilot>] [-K <fec lp>] [-G <guard interval>] [-H <hierarchy>] [-X <transmission>] [-O <lock timeout>] [-u] [-w] [-U] [-L <latency>] [-E <retention>] [-d <dest IP>[<:port>][/<opts>]*] [-
C [-e] [-M <network name] [-N <network ID>]] [-T] [-j <system charset>] [-J <DVB charset>] [-Q <quit timeout>] [-x <text|xml>
"
);
msg_Raw
(
NULL
,
"Usage: dvblast [-q] [-c <config file>] [-r <remote socket>] [-t <ttl>] [-o <SSRC IP>] [-i <RT priority>] [-a <adapter>] [-n <frontend number>] [-S <diseqc>] [-f <frequency>|-D [<src host>[:<src port>]@]<src mcast>[:<port>][/<opts>]*|-A <ASI adapter>] [-s <symbol rate>] [-v <0|13|18>] [-p] [-b <bandwidth>] [-I <inversion>] [-F <fec inner>] [-m <modulation] [-R <rolloff>] [-P <pilot>] [-K <fec lp>] [-G <guard interval>] [-H <hierarchy>] [-X <transmission>] [-O <lock timeout>] [-u] [-w] [-U] [-L <latency>] [-E <retention>] [-d <dest IP>[<:port>][/<opts>]*] [-
z] [-C [-e] [-M <network name] [-N <network ID>]] [-T] [-j <system charset>] [-J <DVB charset>] [-Q <quit timeout>] [-x <text|xml>]
"
);
msg_Raw
(
NULL
,
"Input:"
);
msg_Raw
(
NULL
,
" -a --adapter read packets from a Linux-DVB adapter (typically 0-n)"
);
...
...
@@ -426,6 +427,7 @@ void usage()
msg_Raw
(
NULL
,
" -t --ttl <ttl> TTL of the output stream"
);
msg_Raw
(
NULL
,
" -T --unique-ts-id generate random unique TS ID for each output"
);
msg_Raw
(
NULL
,
" -U --udp use raw UDP rather than RTP (required by some IPTV set top boxes)"
);
msg_Raw
(
NULL
,
" -z --any-type pass through all ESs from the PMT, of any type"
);
msg_Raw
(
NULL
,
"Misc:"
);
msg_Raw
(
NULL
,
" -h --help display this full help"
);
...
...
@@ -493,6 +495,7 @@ int main( int i_argc, char **pp_argv )
{
"duplicate"
,
required_argument
,
NULL
,
'd'
},
{
"rtp-input"
,
required_argument
,
NULL
,
'D'
},
{
"asi-adapter"
,
required_argument
,
NULL
,
'A'
},
{
"any-type"
,
no_argument
,
NULL
,
'z'
},
{
"dvb-compliance"
,
no_argument
,
NULL
,
'C'
},
{
"epg-passthrough"
,
no_argument
,
NULL
,
'e'
},
{
"network-name"
,
no_argument
,
NULL
,
'M'
},
...
...
@@ -508,7 +511,7 @@ int main( int i_argc, char **pp_argv )
{
0
,
0
,
0
,
0
}
};
while
(
(
c
=
getopt_long
(
i_argc
,
pp_argv
,
"q::c:r:t:o:i:a:n:f:F:R:s:S:v:pb:I:m:P:K:G:H:X:O:uwUTL:E:d:D:A:lCeM:N:j:J:x:Q:hV"
,
long_options
,
NULL
))
!=
-
1
)
while
(
(
c
=
getopt_long
(
i_argc
,
pp_argv
,
"q::c:r:t:o:i:a:n:f:F:R:s:S:v:pb:I:m:P:K:G:H:X:O:uwUTL:E:d:D:A:l
z
CeM:N:j:J:x:Q:hV"
,
long_options
,
NULL
))
!=
-
1
)
{
switch
(
c
)
{
...
...
@@ -700,6 +703,10 @@ int main( int i_argc, char **pp_argv )
pf_UnsetFilter
=
asi_UnsetFilter
;
break
;
case
'z'
:
b_any_type
=
1
;
break
;
case
'C'
:
b_dvb_global
=
1
;
break
;
...
...
dvblast.h
View file @
579f377c
/*****************************************************************************
* dvblast.h
*****************************************************************************
* Copyright (C) 2004, 2008-20
09
VideoLAN
* Copyright (C) 2004, 2008-20
11
VideoLAN
* $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -154,6 +154,7 @@ extern mtime_t i_frontend_timeout_duration;
extern
mtime_t
i_quit_timeout
;
extern
mtime_t
i_quit_timeout_duration
;
extern
int
b_budget_mode
;
extern
int
b_any_type
;
extern
int
b_select_pmts
;
extern
int
b_random_tsid
;
extern
uint16_t
i_network_id
;
...
...
en50221.c
View file @
579f377c
...
...
@@ -20,7 +20,7 @@
*
* 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., 5
9 Temple Place - Suite 330, Boston, MA 0211
1, USA.
* Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston MA 02110-130
1, USA.
*****************************************************************************/
#include <stdlib.h>
...
...
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