From: Glenn English <ghe2001@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Re: concat problem
Date: Fri, 22 Sep 2017 19:51:20 +0000 [thread overview]
Message-ID: <CAKS_MTuWS29EE1TmWGLAfBTfZfhN8tPkVgtYGcXwmhxR7rrWzw@mail.gmail.com> (raw)
In-Reply-To: <20170922173416.GA32079@starla>
On Fri, Sep 22, 2017 at 5:34 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Can you play the file back with the "play(1)" command in sox on
> Jessie?
Don't know. The 'big' computer doesn't do sound (yet), so I move the
files around on sneaker net. I do know how long that first file is,
about 7 seconds. I see what I can do to time it.
> Or try converting from AIFF back to mp3, flac, or whatever else
> and see if the Mac can play that...
I already do that (the big uncompressed file is converted to MP3 as
the last step), and the MP3 does the same thing: stops after 7 seconds
> Any other players you can try? I don't have much experience
> with VLC and have never used a Mac.
I could try iTunes...
> Any chance you're hitting a file size limit somewhere? I'm not
> familiar with AIFF, but FLAC supports large files and is lossless, too;
> perhaps try that...
Don't think so. I'm working on "The Girl Who Kicked the Hornet's Nest'
to be sure I process a lot of MP3s. Yesterday, SoX kept saying it
couldn't create a complete AIFF header because the file was too big.
So I cut things down until it quit whining.
It's still small, and SoX just printed out:
-rw-r--r-- 1 ghe ghe 316M Sep 22 13:03 big_file.flac
> What's the exact command?
['sox', '--multi-threaded', '--combine', 'concatenate',
'flacs/1-01HornetIntro.flac', 'flacs/1-02Hornet01a.flac',
'flacs/1-03Hornet01b.flac', 'flacs/1-04Hornet01c.flac',
'flacs/1-05Hornet01d.flac', 'flacs/1-06Hornet01e.flac',
'flacs/1-07Hornet02a.flac', 'flacs/1-08Hornet02b.flac',
'flacs/1-09Hornet02c.flac', 'flacs/1-10Hornet02d.flac',
'flacs/1-11Hornet02e.flac', 'flacs/2-01Hornet02f.flac',
'flacs/2-02Hornet03a.flac', 'flacs/2-03Hornet03b.flac',
'flacs/2-04Hornet03c.flac', 'flacs/2-05Hornet03d.flac',
'flacs/2-06Hornet03e.flac', 'flacs/2-07Hornet04a.flac',
'flacs/2-08Hornet04b.flac', 'flacs/2-09Hornet04c.flac',
'flacs/2-10Hornet04d.flac', 'flacs/2-11Hornet04e.flac',
'flacs/2-12Hornet04f.flac', 'big_file.flac']
That's a Python list printed by Python from after I changed to FLAC a
few minutes ago -- that's what the 'subprocess' method wants to see.
There are no commas in the real thing. I think -- I'm a mild Python
noob too, but nothing like I am with SoX.
> Can you reproduce the problem with smaller initial AIFF source
> files?
Like I said, I've tried that.
> Instead of using the entire long list of AIFF source files, can
> you try only concatenating two of them and see if that's
> successful. (And then move onto 3 files, and 4 files, and so
> on...)
I haven't tried that -- doing it by hand. B (file processing done)
...
FLAC works. On the first 2 files, anyway. Both uncompressed and as an
MP3. I guess the SoX developers were just kidding about the program
working with AIFF.
Thanks very much, Eric. You saved me many hours of frustration.
--
Glenn English
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
next prev parent reply other threads:[~2017-09-22 19:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 16:36 concat problem Glenn English
2017-09-22 17:34 ` Eric Wong
2017-09-22 19:51 ` Glenn English [this message]
2017-09-23 12:33 ` Jan Stary
2017-09-23 20:39 ` Eric Wong
2017-09-26 17:24 ` Glenn English
2017-09-27 11:38 ` Jeremy Nicoll - ml sox users
[not found] ` <CAKS_MTsMDd+_1wt5UJYp0HEDPi8hy1oswUSNNEi=v2i+xMnEMw@mail.gmail.com>
2017-09-28 15:00 ` Glenn English
2017-09-27 14:42 ` Jan Stary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-users
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKS_MTuWS29EE1TmWGLAfBTfZfhN8tPkVgtYGcXwmhxR7rrWzw@mail.gmail.com \
--to=sox-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).