[Libav-user] New MLP Encoder(urgent)

greeshma greeshmabalabadra at gmail.com
Tue Oct 28 03:09:31 CET 2014


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 at 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-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'
/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141028/77de1b4b/attachment.html>

More information about the Libav-user mailing list