Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#42103 - 17/10/2001 17:58 Timecode issues
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

When selecting different timecodes, I find very strange behavior. Song durations appear to be very far off from their actual times. Examples:

Pink Floyd: Hey You (The Wall) - 35:37
Kate Bush: Jig Of Life (Hounds Of Love) - 25:37

Note: it also looks like these files are being tagged as fixed rate stereo 32kbps, when they are actually a much higher quality VBR.

It makes my playlist remaining time very interesting... I am shooting for multi-year playlists!!!

And, just in case I didn't say it before in the other threads - WOW!!!

Paul G.
SN# 090000587 (96GB Smoke)
SN# 030103046 (10GB Blue - Emergency Spare)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#42104 - 17/10/2001 18:05 Re: Timecode issues [Re: pgrzelak]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
See if it's bad VBR headers. In the Riocar.org FAQ there is a link to a VBR-header repair tool, try that.

Note that even if it is the file's fault, you should hang on to a copy of the "bad" file in case Empeg wants to look at it.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#42105 - 17/10/2001 18:07 Re: Timecode issues [Re: tfabris]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

I will check into it. But until I get sync capabilities again, I am not going to worry about that one much. I will download with displayserver in the morning and experiment.

Paul G.
SN# 090000587 (96GB Smoke)
SN# 030103046 (10GB Blue - Emergency Spare)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#42106 - 18/10/2001 06:54 Re: Timecode issues [Re: pgrzelak]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Now in the office. I took one track that I knew was bad (the Pink Floyd, Hey You track) and ran it though some stuff.

mp3Trim gives it a clean bill of health - correct times and no errors in any of the frames.
vbrfix claims it fixed something, but the files look identical
encspot says it was an fhG encoder (Help. I have no idea if this is good or bad.) Bitrate 183kbps, Green quality.

Emplode also reads the time incorrectly.

I will continue to experiment.

Paul G.
SN# 090000587 (96GB Smoke)
SN# 030103046 (10GB Blue - Emergency Spare)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#42107 - 18/10/2001 07:16 Re: Timecode issues [Re: pgrzelak]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
What does my Linux mp3tool think of the file,
and does the --repair option have any effect on
how the empeg player treats it?

http://rtr.ca/empeg/


Top
#42108 - 18/10/2001 07:32 Re: Timecode issues [Re: mlord]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Is that tool available to run on the empeg itself? I do not have another Linux box to test with.

I tried doing a fix on it, reuploaded it, and the time looks correct. This implies bad headers, but mp3trim did not detect anything wrong.

(If I have to download everything, run a fix and reupload, this will not be done for a very long time... That would take a very long time. Perhaps when a new builder comes out, with official support for larger hard drives...)

Meanwhile, I have never had this problem on previous releases. The times appeared correct in emplode (if I remember correctly).

Paul G.
SN# 090000587 (96GB Smoke)
SN# 030103046 (10GB Blue - Emergency Spare)

Edited by pgrzelak on 18/10/01 03:42 PM.

_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#42109 - 19/10/2001 22:30 Re: Timecode issues [Re: pgrzelak]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
Repairing the mp3 file headers on the empeg would be a real time saver!! The only problem is how do you force an update of the (*1,*0) file (you know the one with the tag info in it - can't remember which one it is at this time of the morning)? Forcing a database update is no problem though. Would love to be able to do this as I encoded a heap of music using VBR in MusicMatch and they all seem to have broken headers (or at least empode/the empeg doesn't read them properly). Would actually be nice to be able to use Marks mp3tool on the empeg to strip out all that unwanted/space wasting data from the mp3s too.

(list 6284, Mk1 S/N 00299 4GB blue [for sale]. Mk2 S/N 080000094 26GB blue)
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#42110 - 20/10/2001 03:57 Re: Timecode issues [Re: Derek]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Would actually be nice to be able to use Marks mp3tool on the empeg to strip out all that unwanted/space wasting data from the mp3s too.

Well, it is a Linux tool, so, in principle, why not? Memory footprint? One can add swap (16MB by default, I think; can Debian mkswap make swap in an ordinary file?). Of course, the things will become quite slow then...

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#42111 - 20/10/2001 04:19 Re: Timecode issues [Re: bonzi]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
that's OK, I'd be quite happy to set up a batch job and let it run over night if need be. Don't have access to another Linux box to run it on, although I could try out the Windoze tool that Tony mentions in the FAQ. Then I would have to do every mp3 by hand thought -> no fun!

(list 6284, Mk1 S/N 00299 4GB blue [for sale]. Mk2 S/N 080000094 26GB blue)
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#42112 - 20/10/2001 09:42 Re: Timecode issues [Re: bonzi]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
can Debian mkswap make swap in an ordinary file?

Yes, Linux can use swap files too. I see no reason that that functionality would have been removed from mkswap for arm.

Normally you avoid them as they're slower than a separate partition.

/Michael

_________________________
/Michael

Top
#42113 - 21/10/2001 02:27 Re: Timecode issues [Re: mtempsch]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
There's already a swap partition - /dev/hda6

Hugo



Top
#42114 - 21/10/2001 11:04 Re: Timecode issues [Re: altman]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
I thought in addition to /dev/hda6 - it is only some 16MB. mkswap usage shows only device, but I guess it can be a pre-created file in filesystem, as well.

Of course, programs that need three or four times more memory than is physically there won't run particularly fast...

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#42115 - 21/10/2001 11:14 Re: Timecode issues [Re: mlord]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Really, Mark, have you tried to port mp3tool to empeg (I suppose it is character mode app). Would it fit? How about Windows/DOS (or Cygwin)? I am asking because my Linux laptop let out its holly smoke and I am for at least a month more stuck with Win98 (which I must keep on the remaining machine for various reasons) and, of course, empeg itself.

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#42116 - 21/10/2001 13:54 Re: Timecode issues [Re: bonzi]
synergy
enthusiast

Registered: 20/02/2001
Posts: 345

Really, Mark, have you tried to port mp3tool to empeg (I suppose it is character mode app). Would it fit? How about Windows/DOS (or Cygwin)? I am asking because my Linux laptop let out its holly smoke and I am for at least a month more stuck with Win98 (which I must keep on the remaining machine for various reasons) and, of course, empeg itself.


Mark was gracious enough to provide me with the source for mp3tool to compile on the empeg..... unfortunately, it compiles without errors.... but doesn't run "well" at all on the empeg. I'm going to take a closer look at it, but I'm afraid that I won't be able to do much with it.... Mark appears to be a heck of a lot better coder than I was... And unfortunately, I'm more of a manager now a days than a tech... :(

Even if it does get to run, I'm still not sure of what it's effect would be.... How would changing the mp3 file without updating the metadata file effect the DB? Plus, if you have ANY sizable mp3's, better count on adding a fair bit of swap.

_________________________
Synergy [orange]mk2, 42G: [blue] mk2a, 10G[/blue][/green] I tried Patience, but it took too long.

Top
#42117 - 21/10/2001 14:27 Re: Timecode issues [Re: synergy]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
I thought it could perhaps 'repair' my rather numerous (~100) files that either provoke 'Illegal format' error or cause a loud burst of noise, both at the very end. They all pass MP3Trim without it detecting anything wrong (all that I tested, that is), and most of them are CBR files bought from MP3.com, so I have nothing to re-rip and encode.

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#42118 - 21/10/2001 15:36 Re: Timecode issues [Re: bonzi]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Okay, I'll release the source code for mp3tool.c, under GPL.

Look for it on my website shortly.


Top
#42119 - 22/10/2001 03:41 Re: Timecode issues [Re: mlord]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Thanks!

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top