[Libav-user] no 'data' tag found

Jeff Archer jeffarcher7 at gmail.com
Mon Jan 23 20:50:57 EET 2017

Hello all,
I am attempting to use FFmpeg from JNI code of my Android app.
I have what I thought are .WAV files but now not so certain.  On many(most)
Android devices the code extracts this data and writes it to a file and
then gives that file to the Android MediaPlayer to play.  On some devices I
get the exception java.io.IOException: setDataSourceFD failed.:
status=0x80000000.  I believe these devices do not have an appropriate
codec. So, I wish to use FFmpeg API to convert the file to .mp3 or other
format that can work on all devices. These files can be supplied by end
user so cannot simply convert files ahead of time.  End user will of course
expect to be able to use any file that can be played on other device or
Windows.  Thus, I need to use FFmpeg APi to convert file just before

What is happening is that during the call to avformat_open_input() the
following messages are coming through av_log_callback()
av_log: Format wav probed with size=2048 and score=99
av_log: no 'data' tag found
av_log: Statistics: 3732 bytes read, 0 seeks
And avformat_open_input() is returning: -1094995529[0xBEBBB1B7]
Which yields the following from av_strerror(): Invalid data found when
processing input

It seems like I may be missing some required step or flag or something...

Any help or suggestion is most appreciated.

Jeff Archer
jeffarcher7 at gmail.com <jarcher7 at yahoo.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170123/d4673697/attachment.html>

More information about the Libav-user mailing list