<div dir="ltr"><div class="gmail_default" style="font-size:large">How exactly do you intend on encoding MLP? there is no encoder included with ffmpeg (or LibAV AFAIK), there is an ancient one floating around on the internet that would need a lot of work to be patched in, so I'm not really sure how you plan on achieving this?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 10:09 PM, greeshma <span dir="ltr"><<a href="mailto:greeshmabalabadra@gmail.com" target="_blank">greeshmabalabadra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>