There are many ways to do this, you can use:
- FFMpeg
- Gstreamer
- lame
- MPG123
- Sox
- Mplayer
Here is one example:
Converting sample.mp3 to 8KHz sample rate PCM/16 file.
There are many ways to do this, you can use:
Here is one example:
Converting sample.mp3 to 8KHz sample rate PCM/16 file.
ConMon is a command line utility that measures the traffic to and from an endpoint. ConMon passively monitors the IP packets and classifies them to measure the bit rate for each of the classifiers.
It is based on the Sniffer example in libpcap (tcpdump).
| YUV -> MP4 | |
| gst-launch filesrc location=<YUV file name> ! videoparse height=144 width=176 framerate=15 ! x264enc name=encoder byte-stream=true bitrate=64 ! mp4mux ! filesink location=<mp4 file name> | |
| gst-launch filesrc location=foreman15_600.yuv ! videoparse height=144 width=176 framerate=15 ! x264enc name=encoder byte-stream=true bitrate=64 ! rtph264pay name=packetiser ! fakesink | |
| MP4 -> YUV | |
| gst-launch filesrc location=<MP4 file name> ! qtdemux ! ffdec_h264 ! videoparse height=144 width=176 framerate=15 ! filesink locatiion=<YUV file name> | |
| ---- | |
| Stream MP4 file | |
| gst-launch filesrc location=IM2-YT-2_128k_20.mp4 ! qtdemux ! rtph264pay seqnum-offset=0 timestamp-offset=0 ssrc=0xaaaabbbb mtu=1450 perfect-rtptime=true ! udpsink clients=172.16.183.134:4400 |