Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3691 closed defect (wontfix)

Can't convert celt file to wav.

Reported by: bat999 Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: libcelt
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Can't convert celt file to wav.
How to reproduce:
Compile ffmpeg-HEAD with local static celt-HEAD-e18de77 library.
Configured with "--enable-libcelt"

% ffmpeg -i celt_testfile.oga output.wav
ffmpeg version 2.2.git-25e6310
  built on May 29 2014

Hi
I asked my question on the FFmpeg-user mailing list, but nobody has replied.
Here ----> https://ffmpeg.org/pipermail/ffmpeg-user/2014-May/021695.html

I don't know whether "--enable-libcelt" is now obsolete or whether it's broken.

celt_testfile.oga is attached in testfile.tar.xz

I'm using 32 bit Xubuntu-14.04

This is the output from console:-
@Xubuntu:~/build/ffmpeg-HEAD-25e6310$ ./ffmpeg -i celt_testfile.oga output.wav
ffmpeg version 2.2.git-25e6310 Copyright (c) 2000-2014 the FFmpeg developers

built on May 29 2014 16:52:50 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-libcelt
libavutil 52. 87.100 / 52. 87.100
libavcodec 55. 65.100 / 55. 65.100
libavformat 55. 42.100 / 55. 42.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

[ogg @ 0xad738a0] Failed to open codec in av_find_stream_info
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, ogg, from 'celt_testfile.oga':

Duration: 00:00:30.00, start: 0.000000, bitrate: 47 kb/s

Stream #0:0: Audio: celt, 44100 Hz, stereo

[abuffer @ 0xad6cba0] Unable to parse option value "(null)" as sample format

Last message repeated 1 times

[abuffer @ 0xad6cba0] Error setting option sample_fmt to value (null).
[graph 0 input from stream 0:0 @ 0xad6d080] Error applying options to the filter.
Error opening filters!

Attachments (1)

celt_testfile.oga (173.2 KB) - added by cehoyos 4 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by bat999

  • Version changed from unspecified to git-master

Changed 4 years ago by cehoyos

comment:2 Changed 4 years ago by cehoyos

  • Component changed from ffmpeg to undetermined

Which application does decode the sample?

comment:3 Changed 4 years ago by bat999

"Which application does decode the sample?"

Hi
I can decode it with a Windows binary celtdec.exe

With Linux...
wine ./celtdec.exe celt_testfile.oga output.wav

celtdec.exe is in attachment celt011-win32.zip

comment:4 Changed 4 years ago by cehoyos

It does not work here with:

$ celtdec --version
celtenc (CELT 0.11.1 encoder)
Copyright (C) 2008 Jean-Marc Valin

Which version are you testing?

comment:5 Changed 4 years ago by bat999

  • Component changed from undetermined to ffmpeg
  • Version changed from git-master to unspecified

"Which version are you testing?"

@Xubuntu:~/celt011-win32$ wine ./celtdec --version
celtenc (CELT 0.11.0 encoder)
Copyright (C) 2008 Jean-Marc Valin

"It does not work here"

Works OK for me.

@Xubuntu:~/celt011-win32$ wine ./celtdec.exe celt_testfile.oga output.wav
Decoding 44100 Hz audio in (stereo)
Encoded with CELT 0.11.0 (bitstream: -2147483632)

@Xubuntu:~/celt011-win32$ mediainfo output.wav
General
Complete name : output.wav
Format : Wave
File size : 5.05 MiB
Duration : 30s 16ms
Overall bit rate mode : Constant
Overall bit rate : 1 411 Kbps

Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 30s 16ms
Bit rate mode : Constant
Bit rate : 1 411.2 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 5.05 MiB (100%)

comment:6 Changed 4 years ago by cehoyos

  • Component changed from ffmpeg to avcodec
  • Keywords celt removed
  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from unspecified to git-master

FFmpeg only supports latest libcelt which is 0.11.1.

comment:7 Changed 4 years ago by cehoyos

  • Resolution changed from invalid to wontfix
Note: See TracTickets for help on using tickets.