Examples: Converting non-3GP data to 3GP format

The following examples show how to convert non-3GP data to 3GP format:

Converting RFC 2429 NMS packetized data to 3GP format

The following example converts an audio file (sample.namr) and a video file (sample.n263) in RFC 2429 NMS packetized format to 3GP format. It creates a new 3GP file named newsample.3gp that contains both audio and video data.

Command

3gpapp -c newsample.3gp sample.namr sample.n263

Returned data

3gpapp - NMS Communications 2005 - v1.0.725
CREATING newsample.3gp FROM sample.namr AND sample.n263
Reading data from file: sample.namr
BufferSize=34357, total read 34357 bytes
34357 bytes read in file: sample.namr
25568 bytes written in from file sample.namr to file: newsample.3gp
25568 bytes written in from file sample.namr to file: newsample.3gp
Reading data from file: sample.n263
BufferSize=72595, total read 72595 bytes
72595 bytes read in file: sample.n263
70723 bytes written in from file sample.n263 to file: newsample.3gp
70723 bytes written in from file sample.n263 to file: newsample.3gp

Converting RFC 2190 NMS packetized data to 3GP format

The following example converts an audio file (sample.namr) and a video file (sample.n263n) in RFC 2190 NMS packetized format to 3GP format. It creates a new 3GP file named newsample.3gp that contains both audio and video data.

Command

3gpapp -R -c newsample.3gp sample.namr sample.n263n

Returned data

3gpapp - NMS Communications 2005 - v1.0.725
CREATING newsample.3gp FROM sample.namr AND sample.n263n
Reading data from file: sample.namr
BufferSize=34357, total read 34357 bytes
34357 bytes read in file: sample.namr
25568 bytes written in from file sample.namr to file: newsample.3gp
25568 bytes written in from file sample.namr to file: newsample.3gp
Reading data from file: sample.n263n
BufferSize=73219, total read 73219 bytes
73219 bytes read in file: sample.n263n
70723 bytes written in from file sample.n263n to file: newsample.3gp
70723 bytes written in from file sample.n263n to file: newsample.3gp

Converting raw data to 3GP format

The following example converts an audio file (sample.amr) and a video file (sample.263) in raw format to 3GP format. It creates a new 3GP file called newsample.3gp that contains both audio and video data.

Command

3gpapp -f1 -c newsample.3gp sample.amr sample.263

Returned data

3gpapp - NMS Communications 2005 - v1.0.725
CREATING newsample.3gp FROM sample.amr AND sample.263
Reading data from file: sample.amr
24769 bytes read in file: sample.amr
25568 bytes written in from file sample.amr to file: newsample.3gp
25568 bytes written in from file sample.amr to file: newsample.3gp
Reading data from file: sample.263
70723 bytes read in file: sample.263
70723 bytes written in from file sample.263 to file: newsample.3gp
70723 bytes written in from file sample.263 to file: newsample.3gp