Convert Wav to AMR

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Convert Wav to AMR

kuladeep18k
Hello All,

I am trying to convert a wav file to amr file. and i am trying with:
 
gst-launch filesrc location=spider2.wav ! wavparse !  amrnbenc ! filesink location=amr.amr

Pipeline. but its giving Error like:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.
Additional debug info:
gstfilesrc.c(1055): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
No such file "spider2.wav"
Setting pipeline to NULL ...
Freeing pipeline ...

But while converting amr to wav file
gst-launch filesrc location=~/Desktop/sample.amr ! amrparse ! amrnbdec ! wavenc ! filesink location=~/Desktop/amr.wav this pipeline is working fine. but vice versa is not working. Can any body Help PLZ...

Thanks in advance for any contribution.
Regards,
Kuladeep.



Reply | Threaded
Open this post in threaded view
|

Re: Convert Wav to AMR

Dianahemes
How To Use:
Select a WAV file (such as *.wav, *.wave).
Click button "Convert" to start upload your file.
Once upload completed, converter will redirect a web page to show the conversion result.


Regards,
Diana