# Examples: Converting 3GP data to other formats

The following examples show how to convert 3GP data to other formats:

- Converting 3GP data to RFC 2429 NMS packetized format

- Converting 3GP data to RFC 2190 NMS packetized format

- Converting 3GP data to raw format

## Converting 3GP data to RFC 2429 NMS packetized format

The following example converts data in a 3GP file named sample.3gp to NMS packetized data in accordance with the RFC 2429 packetization mode. The example creates two files in NMS packetized format:

- sample.namr contains the audio data from the 3GP file.

- sample.n263 contains the video data from the 3GP file.

#### Command

3gpapp -e sample.3gp sample

#### Returned data

3gpapp - NMS Communications 2005 - v1.0.725
EXTRACT from sample.3gp INTO sample.xxx FOR AUDIO AND VIDEO
34357 bytes copied to file: sample.namr
Total: 34357 bytes copied to file: sample.namr
72595 bytes copied to file: sample.n263
Total: 72595 bytes copied to file: sample.n263

## Converting 3GP data to RFC 2190 NMS packetized format

The following example converts a 3GP file named sample.3gp to NMS packetized format in accordance with RFC 2190. It creates two files in NMS packetized format:

- sample.namr contains the audio data from the 3GP file.

- sample.n263n contains the video data from the 3GP file.

#### Command

3gpapp -e –R sample.3gp sample

#### Returned data

3gpapp - NMS Communications 2005 - v1.0.725
EXTRACT from sample.3gp INTO sample.xxx FOR AUDIO AND VIDEO
34357 bytes copied to file: sample.namr
Total: 34357 bytes copied to file: sample.namr
73219 bytes copied to file: sample.n263n
Total: 73219 bytes copied to file: sample.n263n

## Converting 3GP data to raw format

The following example converts a 3GP file named sample.3gp to raw data. It creates two files in raw format:

- sample.amr contains the audio data from the 3GP file.

- sample.263 contains the video data from the 3GP file.

#### Command

3gpapp -e -f1 sample.3gp sample

#### Returned data

3gpapp - NMS Communications 2005 - v1.0.725
EXTRACT from sample.3gp INTO sample.xxx FOR AUDIO AND VIDEO
24769 bytes copied to file: sample.amr
Total: 24769 bytes copied to file: sample.amr
70723 bytes copied to file: sample.263
Total: 70723 bytes copied to file: sample.263