pcutmp3 tool, properly/perfect cut mp3 |
![]() ![]() |
pcutmp3 tool, properly/perfect cut mp3 |
Feb 11 2010, 23:27
Post
#176
|
|
![]() Group: Super Moderator Posts: 9366 Joined: 1-April 04 Member No.: 13167 |
CUE sheets are for indexing CDs and CDs are 44.1kHz, not 48kHz.
-------------------- Everything sounds the same until it is proven otherwise.
|
|
|
|
May 16 2010, 14:40
Post
#177
|
|
|
Group: Members Posts: 47 Joined: 13-December 09 From: Yorkshire Member No.: 75891 |
I fixed mp3 using this tool, but I see the same error again: C:\>java -jar pcutmp3.jar --cue "ASOT.cue" "ASOTfix.mp3" PCutMP3 -- Properly Cut MP3 v0.97.1 scanning "ASOTfix.mp3" ... first frame header = MPEG1 Layer3 192kbps 44100Hz J-Stereo Xing/Info tag present bitrate = 192 kbps (CBR) accurate length = no 321691392 samples (is NOT a multiple of 588) writing "01. A State of Trance - Intro.mp3" ... Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -10 at de.zebee.mpa.ScannedMP3.getInt16(ScannedMP3.java:85) at de.zebee.mpa.ScannedMP3.getInt32(ScannedMP3.java:89) at de.zebee.mpa.ScannedMP3.getFrameFileOfs(ScannedMP3.java:103) at de.zebee.mpa.ScannedMP3.crop(ScannedMP3.java:329) at de.zebee.mpa.MainCLI.main(MainCLI.java:283) I have the same error. I have ran the mp3 through mp3brfix and no errors are found CODE MP3brfix (bit-reservoir-fix) v0.95(beta) © 2003-2005 by ZeBee scanning 01-above_and_beyond_-_trance_around_the_world_300_(di.fm)_(live_at_foru m_hall_moscow)-01-01-2010-tt 1.mp3 ... first frame: MPEG1 Layer3 256kbps 44100Hz J-Stereo Info-Tag present flags: [fc] [bc] [toc] [vs] LAME-Tag present ( LAME ) mp3 frames: 0, CBR (256 kbps) Bit-Res errors: 0 no CRC protected frames found. ready. Any suggestions? |
|
|
|
May 29 2010, 11:00
Post
#178
|
|
|
Group: Members Posts: 47 Joined: 13-December 09 From: Yorkshire Member No.: 75891 |
Managed to get things working.
Is there anyway to have a batch file which puts the cut files into a new folder which is has the Album Name? My current batch looks like this (which I copied from this thread) CODE @echo off
title pcutmp3 cd /d "C:\pcutmp3\" java -jar pcutmp3.jar --cue %1 --dir "%~dp1\ pause exit |
|
|
|
Nov 2 2010, 22:14
Post
#179
|
|
|
Group: Members Posts: 1361 Joined: 25-November 02 Member No.: 3873 |
I'm on Win 7 64 bit, and get the following error
QUOTE C:\>java -jar pcutmp3.jar 'java' is not recognized as an internal or external command, operable program or batch file. using CODE pcutmp3.jar --cue 1.cue cuts the files, but I don't get any output info.I also tried two versions hosted on the website and they don't work at all, I get the same error as the poster above. Any idea? -------------------- --alt-presets are there for a reason! These other switches DO NOT work better than it, trust me on this.
LAME + Joint Stereo doesn't destroy 'Stereo' |
|
|
|
Nov 3 2010, 10:24
Post
#180
|
|
|
Group: Members Posts: 6 Joined: 17-December 08 Member No.: 64598 |
I'm on Win 7 64 bit, and get the following error QUOTE C:\>java -jar pcutmp3.jar 'java' is not recognized as an internal or external command, operable program or batch file. using CODE pcutmp3.jar --cue 1.cue cuts the files, but I don't get any output info.I also tried two versions hosted on the website and they don't work at all, I get the same error as the poster above. Any idea? Hmmm, are you sure you have Java installed? The error you get is that the Windows command prompt doesn't find any executable named 'java'. |
|
|
|
Nov 3 2010, 16:54
Post
#181
|
|
![]() Group: Developer Posts: 3036 Joined: 2-December 07 Member No.: 49183 |
Win+Break -> Advanced system settings -> Environment Variables -> edit PATH variable: add
CODE c:\Program Files\Java\jre6\bin to itOr "c:\Program Files (x86)\Java\jre6\bin" if you have 32-bit JRE installed. This post has been edited by lvqcl: Nov 3 2010, 17:00 |
|
|
|
Jan 18 2011, 22:14
Post
#182
|
|
|
Group: Members Posts: 47 Joined: 13-December 09 From: Yorkshire Member No.: 75891 |
Is there any update to jid3 which will write more than the usual artist, title, album tags?
It would be great to get the discnumber and year/date tags and whatever else is contained in the original mp3 to be written to the split tracks also. |
|
|
|
Feb 3 2011, 18:10
Post
#183
|
|
|
Group: Members Posts: 1 Joined: 3-February 11 From: UK Member No.: 87893 |
I cant believe this program is dieing, Its the only tool on the web that i could find that cuts LAME encoded mp3s accuratly and gaplessly.
Its a hidden gem really, people would pay for this. I would it if it had a gui and the bugs were worked out. Simply because its one of a kind. I cant believe its left half complete. madness. Considering by the looks of it, its been around years. I only found this last month. This post has been edited by J0sHi: Feb 3 2011, 18:30 |
|
|
|
Feb 3 2011, 22:21
Post
#184
|
|
![]() Group: Super Moderator Posts: 3268 Joined: 26-July 02 From: princegeorge.ca Member No.: 2796 |
It's not dying. It works fine. The source code is available if anyone wants to continue it or alter it. The reality is that it works so well that no changes have been needed.
This post has been edited by Canar: Feb 3 2011, 22:22 -------------------- (atrix|(fb2k->e-mu 0404 usb|audio 8 dj))->hd280|jvc ha-fx35-b
|
|
|
|
Feb 5 2011, 14:56
Post
#185
|
|
|
Group: Members Posts: 47 Joined: 13-December 09 From: Yorkshire Member No.: 75891 |
Something is wrong with new beta version (notice totally wrong filesize and cuts in Beta version): Correctly done: CODE PCutMP3 -- Properly Cut MP3 v0.97.1 scanning "C:\Temp\rip\CDImage.mp3" ... first frame header = MPEG1 Layer3 128kbps 44100Hz J-Stereo Xing/Info and LAME tag present bitrate = 173.64375 kbps (VBR) accurate length = yes 211450092 samples (is a multiple of 588) writing "C:\Temp\rip\01. Hongrie - Franz Liszt (1811-1886) - La Lugubre Gondole.mp3" ... writing "C:\Temp\rip\02. Hongrie - Franz Liszt (1811-1886) - Rhapsodie hongroise n░6.mp3" ... writing "C:\Temp\rip\03. Boheme - Antonin Dvorak (1841-1904) - Quatuor Americain, III. Molto vivace.mp3" ... writing "C:\Temp\rip\04. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3" ... writing "C:\Temp\rip\05. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3" ... writing "C:\Temp\rip\06. Pays Nordiques - Edvard Grieg (1843-1907) - Sonate pour violon et piano, III. Allegro animato.mp3" ... writing "C:\Temp\rip\07. Pays Nordiques - Jean Sibelius (1865-1957) - Quatuor a cordes Voces intimae.mp3" ... writing "C:\Temp\rip\08. Russie - Modeste Moussorgski (1839-1881) - Tableaux d'une exposition, La Grande Porte ....mp3" ... writing "C:\Temp\rip\09. Russie - Piotr Ilyich Tchaikivski (1840-1893) - Symphonie n░5 en mi mineur, III. Valse....mp3" ... writing "C:\Temp\rip\10. Espagne - Issac Albeniz (1860-1909) - Asturias.mp3" ... writing "C:\Temp\rip\11. Francophonie - Cesar Franck (1822-1890) - Symphonie en re mineur, III. Allegro non troppo.mp3" ... writing "C:\Temp\rip\12. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, I. Ouverture.mp3" ... writing "C:\Temp\rip\13. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, IV. Carillon.mp3" ... writing "C:\Temp\rip\14. Francophonie - Camille Saint-Saens (1835-1921) - Trio n░I op.18 en Fa majeur, III. Scherzo.mp3" ... writing "C:\Temp\rip\15. Francophonie - Camille Saint-Saens (1835-1921) - Symphonie n░3 avec orgue en ut mineur op.78....mp3" .. . done. C:\Program Files\foobar2000>cd\ C:\>cd temp\rip C:\Temp\rip>dir Volume in drive C has no label. Volume Serial Number is E88F-2219 Directory of C:\Temp\rip 13.08.2009 20:10 <DIR> . 13.08.2009 20:10 <DIR> .. 13.08.2009 20:10 12.015.104 01. Hongrie - Franz Liszt (1811-1886) - La Lugubre Gondole.mp3 13.08.2009 20:10 7.675.667 02. Hongrie - Franz Liszt (1811-1886) - Rhapsodie hongroise n°6.mp3 13.08.2009 20:10 5.410.620 03. Boheme - Antonin Dvorak (1841-1904) - Quatuor Americain, III. Molto vivace.mp3 13.08.2009 20:10 3.091.070 04. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3 13.08.2009 20:10 2.329.955 05. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3 13.08.2009 20:10 6.944.897 06. Pays Nordiques - Edvard Grieg (1843-1907) - Sonate pour violon et piano, III. Allegro animato.mp3 13.08.2009 20:10 3.828.923 07. Pays Nordiques - Jean Sibelius (1865-1957) - Quatuor a cordes Voces intimae.mp3 13.08.2009 20:10 5.975.041 08. Russie - Modeste Moussorgski (1839-1881) - Tableaux d'une exposition, La Grande Porte ....mp3 13.08.2009 20:10 8.190.068 09. Russie - Piotr Ilyich Tchaikivski (1840-1893) - Symphonie n°5 en mi mineur, III. Valse....mp3 13.08.2009 20:10 9.098.676 10. Espagne - Issac Albeniz (1860-1909) - Asturias.mp3 13.08.2009 20:10 14.067.179 11. Francophonie - Cesar Franck (1822-1890) - Symphonie en re mineur, III. Allegro non troppo.mp3 13.08.2009 20:10 8.707.708 12. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, I. Ouverture.mp3 13.08.2009 20:10 5.716.780 13. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, IV. Carillon.mp3 13.08.2009 20:10 4.293.268 14. Francophonie - Camille Saint-Saens (1835-1921) - Trio n°I op.18 en Fa majeur, III. Scherzo.mp3 13.08.2009 20:10 6.761.159 15. Francophonie - Camille Saint-Saens (1835-1921) - Symphonie n°3 avec orgue en ut mineur op.78....mp3 13.08.2009 20:01 2.764 CDImage.cue 25.12.2007 21:06 104.075.161 CDImage.mp3 17 File(s) 208.184.040 bytes 2 Dir(s) 330.037.747.712 bytes free C:\Temp\rip> Badly done: CODE PCutMP3 -- Properly Cut MP3 v0.98 BETA scanning "C:\Temp\rip\CDImage.mp3" ... first frame header = MPEG1 Layer3 128kbps 44100Hz J-Stereo Xing/Info and LAME tag present bitrate = 173.64375 kbps (VBR) accurate length = yes 211450092 samples (is a multiple of 588) writing "C:\Temp\rip\1. Hongrie - Franz Liszt (1811-1886) - La Lugubre Gondole.mp3" ... writing "C:\Temp\rip\2. Hongrie - Franz Liszt (1811-1886) - Rhapsodie hongroise n░6.mp3" ... writing "C:\Temp\rip\3. Boheme - Antonin Dvorak (1841-1904) - Quatuor Americain, III. Molto vivace.mp3" ... writing "C:\Temp\rip\4. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3" ... writing "C:\Temp\rip\5. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3" ... writing "C:\Temp\rip\6. Pays Nordiques - Edvard Grieg (1843-1907) - Sonate pour violon et piano, III. Allegro animato.mp3" ... writing "C:\Temp\rip\7. Pays Nordiques - Jean Sibelius (1865-1957) - Quatuor a cordes Voces intimae.mp3" ... writing "C:\Temp\rip\8. Russie - Modeste Moussorgski (1839-1881) - Tableaux d'une exposition, La Grande Porte ....mp3" ... writing "C:\Temp\rip\9. Russie - Piotr Ilyich Tchaikivski (1840-1893) - Symphonie n░5 en mi mineur, III. Valse....mp3" ... writing "C:\Temp\rip\10. Espagne - Issac Albeniz (1860-1909) - Asturias.mp3" ... writing "C:\Temp\rip\11. Francophonie - Cesar Franck (1822-1890) - Symphonie en re mineur, III. Allegro non troppo.mp3" ... writing "C:\Temp\rip\12. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, I. Ouverture.mp3" ... writing "C:\Temp\rip\13. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, IV. Carillon.mp3" ... writing "C:\Temp\rip\14. Francophonie - Camille Saint-Saens (1835-1921) - Trio n░I op.18 en Fa majeur, III. Scherzo.mp3" ... writing "C:\Temp\rip\15. Francophonie - Camille Saint-Saens (1835-1921) - Symphonie n░3 avec orgue en ut mineur op.78....mp3" .. . done. C:\Program Files\foobar2000>cd\ C:\Temp\rip>dir Volume in drive C has no label. Volume Serial Number is E88F-2219 Directory of C:\Temp\rip 13.08.2009 20:01 <DIR> . 13.08.2009 20:01 <DIR> .. 13.08.2009 20:01 12.015.147 1. Hongrie - Franz Liszt (1811-1886) - La Lugubre Gondole.mp3 13.08.2009 20:01 827 10. Espagne - Issac Albeniz (1860-1909) - Asturias.mp3 13.08.2009 20:01 78.605.197 11. Francophonie - Cesar Franck (1822-1890) - Symphonie en re mineur, III. Allegro non troppo.mp3 13.08.2009 20:01 8.707.751 12. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, I. Ouverture.mp3 13.08.2009 20:01 5.716.823 13. Francophonie - Georges Bizet (1838-1875) - L'Arlesienne, IV. Carillon.mp3 13.08.2009 20:01 4.293.311 14. Francophonie - Camille Saint-Saens (1835-1921) - Trio n°I op.18 en Fa majeur, III. Scherzo.mp3 13.08.2009 20:01 6.761.202 15. Francophonie - Camille Saint-Saens (1835-1921) - Symphonie n°3 avec orgue en ut mineur op.78....mp3 13.08.2009 20:01 957 2. Hongrie - Franz Liszt (1811-1886) - Rhapsodie hongroise n°6.mp3 13.08.2009 20:01 25.097.269 3. Boheme - Antonin Dvorak (1841-1904) - Quatuor Americain, III. Molto vivace.mp3 13.08.2009 20:01 3.091.113 4. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3 13.08.2009 20:01 1.017 5. Boheme - Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L....mp3 13.08.2009 20:01 37.457.144 6. Pays Nordiques - Edvard Grieg (1843-1907) - Sonate pour violon et piano, III. Allegro animato.mp3 13.08.2009 20:01 989 7. Pays Nordiques - Jean Sibelius (1865-1957) - Quatuor a cordes Voces intimae.mp3 13.08.2009 20:01 47.256.154 8. Russie - Modeste Moussorgski (1839-1881) - Tableaux d'une exposition, La Grande Porte ....mp3 13.08.2009 20:01 1.017 9. Russie - Piotr Ilyich Tchaikivski (1840-1893) - Symphonie n°5 en mi mineur, III. Valse....mp3 13.08.2009 20:01 2.764 CDImage.cue 25.12.2007 21:06 104.075.161 CDImage.mp3 17 File(s) 333.083.843 bytes 2 Dir(s) 330.179.977.216 bytes free C:\Temp\rip> CUE file: CODE REM GENRE Classical REM DATE 2005 REM DISCID ED12BA0F PERFORMER "Various Artists" TITLE "Century 2 - L'eveil musical des Nations (vol 17)" FILE "CDImage.mp3" WAVE TRACK 01 AUDIO TITLE "Franz Liszt (1811-1886) - La Lugubre Gondole" PERFORMER "Hongrie" FLAGS DCP INDEX 01 00:00:00 TRACK 02 AUDIO TITLE "Franz Liszt (1811-1886) - Rhapsodie hongroise n°6" PERFORMER "Hongrie" FLAGS DCP INDEX 01 09:31:65 TRACK 03 AUDIO TITLE "Antonin Dvorak (1841-1904) - Quatuor Americain, III. Molto vivace" PERFORMER "Boheme" FLAGS DCP INDEX 00 16:09:32 INDEX 01 16:10:53 TRACK 04 AUDIO TITLE "Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L..." PERFORMER "Boheme" FLAGS DCP INDEX 01 20:08:28 TRACK 05 AUDIO TITLE "Antonin Dvorak (1841-1904) - Melodies, Chants du Manuscrit de Dvur Kralove, L..." PERFORMER "Boheme" FLAGS DCP INDEX 01 22:45:29 TRACK 06 AUDIO TITLE "Edvard Grieg (1843-1907) - Sonate pour violon et piano, III. Allegro animato" PERFORMER "Pays Nordiques" FLAGS DCP INDEX 00 24:42:29 INDEX 01 24:45:34 TRACK 07 AUDIO TITLE "Jean Sibelius (1865-1957) - Quatuor a cordes Voces intimae" PERFORMER "Pays Nordiques" FLAGS DCP INDEX 01 29:56:54 TRACK 08 AUDIO TITLE "Modeste Moussorgski (1839-1881) - Tableaux d'une exposition, La Grande Porte ..." PERFORMER "Russie" FLAGS DCP INDEX 00 32:42:50 INDEX 01 32:46:49 TRACK 09 AUDIO TITLE "Piotr Ilyich Tchaikivski (1840-1893) - Symphonie n°5 en mi mineur, III. Valse..." PERFORMER "Russie" FLAGS DCP INDEX 01 38:02:63 TRACK 10 AUDIO TITLE "Issac Albeniz (1860-1909) - Asturias" PERFORMER "Espagne" FLAGS DCP INDEX 00 43:54:31 INDEX 01 43:57:58 TRACK 11 AUDIO TITLE "Cesar Franck (1822-1890) - Symphonie en re mineur, III. Allegro non troppo" PERFORMER "Francophonie" FLAGS DCP INDEX 00 50:39:35 INDEX 01 50:43:10 TRACK 12 AUDIO TITLE "Georges Bizet (1838-1875) - L'Arlesienne, I. Ouverture" PERFORMER "Francophonie" FLAGS DCP INDEX 01 60:46:52 TRACK 13 AUDIO TITLE "Georges Bizet (1838-1875) - L'Arlesienne, IV. Carillon" PERFORMER "Francophonie" FLAGS DCP INDEX 01 67:22:07 TRACK 14 AUDIO TITLE "Camille Saint-Saens (1835-1921) - Trio n°I op.18 en Fa majeur, III. Scherzo" PERFORMER "Francophonie" FLAGS DCP INDEX 01 71:34:30 TRACK 15 AUDIO TITLE "Camille Saint-Saens (1835-1921) - Symphonie n°3 avec orgue en ut mineur op.78..." PERFORMER "Francophonie" FLAGS DCP INDEX 01 75:08:17 Command line: cmd /k "java.exe -jar "C:\Program Files\foobar2000\utils\pcutmp3.jar" --cue "$directory_path(%path%)\%filename%.cue" --dir "$directory_path(%path%)" "$directory_path(%path%)\%filename%.mp3"" Can some developer comment this? Did you ever figure this one out? I seem to be having a similar issue though this is with 0.97.1 and 0.98 BETA. The cuesheet loads and plays fine in foobar but when I split all the track lengths are completely different and wrong. |
|
|
|
Feb 5 2011, 17:31
Post
#186
|
|
|
Group: Members Posts: 47 Joined: 13-December 09 From: Yorkshire Member No.: 75891 |
It appears the issue is related to 48hz encoded livesets I have been trying to split, which the progam does not support correctly.
|
|
|
|
Feb 8 2011, 19:10
Post
#187
|
|
|
Group: Members Posts: 56 Joined: 29-February 04 Member No.: 12359 |
HI, I'm using the pcutmp3 095b that is embedded in gui 0.3. Is there any version of the gui that comes with pcutmp3 0.98? thanks in advance.
|
|
|
|
Jul 5 2011, 14:32
Post
#188
|
|
|
Group: Members Posts: 22 Joined: 16-September 08 Member No.: 58347 |
|
|
|
|
Mar 7 2012, 17:16
Post
#189
|
|
|
Group: Members Posts: 1 Joined: 4-March 12 Member No.: 97555 |
ohai
1st: thanks for this tool 2nd: no matter what i cut, the mp3 tags don't show up correctly in jetaudio. other plyayers tested (just to view the tags): tcpmp -> same problem wmp 11 -> same left is (white background) what totalcommander shows, the normal file names right is (gray background) what the players shows i think it's maybe some unicode problem, specifically jid3.jar-related, but i'm not sure thanks in advance for any help --------------------------- +question: does pcutmp3 append gaps by default? if not, how can i make it so? This post has been edited by AdamBast: Mar 7 2012, 17:18 |
|
|
|
Mar 21 2012, 21:28
Post
#190
|
|
![]() Group: Members Posts: 42 Joined: 22-May 03 From: Besancon, France Member No.: 6749 |
Hello.
I recently had to use pcutmp3. This is a wonderful program, seems to be the only one on the web to achieve true gapeless cuting. Unfortunately, the mp3 was 48Khz and I bumped into the same bug some of you entountered. I made a quick fix to pcutmp3, thanks for putting in on google code. Anyway, here is my patch: (I also corrected the leading 0 in track number) CODE Index: de/zebee/mpa/Track.java =================================================================== --- de/zebee/mpa/Track.java (revision 28) +++ de/zebee/mpa/Track.java (working copy) @@ -6,8 +6,14 @@ private String title; private int trackNumber; + /* + * start sector. One sector = 1/75th of a second + */ private long startSector; + /* + * end sector. One sector = 1/75th of a second + */ private long endSector; public Track() { Index: de/zebee/mpa/MainCLI.java =================================================================== --- de/zebee/mpa/MainCLI.java (revision 28) +++ de/zebee/mpa/MainCLI.java (working copy) @@ -257,6 +257,9 @@ outDir = null; } + int samplingFrequencyHz = scannedMP3.getSamplingFrequency(); + int samplesPerSector = samplingFrequencyHz / 75; + for (int i = 0; i < cueFile.getNumberTracks(); i++) { Track t = cueFile.getTrack(i); @@ -274,8 +277,8 @@ FileOutputStream fops = new FileOutputStream(fn); try { - scannedMP3.crop(t.getStartSector(), t.getEndSector(), new FileInputStream( - srcFileFile), fops); + scannedMP3.crop(t.getStartSector() * samplesPerSector, t.getEndSector() + * samplesPerSector, new FileInputStream(srcFileFile), fops); } finally { fops.close(); } @@ -338,6 +341,9 @@ break; } case 'n': { + if (Integer.parseInt(trackNo) < 10) { + sb.append("0"); + } sb.append(trackNo); break; } @@ -463,7 +469,7 @@ else if (token.equals("index")) { try { int idx = Integer.parseInt(st.nextToken()); - long smp = MSFstring2sector(st.nextToken()) * 588L; + long smp = MSFstring2sector(st.nextToken()); if (idx == 1) { if (currentTrack != null) { I did NOT change the version number, only the main maintener should do it, and release another compiled jar. I would be glad SebastianG or senab can review the patch and commit it to the code. I only tested it with a 99 track 44.1 Khz mp3 and 99 track 48 Khz mp3. (Did not test other layers). Hope it can be useful. |
|
|
|
Mar 27 2012, 04:22
Post
#191
|
|
![]() Group: Members Posts: 65 Joined: 17-November 09 From: Canada Member No.: 75012 |
I ran into a 48khz file today and came here to ask about it. Looks like i'm not alone with this problem, and it looks like people are trying to resolve the problem (thanks megar!).
I have no knowledge on how to compile jar files though, so i'll second megar's request that the code be checked and hopefully accepted and released. Thanks. |
|
|
|
Mar 27 2012, 15:48
Post
#192
|
|
![]() Group: Members Posts: 42 Joined: 22-May 03 From: Besancon, France Member No.: 6749 |
I uploaded a precompiled pcutmp3.jar here : https://niki.atomas.com/files/pcutmp3/
It includes the source code changes from the 0.98beta release. Changelog: - [fix] support for 48Khz mp3 - [fix] fix the leading 0 in %n scheme - [fix] don't print exception if no file given - [new feature] --split-in N : to cut a mp3 in N equal parts - [new feature] --split-every N : to cut a mp3 every N seconds. - [change] jid3.jar is now bundled Please do not spread it, I am waiting for the answer from the original authors. Please report if it works......... This post has been edited by megar: Mar 27 2012, 16:07 |
|
|
|
Mar 27 2012, 18:28
Post
#193
|
|
![]() Group: Members Posts: 65 Joined: 17-November 09 From: Canada Member No.: 75012 |
Thanks, megar
The split points are all in the right places now, but there seems to be an issue with the original file's Gapless information. My original had no delay at the beginning of the track, but it looks like a 576 sample delay (LAME's default) is added after a split. So the file is split perfectly, but the length is changed. I'm going to experiment a bit and see what else i can find. |
|
|
|
Mar 27 2012, 19:05
Post
#194
|
|
![]() Group: Members Posts: 42 Joined: 22-May 03 From: Besancon, France Member No.: 6749 |
I think that's the correct behaviour. pcutmp3 add a mp3 frame as the start of the 2nd mp3 with silence information. It is used to fill the bit reservoir. See http://www.hydrogenaudio.org/forums/index....st&p=315678
It is also explained in the first post of the topic. If foobar can play the song without any gap, it is OK, the first frame pcutmp3 create is compensated by a high encoder_delay, but the shown total frames of the songs will be greater. The first song should not be altered, though. I may add a --rejoin option to rebuilt the largemp3 file, but that's another story. This post has been edited by megar: Mar 27 2012, 19:07 |
|
|
|
Jun 25 2012, 17:21
Post
#195
|
|
|
Group: Members Posts: 2 Joined: 25-June 12 Member No.: 100976 |
I am in need of a tool that can split mp3 files using cue sheets on Mac so I came across pcutmp3.
Megar, I tried your version and it worked just fine. However, gapless playback is not 100% accurate. When I import the mp3 files I created with pcutmp3 into iTunes, some of them sound gapless and others have a slight hick-up. Tiny but it's there and noticeable for techno / house mixes. Is there anything I can do to resolve this problem? I already tried enabling the gapless playback setting for each file in iTunes without success. |
|
|
|
Jun 25 2012, 18:23
Post
#196
|
|
![]() Group: Members Posts: 42 Joined: 22-May 03 From: Besancon, France Member No.: 6749 |
Do the generated mp3s play completely gapless on Foobar ?
I don't have iThunes, but I found these two resources: http://www.sturmnet.org/blog/2008/11/06/ma...ayback-nonsense http://manishbansal.wordpress.com/2010/10/...lems-in-itunes/ The second one gives a cookbook to fix mp3 stream / vbr header. It seems iThunes doesn't read the lame tags but try to guess values other way (don't know which way). You may try the cookbook, maybe it will be successful. |
|
|
|
Jun 25 2012, 21:01
Post
#197
|
|
|
Group: Members Posts: 2 Joined: 25-June 12 Member No.: 100976 |
I only have Macs so foobar isn't an option...
Anyway if it's iTunes not following the standards it wouldn't surprise me. I tried several apps including your build of pcutmp3 but with each try, iTunes does not seem to be handling the gapless playback like it should. The results differ and pcutmp3 does seem to be doing the best job but still some tracks have a hick-up. iTunes works great for me on Mac but I guess I should keep mix cd's a single file like I download them, too bad for Last.fm |
|
|
|
Jun 25 2012, 21:24
Post
#198
|
|
![]() Group: Members Posts: 42 Joined: 22-May 03 From: Besancon, France Member No.: 6749 |
Well, I can try to help. If you send me two or three mp3 cutted bu pcutmp3, I can try to rebuild mp3 stream / fix vbr header, then send them back to you. So we will have a clue. In that case, it would means that pcutmp3 does not produce completely good mp3. But I think it's unlikely, because it re-write a (I think) correct mp3 vbr header. You can upload the files on a public upload site and send me the link (by Private Message).
|
|
|
|
Aug 27 2012, 22:36
Post
#199
|
|
![]() Group: Members Posts: 42 Joined: 22-May 03 From: Besancon, France Member No.: 6749 |
Since I got no answer from the author, I decided to fork the project on my Bitbucket account.
It is here : https://bitbucket.org/gbouthenot/pcutmp3/ I do not claim being the original author. I would remove it if the authors ask me to. It's New BSD Licence, so it should be legal, though. The webpage provides a download link for the compiled jar (Megar Build 3), So I will remove Build 2 from here. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 18:06 |