-
Notifications
You must be signed in to change notification settings - Fork 41
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
[HELP] playing raw PCM audio #205
Comments
Does kodi play this correctly from the strm file? I.e. with no KODIPROPS? |
i havent checked it with strm file, but it doesnt play when i choose it from the GUI. |
You should be able to pass arguments to ffmpeg using a |
its not a url, its a local file(a local pipe, to be exact) |
this is the contents of the strm file: #KODIPROP:inputstream=inputstream.ffmpegdirect |
It still needs to be a URL so must follow URL syntax, so like:
Assuming these are valid ffmpeg options of course. |
I’m not saying this will work, but it is how you can pass ffmpeg options to the addon. |
it didnt work. |
You can enable debug logging in Kodi and there is also an option to enable ffmpeg logging in the addon settings All of the supported options are available here: https://ffmpeg.org/ffmpeg.html. I don’t see sample_rate though which is strange. Is there a MIME type for audio stream? Maybe that would work. |
i've enabled debug logging and also ffmpeg logging in the addon but i cant see in the logs what are the exact parameters that are being passed to ffmpeg. i also tried to define the mime type, seems like its being ignored (mimetype=audio/wav;codec=pcm;rate=16000) |
As in:
|
exactly. |
hi.
can this plugin play raw PCM audio (16 bit little endian, 44100, stereo)?
ffmpeg from command line can read this file with the following parameters:
/usr/bin/ffmpeg -sample_rate 44100 -f s16le -ac 2
if it is possible, what #KODIPROP lines should be in strm file?
thanks.
The text was updated successfully, but these errors were encountered: