[vlc-devel] [PATCH 1/1] udp: support packets dump in aceess module

Rémi Denis-Courmont remi at remlab.net
Sun Jul 28 10:26:15 CEST 2013


Le dimanche 28 juillet 2013 16:09:26 Tzu-Jung Lee a écrit :
> On Fri, Jul 12, 2013 at 3:31 AM,  <fenrir at elivagar.org> wrote:
> > On Thu, Jul 11, 2013 at 07:10:02PM +0800, Tzu-Jung Lee wrote:
> >> Signed-off-by: Tzu-Jung Lee <tjlee at ambarella.com>
> >> ---
> >> 
> >>  modules/access/udp.c | 57
> >>  ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 51
> >>  insertions(+), 6 deletions(-)
> > 
> > I think you can simply do udp/dump://parameters --demuxdump-file filename
> 
> Indeed, it does dump exactly the same input as we dump in the UDP access.
> 
> A little difference is that the input ends in the demuxdump, while the
> UDP-dump 'tee' the input to a dump file, and keep the data flow to the next
> pipe line.

I think you should rather implement this as a stream_filter if you specifically 
want to tee the input byte stream to some file. Then:

udp://... --stream-filter dump --stream-dump-file filename

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list