Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   sc_trans xfade strange behaviour with <APIC>? (http://forums.winamp.com/showthread.php?t=332576)

helios399 18th July 2011 12:20

sc_trans xfade strange behaviour with <APIC>?
 
HI ALL,

I have a problem with the xfade parameter in configuration file of sc_trans
Some files don't fade in/out...

sc_trans.conf
xfade=5
xfadethreshold=30

After many tests I noticed that the cover art include the ID3V2 ( <APIC> tag) causes a strange behaviour of crossfading.

Debug sc_trans

Quote:

I msg:[DECODE] Next file is /var/www/files/cat_1980/Brothers - Jazz.mp3
I msg:[ID3V2] version 3.0 tagsize=30750 unsync=0 xheader=0
I msg:[DECODE] Samp Brothers - Jazz Di Mezzaluna (Club Shot).mp3::14020742::350.519
I msg:[ID3V2] version 3.0 tagsize=30750 unsync=0 xheader=0
I msg:[ID3V2] version 2.0 tagsize=33841 unsync=0 xheader=0
E msg:[ID3V2] version 2 not supported
W msg:[MP3 DECODE] 719652250 Could not calculate file length
I msg:[ID3V2] version 3.0 tagsize=35746 unsync=0 xheader=0
I msg:[ID3V2] version 3.0 tagsize=10346 unsync=0 xheader=0
I msg:[ID3V2] version 2.0 tagsize=33841 unsync=0 xheader=0
E msg:[ID3V2] version 2 not supported
W msg:[MP3 DECODE] 1841253969 Could not calculate file length
E msg:Failure converting filename to metadata Premature end of data (*\)
E msg:Failure converting filename to metadata Premature end of data (*\)
I msg:[UVOX2] 1993439458 Sending metadata 3902[<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<APIC mime="image/jpeg" id="Brothers-Jazz" type="1">/9//4AA...
...
.../4E/8/9/ef//Z</APIC>
<COMM language="eng">RADIOS TEST</COMM>
<TALB>Digestive After Dinner Dance</TALB>
<TCON> Jazz</TCON>
<TDRC><year>2005</year></TDRC>
<TIT2>Jazz)</TIT2>
<TPE1> Brothers</TPE1>
<TYER>2005</TYER>
<extension>
<title seq="1">Jazz</title>
<title seq="2">Nina Simone - Westwind</title>
<title seq="3">True</title>
<title seq="4">Wake Up</title>
<soon>Nina Simone - Westwind</soon>
</extension>
</metadata>

When I remove the <APIC> tag, the fade in/out is functionnal again.
and errors E (debug) messages disappear

Is this the normal behaviour of sc_trans ?

Thanks

P

DrO 18th July 2011 12:33

it's not the normal behaviour with the current version of sc_trans (as i'm guessing you're using build 39 or 40 as the <APIC> tag in the metadata was changed to be done differently with build 48 to prevent such issues (though still needs to be finished off to relay it correctly for sources).

only thing is that AAC DJ support and absolute playlist handling on non-Windows versions of the current sc_trans doesn't work (if you give that ago).

-daz

helios399 18th July 2011 13:21

You're right I use drop 40
I did'nt see the 2.48 release of sc_trans, great news

Many thanks

Have a nice day

P


All times are GMT. The time now is 14:45.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.