[FFmpeg-devel] Fixes for audio/L16

Igor Derzhavin igor.derzhavin at gmail.com
Sat Nov 24 11:27:06 EET 2018


Hello!
Do you accept these patches? Or what can I do more?
We use ffmpeg (libavformat/libavcodec) within our company and came across
that http url with content type
"audio/l16;rate=24000;channels=1;endianness=big-endian" incorrectly opens
as s16le with sample rate 16000.
This patches fixes that.

On Thu, Nov 22, 2018 at 4:45 PM Igor Derzhavin <igor.derzhavin at gmail.com>
wrote:

> No, I don't now applications that can play pcm streams through HTTP. VLC
> misdetect such streams as mp3, and there is a two years old bug
> https://trac.videolan.org/vlc/ticket/17229.
>
> On Thu, Nov 22, 2018 at 4:00 PM Carl Eugen Hoyos <ceffmpeg at gmail.com>
> wrote:
>
>> 2018-11-22 10:16 GMT+01:00, Igor Derzhavin <igor.derzhavin at gmail.com>:
>>
>> > A little bunch of fixes for audio/L16 mime type handling:
>> > 0001 - RFC 2045 says MIME type should be case insensitive;
>> > 0002 - RFC 2586 says audio/L16 should be in network byte order (aka big
>> > endian);
>> > 0003 - though "endiannes" parameter not in RFC it is widely used;
>>
>> Great, did you test this with any other application?
>>
>> Thank you, Carl Eugen
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>


More information about the ffmpeg-devel mailing list