[FFmpeg-user] Extracing H264 from RTP packets

Joseph Rosensweig jrosensw at gmail.com
Tue Oct 30 18:41:18 CET 2012


Okay so I ended up using videosnarf.  Here are my steps:

#1  Download and install videosnarf from
http://sourceforge.net/projects/ucsniff/files/videosnarf/videosnarf-0.63.tar.gz/download

   --  You may need to install libpcap-devel and libnet for this to build
and install.

#2  Capture the video stream with wireshark and make sure to filter out
only the RTP stream you want.

#3  Use videosnarf on the capture:  "videosnarf -i filename.pcap -c"

   --  This will generate an h.264 file.

#4  Run this file through ffmpeg.  Boom!

On Tue, Oct 30, 2012 at 6:39 AM, Roger Pack <rogerdpack2 at gmail.com> wrote:

> >     Has anyone extracted h264 data from a wireshark RTP capture?
> >  Essentially what I have tried is to capture an h323 session and to
> extract
> > one of the H264 RTP streams using "Follow UDP Stream" and then saving the
> > sessions as a raw file.  Then I took the SDP for the session and
> attempted
> > to run it through ffmpeg:
>
> I wonder if rtmpdump would help here...
> -r
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list