回复: How to convert to PCAP to webm video?
birdhur
1241595551 at qq.com
Thu Mar 27 19:02:45 PDT 2014
Thanks for your response, thanks so much!
I used the following command:
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
And it say " No such element or plugin ffmpegcolorspace'
BTW, I used the version gstreamer-1.0-x86-1.2.3.msi
:)
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 !
------------------ 原始邮件 ------------------
发件人: "Chuck Crisler-2 [via GStreamer-devel]";<ml-node+s966125n4666155h94 at n4.nabble.com>;
发送时间: 2014年3月28日(星期五) 凌晨3:45
收件人: "昵称"<1241595551 at qq.com>;
主题: Re: How to convert to PCAP to webm video?
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 <[hidden email]> 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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666118p4666155.html
To unsubscribe from How to convert to PCAP to webm video?, click here.
NAML
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-convert-to-PCAP-to-webm-video-tp4666159.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140327/34548956/attachment.html>
More information about the gstreamer-devel
mailing list