RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

Problem with 48000Hz sound in Android #60

Open aureyoboss opened 8 years ago

aureyoboss commented 8 years ago

Hi RSATom,

Today I just tested to play a 48Khz sound on Android (Nexus 4). I do not hear sound, and I have this error :

W libOpenSLES: class OutputMix interface 0 requested but unavailable MPH=43
W AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz

It is possible to force the play rate to 44Khz of an audio file?

Thanks.

RSATom commented 8 years ago

Did you try open same media with VLC player on same device?

It is possible to force the play rate to 44Khz of an audio file?

Don't think so. libvlc api is very limited. Maybe only if you will find some command line option for it and will pass it as playlist item option.

aureyoboss commented 8 years ago

Hi RSATom,

I just tested with the following devices :

I have the same error... :(

Other information: the codec used to play this media is PCM S16 LE (s16l) @ 48000Hz, 16bits Stereo.

RSATom commented 8 years ago

@aureyoboss, did you try VLC Player for Android to play same file?

aureyoboss commented 8 years ago

On VLC Player for Android, I have the same problem... I tested on Windows (QmlVlc and VLC Media Player) and works like a charm...

Is the NSF Nintendo file format (Nintendo Entertainment System Music).

RSATom commented 8 years ago

then it's VLC player issue... Better create ticket on their bug tracker.