convert-2mp3.sh error 6

Bug #646871 reported by Matt Wheeler
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gtkpod (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gtkpod

When trying to use gtkpod to sync my library with my iPod the helper scripts (convert-2m{p3,4a}.sh) fail to convert, with error 6 or error 4.

Most of the files to be converted are either flac or ogg.

All recommends and suggests are installed.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gtkpod 1.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Fri Sep 24 15:45:26 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/zsh
SourcePackage: gtkpod

Revision history for this message
Matt Wheeler (funkyhat) wrote :
Revision history for this message
Rodrigo Primo (rodrigosprimo) wrote :

Below a comment by ortylp proposing a workaround for this bug. I'm copying it here since I marked the bug he reported (https://bugs.launchpad.net/ubuntu/+source/gtkpod/+bug/672254) as a duplicate of this one.

"Files from http://www.softwarefreedom.org/feeds/podcast-ogg/ cannot be converted to mp3.

The script /usr/share/gtkpod/scripts/convert-2mp3.sh needs adjustments.
It seems, that lame does not understand file format sent on stdout by oggdec
Saving data to intermediate .wav file solves the problem."

Revision history for this message
Michael Helmling (supermihi) wrote :

I could fix this by changing the output type of oggdec to "raw" (-R switch) and the input type of lame as well (-r) in the script
/usr/share/gtkpod/scripts/convert-2mp3.sh:

"$decoder" -R $options "$infile" | "$encoder" -r $ENCODER_OPTS [...]

Revision history for this message
Daniël van Eeden (dveeden) wrote :
Changed in gtkpod (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.