So that's why he asked where the code was on my blog about a week ago :) Your input is being detected as video, you need to use ffmpeg -i inputfile.wav -acodec mlp ~/OutputFile.mlp
This is assuming that your encoder is properly registered with AVCodec, and the build system (there are a few files that have to be set up for it to compile properly, like config.h, the configure and make scripts, and I feel like I'm forgetting another one or two.) On Mon, Oct 27, 2014 at 10:46 PM, greeshma <[email protected]> wrote: > hi, > > Actually i have applied for OPW program and i need to validate bitstream.i > have made required patches with the help my my mentor ramiro polla. > now i just need to convert files,for which i need command line options.i > tried above options but couldn't get it > > > > greeshma > > > On Tue, Oct 28, 2014 at 7:44 AM, Marcus Johnson < > [email protected]> wrote: > >> 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? >> >> On Mon, Oct 27, 2014 at 10:09 PM, greeshma <[email protected]> >> wrote: >> >>> HI, >>> >>> I am working on validating Mlp encoder in Libavcodec . >>> I have converted .wav file to .pcm file using acodec pcm_s16le . >>> Now i want to convert .pcm file to .mlp file using mlp encoder which i >>> am working on. >>> >>> the command line tool i am using is >>> ./ffmpeg -i ~/file.pcm -acodec mlp -b:a 18m -r 29.97 -strict unofficial >>> -sample_fmt s16 ~/final.mlp >>> >>> But i am getting the below error >>> >>> user@user:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -i ~/file.raw -acodec mlp >>> -b:a 18m -r 29.97 -strict unofficial -sample_fmt s16 ~/final.mlp >>> ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers >>> built on Oct 27 2014 22:58:52 with gcc 4.8 (Ubuntu/Linaro >>> 4.8.1-10ubuntu9) >>> 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 >>> libavutil 54. 10.100 / 54. 10.100 >>> libavcodec 56. 9.102 / 56. 9.102 >>> libavformat 56. 9.101 / 56. 9.101 >>> libavdevice 56. 1.100 / 56. 1.100 >>> libavfilter 5. 2.100 / 5. 2.100 >>> libswscale 3. 1.101 / 3. 1.101 >>> libswresample 1. 1.100 / 1. 1.100 >>> libpostproc 53. 3.100 / 53. 3.100 >>> [image2 @ 0x3d6ff60] Format image2 detected only with low score of 5, >>> misdetection possible! >>> [rawvideo @ 0x3d70d80] Invalid pixel format. >>> [image2 @ 0x3d6ff60] Failed to open codec in av_find_stream_info >>> [rawvideo @ 0x3d70d80] Invalid pixel format. >>> [image2 @ 0x3d6ff60] Could not find codec parameters for stream 0 >>> (Video: rawvideo, none): unspecified size >>> Consider increasing the value for the 'analyzeduration' and 'probesize' >>> options >>> /home/user/file.raw: could not find codec parameters >>> Input #0, image2, from '/home/soumya/file.raw': >>> Duration: 00:00:00.04, start: 0.000000, bitrate: N/A >>> Stream #0:0: Video: rawvideo, none, 25 tbr, 25 tbn, 25 tbc >>> 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. >>> File '/home/user/final.mlp' already exists. Overwrite ? [y/N] y >>> Output #0, mlp, to '/home/user/final.mlp': >>> Output file #0 does not contain any stream >>> >>> >>> and one more kind of error >>> >>> /home/user/file.pcm: Invalid data found when processing input >>> >>> Please help me out >>> >>> >>> Greeshma Balabhadra >>> >>> >>> >>> _______________________________________________ >>> Libav-user mailing list >>> [email protected] >>> http://ffmpeg.org/mailman/listinfo/libav-user >>> >>> >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
