Opened 8 years ago

Last modified 7 years ago

#5499 open enhancement

paf: support 24bit

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

Description

C:\>ffmpeg -i 24.paf
ffmpeg version N-79696-ga67816b 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. 23.100 / 55. 23.100
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 35.100 / 57. 35.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[epaf @ 0x28a4020] 24-bit Paris PCM format is not implemented. Update your FFmpe
g 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.
[epaf @ 0x28a4020] If you want to help, upload a sample of this file to ftp://up
load.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-dev
el@ffmpeg.org)
24.paf: Invalid data found when processing input

Attachments (7)

24.paf (2.0 MB ) - added by ami_stuff 8 years ago.
c_16bit.paf (863.3 KB ) - added by ami_stuff 8 years ago.
c_24bit.paf (1.3 MB ) - added by ami_stuff 8 years ago.
mono16.paf (865.0 KB ) - added by ami_stuff 7 years ago.
mono16.sd2 (863.0 KB ) - added by ami_stuff 7 years ago.
mono24.paf (1.3 MB ) - added by ami_stuff 7 years ago.
mono24.sd2 (1.3 MB ) - added by ami_stuff 7 years ago.

Change History (16)

by ami_stuff, 8 years ago

Attachment: 24.paf added

comment:1 by Elon Musk, 8 years ago

If this file is of sox/sndfile origin it have nothing to do with real paf files.

comment:2 by ami_stuff, 8 years ago

so you mean libsndfile creates buggy 24-bit paf files or files in different paf format?

they lists 24-bit under paris audio in the table...

http://www.mega-nerd.com/libsndfile/

Last edited 8 years ago by ami_stuff (previous) (diff)

comment:3 by Elon Musk, 8 years ago

I believe their implementation is not correct. I'm looking for real paf 24 bit files too.

by ami_stuff, 8 years ago

Attachment: c_16bit.paf added

by ami_stuff, 8 years ago

Attachment: c_24bit.paf added

comment:6 by Elon Musk, 8 years ago

Does sndfile/sox decode it fine?

comment:7 by ami_stuff, 8 years ago

Yes.

comment:8 by Elon Musk, 8 years ago

Component: undeterminedavcodec
Priority: normalwish
Reproduced by developer: set
Status: newopen
Type: defectenhancement
Version: unspecifiedgit-master

in reply to:  4 comment:9 by ami_stuff, 7 years ago

Replying to ami_stuff:

there is conversion utility between sdII and paf here, but it runs only under mac os

https://web.archive.org/web/20080201163051/http://www.intdevices.com/downloads/PAF-SDII_Utility.sit.hqx

https://web.archive.org/web/20030302065435/http://www.greatidea.com/paris/newpage11.htm

https://web.archive.org/web/20030217072447/http://www.greatidea.com/paris/paris5.htm

https://web.archive.org/web/20030302064420/http://www.greatidea.com/paris/newpage.htm

I have created samples with this tool (see attached files) and libsndfile doesn't like paf 24bit file.

maybe useful:

"I've emailed Erik again, and included 2 of the 24 bit .paf files, where the other works on Windows, the other doesn't. Hopefully he gets the email this time and finds it interesting enough to consider it a bug and to try to fix libsndfile."

http://forum.cockos.com/archive/index.php/t-33102.html

by ami_stuff, 7 years ago

Attachment: mono16.paf added

by ami_stuff, 7 years ago

Attachment: mono16.sd2 added

by ami_stuff, 7 years ago

Attachment: mono24.paf added

by ami_stuff, 7 years ago

Attachment: mono24.sd2 added
Note: See TracTickets for help on using tickets.