# Example: Creating 3GP files from the incoming stream

The following example assumes the linemon utility is used to collect the incoming data from a 3G-324M terminal to line.in file and the h324.log is the corresponding Video Access H.324M Middleware log file.

The following table describes two possible scenarios that assume the session is negotiated with H.263 video codec and AMR audio codec:

This command... | Sends output to...
h324Extract -3gp h324.log line.in | out.3gp (assuming the 3gpapp utility is accessible from the same directory)
h324Extract -3gp h324.log line.in test.3gp | test.3gp (assuming the 3gpapp utility is accessible from the same directory)