Opened 8 years ago

Last modified 7 years ago

#5437 open enhancement

mpeg-4 als: support 32bit floating point

Reported by: ami_stuff Owned by: Thilo Borgmann
Priority: wish Component: avcodec
Version: git-master Keywords: als
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

https://www.datafilehost.com/d/c8c7e50f

C:\>ffmpeg -i D:\32bit_5ch.mp4
ffmpeg version N-79343-g901b0f1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 33.100 / 57. 33.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[als @ 0x288d7c0] Floating point decoding is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means that
your file has a feature which has not been implemented.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2884020] Failed to open codec in av_find_stream_inf
o
[als @ 0x288d7c0] Floating point decoding is not implemented. Update your FFmpeg
 version to the newest one from Git. If the problem still occurs, it means that
your file has a feature which has not been implemented.
Guessed Channel Layout for  Input Stream #0.0 : 5.1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\32bit_5ch.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2016-04-13 21:41:55
  Duration: 00:00:30.10, start: 0.000000, bitrate: 3458 kb/s
    Stream #0:0(und): Audio: mp4als (mp4a / 0x6134706D), 48000 Hz, 6 channels, 3
458 kb/s (default)
    Metadata:
      creation_time   : 2016-04-13 21:41:55
At least one output file must be specified

Attachments (3)

f32mono.mp4 (508.3 KB ) - added by ami_stuff 7 years ago.
f32stereo.mp4 (1019.1 KB ) - added by ami_stuff 7 years ago.
f32multi.mp4 (1.7 MB ) - added by ami_stuff 7 years ago.

Change History (10)

comment:1 by Thilo Borgmann, 8 years ago

Analyzed by developer: set
Component: undeterminedavcodec
Owner: set to Thilo Borgmann
Priority: normalwish
Reproduced by developer: set
Status: newopen
Summary: mpeg-4 als: support 32bitmpeg-4 als: support 32bit floating point
Type: defectenhancement
Version: unspecifiedgit-master

Floating-point support of the decoder is part of the qualification task for the upcoming ALS GSoC project. A lot of work has already been done so it might hit HEAD in a short time.

comment:2 by Carl Eugen Hoyos, 8 years ago

Keywords: als added

comment:3 by Carl Eugen Hoyos, 8 years ago

Has this been fixed / how is the output supposed to sound?

comment:4 by ami_stuff, 8 years ago

It's not fixed for my sample ("32bit_5ch.mp4") - output from mp4als:

http://www.megafileupload.com/fOY4/mp4als_out.7z

comment:5 by Thilo Borgmann, 8 years ago

What encoder did produce this sample?

Also this sample is not available anymore on datafilehost...

in reply to:  5 comment:6 by ami_stuff, 8 years ago

Replying to thilo.borgmann:

What encoder did produce this sample?

Also this sample is not available anymore on datafilehost...

just do:

C:\>C:\mp4alsRM23win\mp4alsRM23.exe -MP4 C:\mp4als_out.wav

and try decoding output mp4 file with ffmpeg

http://www.megafileupload.com/k9am/mp4als_out.wav

by ami_stuff, 7 years ago

Attachment: f32mono.mp4 added

by ami_stuff, 7 years ago

Attachment: f32stereo.mp4 added

by ami_stuff, 7 years ago

Attachment: f32multi.mp4 added

comment:7 by ami_stuff, 7 years ago

this I get while decoding mono and stereo float 32bit (see attached files):

[als @ 025cb880] MLZ offset error.
    Last message repeated 2 times
[als @ 025cb880] MLZ dic index error.
    Last message repeated 1 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 1 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 1 times
[als @ 025cb880] MLZ offset error.
    Last message repeated 2 times
[als @ 025cb880] MLZ dic index error.
    Last message repeated 1 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 14 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 4 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 1 times
[als @ 025cb880] MLZ offset error.
    Last message repeated 3 times
[als @ 025cb880] MLZ dic index error.
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 5 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 7 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 6 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 5 times
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.
    Last message repeated 3 times
[als @ 025cb880] MLZ offset error.
    Last message repeated 1 times
[als @ 025cb880] MLZ dic index error.
[als @ 025cb880] MLZ offset error.
[als @ 025cb880] MLZ dic index error.

encoded with:

C:\>mp4alsRM23.exe -MP4 D:\f32mono.wav
Note: See TracTickets for help on using tickets.