How to convert to PCAP to webm video?
Chuck Crisler
ccrisler at mutualink.net
Thu Mar 27 12:45:18 PDT 2014
Where does it fail? After getting the H264 frames you should be able to
generate any format. Here is my pipeline that displays from a PCAP file.
gst-launch filesrc location=$1 ! 'raw/x-pcap' ! queue ! pcapparse src-ip=$2
src-port=$3 dst-ip=$4 dst-port=$5 ! \
'application/x-rtp,media=video,payload=104,clock-rate=90000,encoding-name=H264'
! \
rtph264depay byte-stream=true ! video/x-h264 ! ffdec_h264 ! xvimagesink
I would think that you could simply replace the h264 decode and display
with code to generate the webm format, then write to file.
On Wed, Mar 26, 2014 at 4:17 AM, birdhur <1241595551 at qq.com> wrote:
> Hi guys,
>
> I am now want to convert the video part in PCAP file to one webm file.
> I have tried many times, but didn't successfully. Could some guys do me a
> favor and provide me a example?
>
> I used the tool of gstreamer-1.0-x86-1.2.3.
>
> Thanks in advance!
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666118.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140327/cc9f5b9b/attachment.html>
More information about the gstreamer-devel
mailing list