[FFmpeg-user] Regarding how to extracting video from RTPpackets using ffmpeg API or Source code

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Aug 13 22:14:47 EEST 2018

2018-08-09 14:40 GMT+02:00, chetan goni <cgoni25 at gmail.com>:

> I have extracted RTP payload from RTP packets containing audio
> and ran below command and got the audio file and played in vlc
> ffmpeg -f mulaw -ar 8000 -ac 1 -i Audio.bin  output.wav
> But when i tried with video same procedure and it is giving error
> ffmpeg  -f h263   -i Video.bin   -f flv  out.flv

If Video.bin were a h263 file "-f h263" would not be needed as
FFmpeg can auto-detect raw h263 (mulaw cannot be auto-detected,
your therefore have to force this format), if it is a network dump it
probably cannot be read by FFmpeg.

Carl Eugen

More information about the ffmpeg-user mailing list