-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] ffmpeg extension - pcm_mulaw support #4360
Comments
Please could you send a link to the MP4 stream you're trying to play to This requires a few small changes in the FFmpeg JNI wrapper code but should be straightforward to support. |
Thanks for looking into this @andrewlewis. Also, if there's a way I could contribute, or at least try it out for my self in the meanwhile, I'd love to do so. |
We'll push a change to |
Thanks for the pointers Andrew, will do. |
Issue: #4360 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200186465
@villoren The commit referenced above has everything needed for this enhancement except for building the right As a side note, this should now work for WAV files without any further changes. |
@andrewlewis Sorry, got caught by something else.
Gotcha, mp4 container, no wav. |
Hi,
I'm trying to play a file with an audio stream encoded as pcm_mulaw (container is mp4).
Scenario
ffprobe outputs the following:
And since ffmpeg supports pcm_mulaw, I thought the ffmpeg extension would do the trick.
So I built the extension using the following options:
Then verified
FfmpegLibrary.isAvailable()
wastrue
, and askedDefaultRenderersFactory
toEXTENSION_RENDERER_MODE_PREFER
as shown:Results
FfmpegAudioRenderer
is being instantiated and supportsMixedMimeTypeAdaptation() is called, but neithersupportsFormatInternal()
norcreateDecoder()
are called.FfmpegLibrary
: neithersupportsFormat()
norgetCodecName()
are called, although the fact thatMimeType.AUDIO_MLAW
isn't listed as a coded could imply it's not supported?Questions
g711-mlaw
is supported by ffmpeg, but not by the ffmpeg extension: is there something out there that does?Extractor
and force its use? (I know the format of the source is always the same)Thanks,
Rena
The text was updated successfully, but these errors were encountered: