pcapparse seems to work, the output from pcapparse to rtpmp4gdepay has a problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pcapparse seems to work, the output from pcapparse to rtpmp4gdepay has a problem

shiva varma
Hi All.
  Would greatly appreciate any help regarding the problem I have been facing wirh rtpmp4gdepay

I have a pcap file, which contains AAC-LD stream, with the following properties
Bitrate: 64 kbps/channel
RTP Payload: IETF RFC 3640, AAC-hbr mode
Default Dynamic Payload Number: 96

When I pipe the pcap file to a filesink using pcapparse I can see that the file has some size indicating the rtp stream was written to it, following is the pipeline

gst-launch  filesrc location=audioCaptureFiltered.pcap ! pcapparse src-ip=10.22.156.148 ! "application/x-rtp, payload=96, media=audio, clock-rate=64000, encoding-name=MPEG4-GENERIC, mode=AAC-hbr, streamtype=(string)4" !  filesink location=abc.out

However if I add rtpmp4gdepay to the pcapparse output, I observe that the size of the file is zero....
I do not get any errors, even when I set gst-debug-level to 5..

Here is the command output

gst-launch  filesrc location=audioCaptureFiltered.pcap ! pcapparse src-ip=10.22.156.148 src-port=16464 ! "application/x-rtp, payload=96, media=audio, clock-rate=64000, encoding-name=MPEG4-GENERIC, mode=AAC-hbr, streamtype=(string)4" !  rtpmp4gdepay ! filesink location=abc.out
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 151000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Is there something I am missing, please let me know

Thanks
Shiva

Reply | Threaded
Open this post in threaded view
|

Re: pcapparse seems to work, the output from pcapparse to rtpmp4gdepay has a problem

Marco Ballesio
Hi,

On Tue, Dec 21, 2010 at 3:24 AM, shiva varma <[hidden email]> wrote:

>
> Hi All.
>  Would greatly appreciate any help regarding the problem I have been facing
> wirh rtpmp4gdepay
>
> I have a pcap file, which contains AAC-LD stream, with the following
> properties
> Bitrate: 64 kbps/channel
> RTP Payload: IETF RFC 3640, AAC-hbr mode
> Default Dynamic Payload Number: 96
>
> When I pipe the pcap file to a filesink using pcapparse I can see that the
> file has some size indicating the rtp stream was written to it, following is
> the pipeline
>
> gst-launch  filesrc location=audioCaptureFiltered.pcap ! pcapparse
> src-ip=10.22.156.148 ! "application/x-rtp, payload=96, media=audio,
> clock-rate=64000, encoding-name=MPEG4-GENERIC, mode=AAC-hbr,
> streamtype=(string)4" !  filesink location=abc.out
>
> However if I add rtpmp4gdepay to the pcapparse output, I observe that the
> size of the file is zero....

You probably need to set the proper src-port as well in the pcapparse element.

> I do not get any errors, even when I set gst-debug-level to 5..

Probably all of the packets are filtered away, so it's not, strictly
speaking, an error.

>
> Here is the command output
>
> gst-launch  filesrc location=audioCaptureFiltered.pcap ! pcapparse
> src-ip=10.22.156.148 src-port=16464 ! "application/x-rtp, payload=96,
> media=audio, clock-rate=64000, encoding-name=MPEG4-GENERIC, mode=AAC-hbr,
> streamtype=(string)4" !  rtpmp4gdepay ! filesink location=abc.out

strange, here you've set the port and still doesn't it work? I note
that in my tests I don't set the src-ip, maybe I got your same issue..

Regards

> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Got EOS from element "pipeline0".
> Execution ended after 151000 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> Is there something I am missing, please let me know
>
> Thanks
> Shiva
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/pcapparse-seems-to-work-the-output-from-pcapparse-to-rtpmp4gdepay-has-a-problem-tp3114174p3114174.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel