Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Gonzalo Garramuño
El 23/10/18 a las 19:21, Matthieu Regnauld escribió: Also, here is the actual class: https://github.com/mregnauld/AudioPlayerDemo/blob/master/app/src/main/cpp/AudioPlayer.cpp You'll also find the complete sample Android project I'm working on. Dear Matthieu, I seem to have sent you astray

[Libav-user] msvc compiling issue

2018-10-23 Thread Anton Shekhovtsov
Hi, I begin to build ffmpeg with VC 2015 and have difficulty with cpu specific features. For example this code (libavutil\float_dsp.c) if (ARCH_AARCH64) ff_float_dsp_init_aarch64(fdsp); if (ARCH_ARM) ff_float_dsp_init_arm(fdsp); if (ARCH_PPC)

Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Matthieu Regnauld
Also, here is the actual class: https://github.com/mregnauld/AudioPlayerDemo/blob/master/app/src/main/cpp/AudioPlayer.cpp You'll also find the complete sample Android project I'm working on. ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Matthieu Regnauld
My sound is played in an Android app (using Android NDK). I compiled FFMpeg for Android to make the code work. I haven't tried the command-line utility yet. ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Gonzalo Garramuño
El 23/10/18 a las 18:35, Matthieu Regnauld escribió: What wrong in my code? How are you playing your sound?  Does ffmpeg (the command-line utility) show a similar behavior? -- Gonzalo Garramuño ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Matthieu Regnauld
Thank you again for your help! OK so I try to follow the example given in the "Detailed Description" part of the Libswresample documentation: https://www.ffmpeg.org/doxygen/2.3/group__lswr.html And I updated my code: https://gist.github.com/mregnauld/2538d98308ad57eb75cfcd36aab5099a As a

Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Gonzalo Garramuño
El 23/10/18 a las 12:59, Matthieu Regnauld escribió: Thank you for your help. That said, I'm new to FFMpeg, and I still struggle. Could you tell me what I have to fix in my code to have a clear sound and also, if possible, how to resample it (from 44100 Hz to 48000 Hz, for example)? Here

[Libav-user] Libavdevice. Reading formats info.

2018-10-23 Thread Hristo Ivanov
Hi. The different devices ffmpeg supports have different options, I am interested in the 'list_formats' of the decklink devices. Using the ffmpeg.exe tool the following command: ffmpeg -f decklink -list_formats 1 -i 'Intensity Pro' prints the formats that can be used with the device. I

Re: [Libav-user] How to get raw audio frames from an audio file

2018-10-23 Thread Matthieu Regnauld
Thank you for your help. That said, I'm new to FFMpeg, and I still struggle. Could you tell me what I have to fix in my code to have a clear sound and also, if possible, how to resample it (from 44100 Hz to 48000 Hz, for example)? Here is my code: