<DIV> Thanks for your response, thanks so much! </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I used the following command:</DIV>
<DIV> gst-launch-0.10 webmmux name=mux ! filesrc location=oldfile.ext ! filesink location=newfile.webm ! name=demux ! demux. ! ffmpegcolorspace ! vp8enc ! queue ! mux.video_0 ! demux. ! progressreport ! audioconvert ! audiorate ! vorbisenc ! queue ! mux.audio_0</DIV>
<DIV> </DIV>
<DIV> And it say " No such element or plugin ffmpegcolorspace'</DIV>
<DIV> </DIV>
<DIV> BTW, I used the version gstreamer-1.0-x86-1.2.3.msi</DIV>
<DIV> </DIV>
<DIV> :) </DIV>
<DIV> I am a Java engineer, and have knoledge of c and c++. If can you do me a favor and help me convert one pcap to webm file? I just want to compare the webm file and the pcap file, and see the mapping between pcap payload and the webm content? Sorry for bother you !</DIV>
<DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------ 原始邮件 ------------------</DIV>
<DIV style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>发件人:</B> "Chuck Crisler-2 [via GStreamer-devel]";<<a href="/user/SendEmail.jtp?type=node&node=4666159&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>;</DIV>
<DIV><B>发送时间:</B> 2014年3月28日(星期五) 凌晨3:45</DIV>
<DIV><B>收件人:</B> "昵称"<<a href="/user/SendEmail.jtp?type=node&node=4666159&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>>; <WBR></DIV>
<DIV></DIV>
<DIV><B>主题:</B> Re: How to convert to PCAP to webm video?</DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr>
<DIV>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.<BR><BR>gst-launch filesrc location=$1 ! 'raw/x-pcap' ! queue ! pcapparse src-ip=$2 src-port=$3 dst-ip=$4 dst-port=$5 ! \<BR> 'application/x-rtp,media=video,payload=104,clock-rate=90000,encoding-name=H264' ! \<BR> rtph264depay byte-stream=true ! video/x-h264 ! ffdec_h264 ! xvimagesink<BR><BR></DIV>I would think that you could simply replace the h264 decode and display with code to generate the webm format, then write to file.<BR></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Wed, Mar 26, 2014 at 4:17 AM, birdhur <SPAN dir=ltr><<A href="http://mail.qq.com/user/SendEmail.jtp?type=node&node=4666155&i=0" rel="nofollow" target=_top link="external">[hidden email]</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #cccccc 2px solid; PADDING-BOTTOM: 0px; PADDING-LEFT: 1em; PADDING-RIGHT: 1em; PADDING-TOP: 0px" class=gmail_quote>Hi guys,<BR><BR> I am now want to convert the video part in PCAP file to one webm file.<BR>I have tried many times, but didn't successfully. Could some guys do me a<BR>favor and provide me a example?<BR><BR> I used the tool of gstreamer-1.0-x86-1.2.3.<BR><BR> Thanks in advance!<BR><BR><BR><BR>--<BR>View this message in context: <A href="http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666118.html" rel="nofollow" target=_blank link="external">http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666118.html</A><BR>Sent from the GStreamer-devel mailing list archive at Nabble.com.<BR>_______________________________________________<BR>gstreamer-devel mailing list<BR><A href="http://mail.qq.com/user/SendEmail.jtp?type=node&node=4666155&i=1" rel="nofollow" target=_top link="external">[hidden email]</A><BR><A href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target=_blank link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A><BR></BLOCKQUOTE></DIV><BR></DIV><BR>_______________________________________________ <BR>gstreamer-devel mailing list <BR><A href="http://mail.qq.com/user/SendEmail.jtp?type=node&node=4666155&i=2" rel="nofollow" target=_top link="external">[hidden email]</A> <BR><A href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target=_top link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A><BR><BR><BR>
<HR color=#cccccc SIZE=1 noShade>
<DIV style="FONT: 12px tahoma, geneva, helvetica, arial, sans-serif; COLOR: #444">
<DIV style="FONT-WEIGHT: bold">If you reply to this email, your message will be added to the discussion below:</DIV><A href="http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666118p4666155.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666118p4666155.html</A> </DIV>
<DIV style="MARGIN-TOP: 0.4em; FONT: 11px/1.5em tahoma, geneva, helvetica, arial, sans-serif; COLOR: #666">To unsubscribe from How to convert to PCAP to webm video?, <A href="" target="_top" rel="nofollow" link="external">click here</A>.<BR><A style="FONT: 9px serif" href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" target="_top" link="external">NAML</A> </DIV>
<DIV></DIV></DIV>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666159.html">回复: How to convert to PCAP to webm video?</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>