<div dir="ltr"><div><div><div><div><div><div><div>HI,<br><br></div>I am working on validating Mlp encoder in Libavcodec .<br></div>I have converted .wav file to .pcm file using acodec pcm_s16le .<br></div>Now i want to convert .pcm file to .mlp file using mlp encoder which i am working on.<br><br></div>the command line tool i am using is<br>./ffmpeg -i ~/file.pcm -acodec mlp -b:a 18m -r 29.97 -strict unofficial -sample_fmt s16 ~/final.mlp<br><br></div>But i am getting the below error<br><br>user@user:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -i ~/file.raw -acodec mlp -b:a 18m -r 29.97 -strict unofficial -sample_fmt s16 ~/final.mlp<br>ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers<br> built on Oct 27 2014 22:58:52 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)<br> configuration: --prefix=/home/soumya/ffmpeg_build --extra-cflags=-I/home/soumya/ffmpeg_build/include --extra-ldflags=-L/home/soumya/ffmpeg_build/lib
--bindir=/home/soumya/bin --enable-gpl --enable-libass
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-nonfree --enable-x11grab --cc=c99<br> libavutil 54. 10.100 / 54. 10.100<br> libavcodec 56. 9.102 / 56. 9.102<br> libavformat 56. 9.101 / 56. 9.101<br> libavdevice 56. 1.100 / 56. 1.100<br> libavfilter 5. 2.100 / 5. 2.100<br> libswscale 3. 1.101 / 3. 1.101<br> libswresample 1. 1.100 / 1. 1.100<br> libpostproc 53. 3.100 / 53. 3.100<br>[image2 @ 0x3d6ff60] Format image2 detected only with low score of 5, misdetection possible!<br>[rawvideo @ 0x3d70d80] Invalid pixel format.<br>[image2 @ 0x3d6ff60] Failed to open codec in av_find_stream_info<br>[rawvideo @ 0x3d70d80] Invalid pixel format.<br>[image2 @ 0x3d6ff60] Could not find codec parameters for stream 0 (Video: rawvideo, none): unspecified size<br>Consider increasing the value for the 'analyzeduration' and 'probesize' options<br>/home/user/file.raw: could not find codec parameters<br>Input #0, image2, from '/home/soumya/file.raw':<br> Duration: 00:00:00.04, start: 0.000000, bitrate: N/A<br> Stream #0:0: Video: rawvideo, none, 25 tbr, 25 tbn, 25 tbc<br>Codec
AVOption b (set bitrate (in bits/s)) specified for output file #0
(/home/soumya/final.mlp) has not been used for any stream. The most
likely reason is either wrong type (e.g. a video option with no video
streams) or that it is a private option of some encoder which was not
actually used for any stream.<br>File '/home/user/final.mlp' already exists. Overwrite ? [y/N] y<br>Output #0, mlp, to '/home/user/final.mlp':<br>Output file #0 does not contain any stream<br><br><br></div>and one more kind of error<br><br>/home/user/file.pcm: Invalid data found when processing input<br><br></div>Please help me out<br><br><div><div dir="ltr"><div><div><div><span style="color:rgb(7,55,99)"><font><span style="font-family:arial,helvetica,sans-serif"><span></span><a></a><span></span><br>Greeshma Balabhadra<br></span></font></span></div><span style="color:rgb(7,55,99)"><font><span style="font-family:arial,helvetica,sans-serif"></span></font></span><br></div></div><span style="color:rgb(11,83,148)"><span style="font-family:courier new,monospace"></span></span><div><span style="font-family:courier new,monospace"><br></span></div></div></div>
</div>