Bug 664299 - Bug in pulseaudio-utils parec[ord]
Summary: Bug in pulseaudio-utils parec[ord]
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-19 18:04 UTC by Gian Paolo Mureddu
Modified: 2017-01-29 16:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-16 18:59:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gian Paolo Mureddu 2010-12-19 18:04:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Gian Paolo Mureddu 2010-12-19 18:22:01 UTC
Oops, I did not know that ctrl+enter posted the bug report, I was struggling to get shift and a key for the ']' char and accidentally hit ctrl+enter.

The bug consists of parec[ord] not recognizing the --file-format= construct when invoked from the command line for scripted recording of audio streams. Utilizing --raw achives the expected goal, but when using --file-format= I get an error message about not being able to open the audio file (Failed to open audio file).

Version-Release number of selected component (if applicable):

pulseaudio-utils-0.9.21-7.fc14.x86_64

How reproducible:

Always.

Steps to reproduce:
1. Start playing some audio stream in the background.
2. In a terminal use: parec -d `pactl list | grep monitor | grep Nombre | cut -d" " -f2` -r --file-format=[wav,oga,flac,etc] > path/to/your/file.[wav,oga,flac,etc]
3. It exits with an error, replacing --file-format with --raw > path/to/file.raw, works as expected.

Actual results:

parec[ord] exits with the error "Failed to open audio file".

Expected results:

pare[ord] to actually record in the selected format.

Comment 2 Brendan Jones 2010-12-21 00:36:21 UTC
I can see that this has been addressed upstream here, but yet to make into Fedora:

commit 12c3e97bb4ebca02a94bdf4b719fd50c72dfbdba
Author: Vincent Becker <vincentx.becker>
Date:   Tue Dec 14 18:08:14 2010 +0100

    Fix return value of pa_sndfile_format_from_string
    
    This prevented to use pacat --file-format option correctly





-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 Fedora End Of Life 2012-08-16 18:59:49 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Ulf Seltmann 2017-01-29 16:14:14 UTC
this is still an issue in Fedora 24. Is there a workaround or something?
Why is it marked as "wont fix"?


Note You need to log in before you can comment on or make changes to this bug.