[dvblast-devel] streaming pid to ip address
Georgi Chorbadzhiyski
gf at unixsol.org
Fri Dec 2 12:32:01 CET 2011
Around 12/02/2011 12:16 AM, JULIAN GARDNER scribbled:
> Thanks for the help the other day but I have another problem
>
> 224.10.10.10:1234 1 0 18
>
> This is supposed to stream the EIT data to 224.10.10.10:1234 but if i grab this data and look at the file i see the TS headers
>
> 47 40 c0 ...
> 47 40 f0 ...
> 47 40 c0 ....
>
> but i only see maybe 10 in 1000 of the "47 40 12 ..." packets, any ideas
Hmm, may be something is wrong with your setup, because it sort of works for me.
See I tried:
./dvblast -D 239.127.127.1:5000/udp -e -c dvblast.conf
with the following dvblast.conf:
239.78.78.78:5000/udp/ecm/emm 1 0 18
When I dump dvblast output from 239.127.127.1:5000 I see only pids
0x00 /0/ (pat)
0x10 /16/ (nit)
0x12 /18/ (eit)
0x1fff (null)
arguably I should be seeing only pid 0x12 (18) but that is not a big problem.
It seems that setting pid in the conf file sort of works.
when I apply the following hack:
diff --git a/demux.c b/demux.c
index ee0e827..a1276e6 100644
--- a/demux.c
+++ b/demux.c
@@ -159,8 +159,8 @@ void demux_Open( void )
psi_table_init( pp_current_pat_sections );
psi_table_init( pp_next_pat_sections );
- SetPID(PAT_PID);
- p_pids[PAT_PID].i_psi_refcount++;
+// SetPID(PAT_PID);
+// p_pids[PAT_PID].i_psi_refcount++;
if ( b_enable_emm ) {
psi_table_init( pp_current_cat_sections );
@@ -169,8 +169,8 @@ void demux_Open( void )
p_pids[CAT_PID].i_psi_refcount++;
}
- SetPID(NIT_PID);
- p_pids[NIT_PID].i_psi_refcount++;
+// SetPID(NIT_PID);
+// p_pids[NIT_PID].i_psi_refcount++;
psi_table_init( pp_current_sdt_sections );
psi_table_init( pp_next_sdt_sections );
I start seeing only eit and null packets on the output. I can cook a patch
to add nopat and nonit options to output config. Thoughts?
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
More information about the dvblast-devel
mailing list