|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
repeat problemHi all,
I working on a DVD authoring software that uses sox to repeat/ transform a 2 seconds audio loop. I can't repeat the loop more than 7 times, which returns a 16.1 seconds long audio. If I try repeating 8 times, the result is the same as with 7, strange... (I run sox 14.0.1 on a Gentoo linux, with 3.1 GB free disk space) Any thought welcome ! Thanks / JP My input file: #ffmpeg -i a.wav ... Duration: 00:00:02.0, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s The repeat operations [6,7,8] times: #sox a.wav b.wav repeat 6 && ffmpeg -i b.wav ... Input #0, wav, from 'b.wav': Duration: 00:00:14.1, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s #sox a.wav b.wav repeat 7 && ffmpeg -i b.wav ... Input #0, wav, from 'b.wav': Duration: 00:00:16.1, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s #sox a.wav b.wav repeat 8 && ffmpeg -i b.wav ... Input #0, wav, from 'b.wav': Duration: 00:00:16.1, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sox-users mailing list Sox-users@... https://lists.sourceforge.net/lists/listinfo/sox-users |
|
|
Re: repeat problemNo clues I'm afraid; it works fine for me on Linux 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686. I don't know where your .1 second is coming from either. Hmmm...
$ sox -V -c 2 -2 -r 48000 -n a.wav synth 2 2>&1 | grep SoX sox: SoX v14.0.1 $ sox a.wav b.wav repeat 6 && ffmpeg -i b.wav 2>&1 | grep kb Duration: 00:00:14.0, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s $ sox a.wav b.wav repeat 7 && ffmpeg -i b.wav 2>&1 | grep kb Duration: 00:00:16.0, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s $ sox a.wav b.wav repeat 8 && ffmpeg -i b.wav 2>&1 | grep kb Duration: 00:00:18.0, start: 0.000000, bitrate: 1536 kb/s Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s --- On Tue, 13/5/08, Jean-Pierre Gehrig <jp.gehrig@...> wrote: > From: Jean-Pierre Gehrig <jp.gehrig@...> > Subject: [SoX-users] repeat problem > To: sox-users@... > Date: Tuesday, 13 May, 2008, 7:31 AM > Hi all, > > I working on a DVD authoring software that uses sox to > repeat/ > transform a 2 seconds audio loop. > > I can't repeat the loop more than 7 times, which > returns a 16.1 > seconds long audio. If I try repeating 8 times, the result > is the same > as with 7, strange... > > (I run sox 14.0.1 on a Gentoo linux, with 3.1 GB free disk > space) > > Any thought welcome ! > Thanks / JP > > My input file: > > #ffmpeg -i a.wav > ... > Duration: 00:00:02.0, start: 0.000000, bitrate: 1536 > kb/s > Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 > kb/s > > The repeat operations [6,7,8] times: > > #sox a.wav b.wav repeat 6 && ffmpeg -i b.wav > ... > Input #0, wav, from 'b.wav': > Duration: 00:00:14.1, start: 0.000000, bitrate: 1536 > kb/s > Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 > kb/s > > #sox a.wav b.wav repeat 7 && ffmpeg -i b.wav > ... > Input #0, wav, from 'b.wav': > Duration: 00:00:16.1, start: 0.000000, bitrate: 1536 > kb/s > Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 > kb/s > > #sox a.wav b.wav repeat 8 && ffmpeg -i b.wav > ... > Input #0, wav, from 'b.wav': > Duration: 00:00:16.1, start: 0.000000, bitrate: 1536 > kb/s > Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 > kb/s > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sox-users mailing list > Sox-users@... > https://lists.sourceforge.net/lists/listinfo/sox-users Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sox-users mailing list Sox-users@... https://lists.sourceforge.net/lists/listinfo/sox-users |
| Free Forum Powered by Nabble | Forum Help |