[vlc-devel] [PATCH] fix mux functionality, avoid dumping all ES in first PMT
Marnik Vander Elst
marnik at marnik.org
Sun Aug 3 23:29:21 CEST 2008
Thanks for your reply, I will check it out in the morning.
Marnik
2008/8/3, Laurent Aimar <fenrir at via.ecp.fr>:
>
> On Thu, Jul 24, 2008, Marnik Vander Elst wrote:
> > description:
> > Look for the ID specified in config in the PMT map, not for the
> > original incoming PID.
>
> I am not sure that this patch is needed. If you use --sout-ts-es-id-pid
> it should already do what you ask:
>
> if ( p_sys->b_es_id_pid )
> p_stream->i_pid = p_input->p_fmt->i_id & 0x1fff;
> else
> p_stream->i_pid = AllocatePID( p_sys, p_input->p_fmt->i_cat );
>
> So could you explain what problems your patch fix when you use
> --sout-ts-es-id-pid ?
>
>
> > setup stream1 output
> >
> #duplicate{dst=bridge-out{id=1000},select=video,dst=bridge-out{id=1100},select=audio}
> > setup stream2 output
> >
> #duplicate{dst=bridge-out{id=2000},select=video,dst=bridge-out{id=2100},select=audio}
> > setup stream3 output
> >
> #duplicate{dst=bridge-out{id=2000},select=video,dst=bridge-out{id=2100},select=audio}:bridge-in:duplicate{dst=display,dst=std{access=udp{ttl=5},mux=ts,dst=
> 225.1.1.211:1234}
>
> There is your error, it should be (for example):
>
> #duplicate{dst=bridge-out{id=2000}:bridge-in:duplicate{dst=display,dst=std{access=udp{ttl=5},mux=ts,dst=
> 225.1.1.211:1234},select=video,dst=bridge-out{id=2100},select=audio}
> (You should be able to append bridge-in:... to any dst= from any
> duplicate, or
> you can even use a dedicated dst=)
>
> duplicate{} does not have the normal output (ie duplicate{}:...) as data go
> through each dst=...
>
>
> --
> fenrir
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080803/6b6a54c0/attachment.html>
More information about the vlc-devel
mailing list