Debian Bug report logs - #652615
flac: Does not change bit/rate as set at command line.

version graph

Package: flac; Maintainer for flac is Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>; Source for flac is src:flac.

Reported by: Sthu <sthu.deus@gmail.com>

Date: Mon, 19 Dec 2011 08:27:02 UTC

Severity: normal

Found in version flac/1.2.1-6

Forwarded to https://sourceforge.net/tracker/?func=detail&atid=113478&aid=3468854&group_id=13478

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sthu.deus@gmail.com, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Mon, 19 Dec 2011 08:27:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sthu <sthu.deus@gmail.com>:
New Bug report received and forwarded. Copy sent to sthu.deus@gmail.com, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Mon, 19 Dec 2011 08:27:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Sthu <sthu.deus@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: flac: Does not change bit/rate as set at command line.
Date: Mon, 19 Dec 2011 15:24:52 +0700
Package: flac
Version: 1.2.1-6
Severity: normal

Dear Maintainer,


I try to compress to .flac .wav files having 24 bit, 96 kHz sound as follows:

flac --bps=16 --sample-rate=44100 -o 1.flac 1.wav

the resutled .flac file has orignal bit/rate - noithing changed to the param.s .

Please fix it. Thank You for Your work.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable-updates'), (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flac depends on:
ii  libc6     2.13-21
ii  libflac8  1.2.1-6
ii  libogg0   1.2.2~dfsg-1

flac recommends no packages.

flac suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Tue, 20 Dec 2011 10:05:35 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Tue, 20 Dec 2011 10:05:43 GMT) Full text and rfc822 format available.

Message #10 received at 652615@bugs.debian.org (full text, mbox):

From: Fabian Greffrath <fabian@greffrath.com>
To: Sthu <sthu.deus@gmail.com>, 652615@bugs.debian.org
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Tue, 20 Dec 2011 11:05:54 +0100
Am 19.12.2011 09:24, schrieb Sthu:
> the resutled .flac file has orignal bit/rate - noithing changed to the param.s .

That's strange. Does flac print something to the terminal during the 
conversion? Could you make a sample of this WAV file available?

 - Fabian




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Tue, 20 Dec 2011 16:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Tue, 20 Dec 2011 16:06:03 GMT) Full text and rfc822 format available.

Message #15 received at 652615@bugs.debian.org (full text, mbox):

From: Fabian Greffrath <fabian@greffrath.com>
To: Sthu Deus <sthu.deus@gmail.com>
Cc: 652615@bugs.debian.org
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Tue, 20 Dec 2011 17:07:10 +0100
Please don't answer to me, but to the bug report!

Am 20.12.2011 16:58, schrieb Sthu Deus:
> Thank You for Your time and answer, Fabian:
>
>>> the resutled .flac file has orignal bit/rate - noithing changed to
>>> the param.s .
>>
>> That's strange. Does flac print something to the terminal during the
>> conversion? Could you make a sample of this WAV file available?
>
> No, just as usual for some 16/44 files:
>
> flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh
> Coalson flac comes with ABSOLUTELY NO WARRANTY.  This is free software,
> and you are welcome to redistribute it under certain conditions.  Type
> `flac' for details.
>
> split-track01.wav: WARNING: legacy WAVE file has format type 1 but
> bits-per-sample=24 1.wav: wrote 81344298 bytes, ratio=0.682

It looks like your WAV file is either corrupted or does not satisfy 
some format type expectations. This would also explain why mplayer is 
unable to determine its bit rate.

>
> As for sample availability, I can but think it is of no worth - fot it
> is the case *for every file* that is more than 16/44. - The files being
> taken from very diver sources.
>
> May this will help to shed some light on the problem: mplayer2 ceased
> to show bit rate as follows:
>
> Detected file format: raw FLAC (libavformat)
> [flac @ 0xb90280]max_analyze_duration reached
> [lavf] stream 0: audio (flac), -aid 0
> Load subtitles in /usr/local/share/.0/tmp/1/
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 96000 Hz, 2 ch, s32le, 0.0 kbit/0.00% (ratio: 0->768000)
> Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
> ==========================================================================
> AO: [alsa] 48000Hz 2ch s32le (4 bytes per sample)
>
> Here is  0.0 kbit  - for mp3 files it worked OK.
>
> Any other info I can help with?
>





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Wed, 21 Dec 2011 16:54:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sthu Deus <sthu.deus@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Wed, 21 Dec 2011 16:54:05 GMT) Full text and rfc822 format available.

Message #20 received at 652615@bugs.debian.org (full text, mbox):

From: Sthu Deus <sthu.deus@gmail.com>
To: Fabian Greffrath <fabian@greffrath.com>
Cc: 652615@bugs.debian.org
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Wed, 21 Dec 2011 23:50:22 +0700
Thank You for Your time and answer, Fabian:

>Please don't answer to me, but to the bug report!

Oh! It is my mailer - does not include CC to the reports - and I forget
about it.

>> split-track01.wav: WARNING: legacy WAVE file has format type 1 but
>> bits-per-sample=24 1.wav: wrote 81344298 bytes, ratio=0.682
>
>It looks like your WAV file is either corrupted or does not satisfy 
>some format type expectations. This would also explain why mplayer is 
>unable to determine its bit rate.

Ah, no. It is (WARNING: legacy WAVE file has format type 1) absolutely
useless message, it means nothing except that the file has been
processed before by something (in my case it may be peak upleafting or
something else) - the output is pretty good file. I can try
another .wav that was not processed by something - the problem is that
it be >16/44 - the message will disappear but the bug will remain. :o(

>> May this will help to shed some light on the problem: mplayer2 ceased
>> to show bit rate as follows:
>>
>> Detected file format: raw FLAC (libavformat)
>> [flac @ 0xb90280]max_analyze_duration reached
>> [lavf] stream 0: audio (flac), -aid 0
>> Load subtitles in /usr/local/share/.0/tmp/1/
>> ==========================================================================
>> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>> AUDIO: 96000 Hz, 2 ch, s32le, 0.0 kbit/0.00% (ratio: 0->768000)
>> Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
>> ==========================================================================
>> AO: [alsa] 48000Hz 2ch s32le (4 bytes per sample)
>>
>> Here is  0.0 kbit  - for mp3 files it worked OK.
>>
>> Any other info I can help with?

Hmm. Probably, not.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Fri, 23 Dec 2011 09:05:29 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Fri, 23 Dec 2011 09:05:30 GMT) Full text and rfc822 format available.

Message #25 received at 652615@bugs.debian.org (full text, mbox):

From: Fabian Greffrath <fabian@greffrath.com>
To: Sthu Deus <sthu.deus@gmail.com>, 652615@bugs.debian.org
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Fri, 23 Dec 2011 10:07:07 +0100
Am 21.12.2011 17:50, schrieb Sthu Deus:
> Ah, no. It is (WARNING: legacy WAVE file has format type 1) absolutely
> useless message, it means nothing except that the file has been
> processed before by something (in my case it may be peak upleafting or
> something else) - the output is pretty good file. I can try
> another .wav that was not processed by something - the problem is that
> it be>16/44 - the message will disappear but the bug will remain. :o(

What I meant to say was that maybe 24 bit files with sample rates 
>44100 are not designated by the legacy WAVE file format type 1. But 
I am not sure about this, either.

I am tempted to say that resampling of WAVE files with these 
properties is not the purpose of the flac command line tool, but you 
may disagree. And even if so, I think this bug is something that 
deserves the attention of the upstream developers and shouldn't focus 
on the Debian package. I am not familiar with the code in question, 
but I believe that adding this feature might require some profound 
code changes.

However, as a workaround, I'd like to ask you to try again with other 
sound converters that use libflac in order to exclude that the library 
itself is at fault, e.g. audacity or even sndfile-convert of the 
sndfile-programs package.

 - Fabian




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Fri, 23 Dec 2011 09:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Fri, 23 Dec 2011 09:09:06 GMT) Full text and rfc822 format available.

Message #30 received at 652615@bugs.debian.org (full text, mbox):

From: Fabian Greffrath <fabian@greffrath.com>
To: 652615@bugs.debian.org
Cc: Sthu Deus <sthu.deus@gmail.com>
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Fri, 23 Dec 2011 10:11:47 +0100
Am 23.12.2011 10:07, schrieb Fabian Greffrath:
> itself is at fault, e.g. audacity or even sndfile-convert of the
> sndfile-programs package.

forgot 'sox' !




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Fri, 23 Dec 2011 15:39:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sthu Deus <sthu.deus@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Fri, 23 Dec 2011 15:39:06 GMT) Full text and rfc822 format available.

Message #35 received at 652615@bugs.debian.org (full text, mbox):

From: Sthu Deus <sthu.deus@gmail.com>
To: Fabian Greffrath <fabian@greffrath.com>
Cc: 652615@bugs.debian.org
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Fri, 23 Dec 2011 22:36:33 +0700
Thank You for Your time and answer, Fabian:

>I am tempted to say that resampling of WAVE files with these 
>properties is not the purpose of the flac command line tool, but you 
>may disagree. And even if so, I think this bug is something that 
>deserves the attention of the upstream developers and shouldn't focus 
>on the Debian package. I am not familiar with the code in question, 
>but I believe that adding this feature might require some profound 
>code changes.

Do I err in my supposing that the upstream bugs should be reported from
Debian distro. by its maintainers?

Or I should report it myself?

>However, as a workaround, I'd like to ask you to try again with other 
>sound converters that use libflac in order to exclude that the library 
>itself is at fault, e.g. audacity or even sndfile-convert of the 
>sndfile-programs package.

Yes. I have found the solution already w/ the package. Yet it helps
flac w/ its appropriate param.s not at all. :o)

I thnk the developers have either to remove the options from flac
manual OR fix the bug.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Mon, 02 Jan 2012 08:48:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Mon, 02 Jan 2012 08:48:04 GMT) Full text and rfc822 format available.

Message #40 received at 652615@bugs.debian.org (full text, mbox):

From: Fabian Greffrath <fabian@greffrath.com>
To: Sthu Deus <sthu.deus@gmail.com>
Cc: 652615@bugs.debian.org
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Mon, 02 Jan 2012 09:48:45 +0100
Am 23.12.2011 16:36, schrieb Sthu Deus:
> Do I err in my supposing that the upstream bugs should be reported from
> Debian distro. by its maintainers?
> Or I should report it myself?

There is no distinct rule about who should send reports to upstream. I 
can do that, of course, but if you happen to have a sourceforge 
account yourself, you might so it as well. Please note, however, that 
upstream seems to be dead for years and hasn't ever answered to any of 
my bug reports.

> Yes. I have found the solution already w/ the package. Yet it helps
> flac w/ its appropriate param.s not at all. :o)

No, sure not. But it shows that at least the flac shared library is 
capable to encode audio data with rather "exotic" properties.

> I thnk the developers have either to remove the options from flac
> manual OR fix the bug.

The feature (i.e. transcoding and encoding at once) is already there, 
it is merely not available for audio data with exotic properties. I 
think the right thing to do will be to extend the command line tool, 
instead of removing the feature.

 - Fabian





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#652615; Package flac. (Tue, 03 Jan 2012 08:15:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Tue, 03 Jan 2012 08:15:12 GMT) Full text and rfc822 format available.

Message #45 received at 652615@bugs.debian.org (full text, mbox):

From: Fabian Greffrath <fabian@greffrath.com>
To: control@bugs.debian.org
Cc: 652615@bugs.debian.org, Sthu Deus <sthu.deus@gmail.com>
Subject: Re: Bug#652615: flac: Does not change bit/rate as set at command line.
Date: Tue, 03 Jan 2012 09:15:08 +0100
forwarded 652615 https://sourceforge.net/tracker/?func=detail&atid=113478&aid=3468854&group_id=13478
thanks






Set Bug forwarded-to-address to 'https://sourceforge.net/tracker/?func=detail&atid=113478&aid=3468854&group_id=13478'. Request was from Fabian Greffrath <fabian@greffrath.com> to control@bugs.debian.org. (Tue, 03 Jan 2012 08:15:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 20:03:42 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.