I am trying out this pipeline to decode audio from a 3gp file and Amr encode it..
but the output file that i am getting is not a valid amr file

gst-launch -v filesrc location=footsie.3gp ! decodebin ! audioconvert ! audioresample ! amrnbenc name=amrenc ! queue ! filesink location= exam.amr

Does anybody has any idea what is wrong with this pipeline ???