Opened 19 months ago

Last modified 10 months 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 19 months ago.
c_16bit.paf (863.3 KB) - added by ami_stuff 19 months ago.
c_24bit.paf (1.3 MB) - added by ami_stuff 19 months ago.
mono16.paf (865.0 KB) - added by ami_stuff 10 months ago.
mono16.sd2 (863.0 KB) - added by ami_stuff 10 months ago.
mono24.paf (1.3 MB) - added by ami_stuff 10 months ago.
mono24.sd2 (1.3 MB) - added by ami_stuff 10 months ago.

Change History (16)

Changed 19 months ago by ami_stuff

comment:1 Changed 19 months ago by richardpl

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

comment:2 Changed 19 months ago by ami_stuff

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 19 months ago by ami_stuff (previous) (diff)

comment:3 Changed 19 months ago by richardpl

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

Changed 19 months ago by ami_stuff

Changed 19 months ago by ami_stuff

comment:6 Changed 19 months ago by richardpl

Does sndfile/sox decode it fine?

comment:7 Changed 19 months ago by ami_stuff

Yes.

comment:8 Changed 15 months ago by richardpl

  • Component changed from undetermined to avcodec
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

comment:9 in reply to: ↑ 4 Changed 10 months ago by ami_stuff

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

Changed 10 months ago by ami_stuff

Changed 10 months ago by ami_stuff

Changed 10 months ago by ami_stuff

Changed 10 months ago by ami_stuff

Note: See TracTickets for help on using tickets.