ffmpeg.js
ffmpeg.js copied to clipboard
file: Invalid data found when processing input
i'm trying to make an audio convertion build, and modify makefile as follows:
--COMMON_DECODERS = vp8 h264 vorbis opus mp3 aac pcm_s16le mjpeg png
++COMMON_DECODERS = vorbis opus mp3 aac pcm_s16le mjpeg png alac flac
the build process seems ok, and when i try to list decoders it shows as expected:
but when i try to convert something it may broke, saying 'file: Invalid data found when processing input':
that happens with the following formats: aac, ape, flac I'm think these types are all supported by ffmpeg, according to their homepage. and it works fine with some other formats: m4a, mp3, ogg, opus, wav
tried something else and have no clue. i wonder if you can figure out why? thank you
Do you have FLAC in the ffmpeg -demuxers
output?
Do you have FLAC in the
ffmpeg -demuxers
output?
nop. i believe that's the problem. didnt see a flac build option in ffmpeg docs, maybe it's included in libavcodec. when i add flac option directly, the build process failed.
a good direction. thanks
~~I think it's --enable-parser=flac
~~
~~(if you were using --enable-demuxer=flac
)~~
Might be, just glanced at the ffmpeg config file
~~I think it's
--enable-parser=flac
~~ ~(if you were using--enable-demuxer=flac
)~Might be, just glanced at the ffmpeg config file
thanks for your help, but i can't move any further now.
even with the original makefile, the build process failed when cc some files in libavutil, randomly. really creepy.
i'm not sure what's going on... maybe i broke some temp or env vars...or something wrong with new submodules......tried to redownload all that stuff...
anyway i was totally fuxxed by emcc XD
will update if i find a way out