[FFmpeg-user] iOS AVPlayer won't play audio files from FFMPEG

Marcus P norfolk840 at gmail.com
Mon Jan 18 11:20:05 EET 2021


 Thanks for your help Carl.

How can I improve our ffmpeg request to send valid wav files?

> ffmpeg -i "/path/to/audio/track.mp3" -vn -strict -2 -acodec pcm_u8 -f
> wav -listen 1 -seekable 1 http://localhost:8090/restream.wav

Unrelated:
You are not sending valid wav files like this.

On Sun, Jan 17, 2021 at 9:34 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> Am Sa., 16. Jan. 2021 um 18:57 Uhr schrieb Marcus P <norfolk840 at gmail.com
> >:
>
> > ffmpeg -i "/path/to/audio/track.mp3" -vn -strict -2 -acodec pcm_u8 -f
> > wav -listen 1 -seekable 1 http://localhost:8090/restream.wav
>
> Unrelated:
> You are not sending valid wav files like this.
>
> [...]
>
> > Can we solve this by making changes to FFMPEG to return 206?
>
> If I understand your request correctly, you are not asking for a
> change of a return type (you could probably do that yourself)
> but for the implementation of byte range requests.
> I don't think this is possible at all with FFmpeg.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list