[FFmpeg-user] create avi or mpeg file from rtp dump + sdp file

Manfred Ehgartner manfred.ehgartner at gmx.net
Tue Aug 13 11:15:15 CEST 2013


I have a file containing rtp packets of a video streaming session (h263,
h264) and additionally the sdp file, my goal is to create a playable
video file out of it (the container doesn't matter) using ffmpeg.

I am not experienced using sdp, but as far as I understood, inside the
sdp file the parameter c = IN IP4 Host defines the network parameters
for the player which is opening the sdp. So the player is using this
parameters to wait for incoming rtp packets fitting to the description
inside the SDP, am I right?

So I would need to replay the rtp stream locally and use ffmpeg to
capture on the packets on the NIC for writing the container file? Or is
it possible somehow directly feed ffmpeg with the sdp + the file
containing the already captured rtp packets and take this two input
parameters for generating the output directly?

Thanks in advance for your help

More information about the ffmpeg-user mailing list