sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* [ sox-Bugs-3176073 ] some files unplayable through symlinks
@ 2013-02-02 21:16 SourceForge.net
  0 siblings, 0 replies; only message in thread
From: SourceForge.net @ 2013-02-02 21:16 UTC (permalink / raw
  To: SourceForge.net

Bugs item #3176073, was opened at 2011-02-08 18:32
Message generated for change (Comment added) made by janstary
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3176073&group_id=10706

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jim Hill (jthill)
Assigned to: Nobody/Anonymous (nobody)
Summary: some files unplayable through symlinks

Initial Comment:
It's hit or miss, I haven't been able to discern why some symlinks work and some don't.  It's not dependent on the file type, ogg flac or mp3 I have some sox can't identify through symlinks and some it can. 
===
$ readlink ../Music
/home/jthill/Music
$ play Stray\ Cat\ Blues 

Stray Cat Blues:

 File Size: 7.18M     Bit Rate: 205k
  Encoding: Vorbis        
  Channels: 2 @ 16-bit   Track: 8 of 10
Samplerate: 44100Hz      Album: Beggars Banquet
Replaygain: off         Artist: The Rolling Stones
  Duration: 00:04:40.88  Title: Stray Cat Blues

In:1.45% 00:00:04.09 [00:04:36.79] Out:180k  [     -|=     ]        Clip:0    
Aborted.
$ readlink Stray\ Cat\ Blues 
../Music/The Rolling Stones/Beggars Banquet/08 - Stray Cat Blues.ogg
$ play Honey\ in\ the\ Sun 
play FAIL formats: can't determine type of file `Honey in the Sun'
$ play "`readlink Honey\ in\ the\ Sun`"

../Music/My Maudlin Career/11 Honey in the Sun.mp3:

 File Size: 13.8M     Bit Rate: 320k
  Encoding: MPEG audio    Info: 2009
  Channels: 2 @ 16-bit   Track: 11/11
Samplerate: 44100Hz      Album: My Maudlin Career
Replaygain: off         Artist: Camera Obscura
  Duration: 00:05:45.35  Title: Honey in the Sun

In:1.10% 00:00:03.81 [00:05:41.54] Out:168k  [!=====|=====!] Hd:4.6 Clip:77   
play WARN sox: `alsa' output clipped 77 samples; decrease volume?
Aborted.
$ readlink Honey\ in\ the\ Sun 
../Music/My Maudlin Career/11 Honey in the Sun.mp3

===
jthill@gadabout:~/Music/list/all$ play -V -V Honey\ in\ the\ Sun 
play DBUG formats: opening format plugin `lsx_alsa_format_fn': library 0xdf7590, entry point 0x7fa0778a14a0

play DBUG formats: opening format plugin `lsx_ao_format_fn': library 0xdf8570, entry point 0x7fa0773b9b70

play DBUG formats: opening format plugin `lsx_ffmpeg_format_fn': library 0xdf9220, entry point 0x7fa076faf470

play DBUG formats: opening format plugin `lsx_flac_format_fn': library 0xe0f160, entry point 0x7fa074be18f0

play DBUG formats: opening format plugin `lsx_gsm_format_fn': library 0xe0fe60, entry point 0x7fa0747d7ab0

play DBUG formats: opening format plugin `lsx_lpc10_format_fn': library 0xe0fe00, entry point 0x7fa0745d5b60

play DBUG formats: opening format plugin `lsx_mp3_format_fn': library 0xe10dd0, entry point 0x7fa0743d2b20

play DBUG formats: opening format plugin `lsx_oss_format_fn': library 0xe11f70, entry point 0x7fa073fb0a10

play DBUG formats: opening format plugin `lsx_pulseaudio_format_fn': library 0xe12720, entry point 0x7fa073dae9f0

play DBUG formats: opening format plugin `lsx_vorbis_format_fn': library 0xe1a970, entry point 0x7fa070ee25f0

play DBUG formats: opening format plugin `lsx_wavpack_format_fn': library 0xe1b120, entry point 0x7fa070cdf2d0

play: SoX v14.3.1
time:  May 14 2010 11:23:42
issue: Debian GNU/Linux
uname: Linux gadabout 2.6.37-gadabout-00011-g150b22c-dirty #3 PREEMPT Sun Feb 6 03:29:04 PST 2011 x86_64
gcc:   4.4.3
arch:  1288 48 88 L OMP
play FAIL formats: can't determine type of file `Honey in the Sun'
jthill@gadabout:~/Music/list/all$ play -v -v  "`readlink !$`"
play -v -v  "`readlink Honey\ in\ the\ Sun`"
play FAIL sox: Volume value `-v' is not a number
jthill@gadabout:~/Music/list/all$ play -V -V  "`readlink Honey\ in\ the\ Sun`"
play DBUG formats: opening format plugin `lsx_alsa_format_fn': library 0x19455c0, entry point 0x7f89111b24a0

play DBUG formats: opening format plugin `lsx_ao_format_fn': library 0x1946570, entry point 0x7f8910ccab70

play DBUG formats: opening format plugin `lsx_ffmpeg_format_fn': library 0x1947220, entry point 0x7f89108c0470

play DBUG formats: opening format plugin `lsx_flac_format_fn': library 0x194d4e0, entry point 0x7f890e4f28f0

play DBUG formats: opening format plugin `lsx_gsm_format_fn': library 0x195de90, entry point 0x7f890e0e8ab0

play DBUG formats: opening format plugin `lsx_lpc10_format_fn': library 0x195de30, entry point 0x7f890dee6b60

play DBUG formats: opening format plugin `lsx_mp3_format_fn': library 0x195ee00, entry point 0x7f890dce3b20

play DBUG formats: opening format plugin `lsx_oss_format_fn': library 0x195ffa0, entry point 0x7f890d8c1a10

play DBUG formats: opening format plugin `lsx_pulseaudio_format_fn': library 0x1960750, entry point 0x7f890d6bf9f0

play DBUG formats: opening format plugin `lsx_vorbis_format_fn': library 0x19689a0, entry point 0x7f890a7f35f0

play DBUG formats: opening format plugin `lsx_wavpack_format_fn': library 0x1969150, entry point 0x7f890a5f02d0

play: SoX v14.3.1
time:  May 14 2010 11:23:42
issue: Debian GNU/Linux
uname: Linux gadabout 2.6.37-gadabout-00011-g150b22c-dirty #3 PREEMPT Sun Feb 6 03:29:04 PST 2011 x86_64
gcc:   4.4.3
arch:  1288 48 88 L OMP
play DBUG mp3-util: got approx. duration by CBR extrapolation

Input File     : '../Music/My Maudlin Career/11 Honey in the Sun.mp3'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:05:45.35 = 15229847 samples = 25901.1 CDDA sectors
File Size      : 13.8M
Bit Rate       : 320k
Sample Encoding: MPEG audio (layer I, II or III)
Comments       : 
Title=Honey in the Sun
Artist=Camera Obscura
Album=My Maudlin Career
Tracknumber=11/11
Year=2009
Genre=Indie


Output File    : 'default' (alsa)
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:05:45.35 = 15229847 samples = 25901.1 CDDA sectors
Sample Encoding: 16-bit Signed Integer PCM
Endian Type    : little
Reverse Nibbles: no
Reverse Bits   : no

play INFO sox: effects chain: input      44100Hz 2 channels 16 bits (multi)
play INFO sox: effects chain: output     44100Hz 2 channels 16 bits (multi)
In:2.55% 00:00:08.82 [00:05:36.52] Out:389k  [!=====|=====!] Hd:0.0 Clip:124  
play WARN sox: `alsa' output clipped 124 samples; decrease volume?
Aborted.
jthill@gadabout:~/Music/list/all$ 

----------------------------------------------------------------------

Comment By: Jan Starý (janstary)
Date: 2013-02-02 13:16

Message:
IMHO this has nothing to do with the files being symlinks,
but rather lacking the filename extension.

Why are you naming your files (symlinks) so that they do not have the
extension,
leaving it to sox's magic(5) or autodetection to figure out the format?



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3176073&group_id=10706

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-02 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-02 21:16 [ sox-Bugs-3176073 ] some files unplayable through symlinks SourceForge.net

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).