SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

JAIKOZ doesn't like some M4A's

I need to use VideoReDo to batch several hundred files, to strip audio from video files. The authors are very savy with media formats so I find it hard to believe they aren’t generating proper files; but the audio only M4A files I get error in Jaikoz:

“Unable to load… not recognized as audio files…”

They work in fine in mediamonkey and SoundForge, it sure would be good if I could include Jaikoz in the workflow of this sort.

Could you look at sample attatched m4a and see if you spot the issue?

Thanks.

Found the issue

Files created with VideoReDo use a 64bit length for length of Mdat atom, jaudiotagger does nto have support for this.

When I use AtomicParsley it outputs the following:

Atom ftyp @ 0 of size: 24, ends @ 24
Atom mdat @ 24 of size: 464689 (^), ends @ 0
                         (^)denotes a 64-bit atom length
Atom moov @ 464713 of size: 5707, ends @ 470420
     Atom mvhd @ 464721 of size: 108, ends @ 464829
     Atom iods @ 464829 of size: 27, ends @ 464856
     Atom trak @ 464856 of size: 5564, ends @ 470420
         Atom tkhd @ 464864 of size: 92, ends @ 464956
         Atom mdia @ 464956 of size: 5464, ends @ 470420
             Atom mdhd @ 464964 of size: 32, ends @ 464996
             Atom hdlr @ 464996 of size: 68, ends @ 465064
             Atom minf @ 465064 of size: 5356, ends @ 470420
                 Atom smhd @ 465072 of size: 16, ends @ 465088
                 Atom dinf @ 465088 of size: 36, ends @ 465124
                     Atom dref @ 465096 of size: 28, ends @ 465124
                 Atom stbl @ 465124 of size: 5296, ends @ 470420
                     Atom stsd @ 465132 of size: 100, ends @ 465232
                         Atom mp4a @ 465148 of size: 84, ends @ 465232
                             Atom esds @ 465184 of size: 48, ends @ 465232
                     Atom stts @ 465232 of size: 24, ends @ 465256
                     Atom stsc @ 465256 of size: 28, ends @ 465284
                     Atom stsz @ 465284 of size: 5116, ends @ 470400
                     Atom stco @ 470400 of size: 20, ends @ 470420

------------------------------------------------------
Total size: 470420 bytes; 21 atoms total. AtomicParsley version: 0.9.0 (utf16)
Media data: 464689 bytes; 5731 bytes all other atoms (1.218% atom overhead).
Total free atom space: 0 bytes; 0.000% waste.
------------------------------------------------------

But cannot read file because jaikoz/jaudiotagger doesn’t understand length of mdat atom, because using 64bit data length.

I have raised issue on the underlying tagging library used by both Jaikoz and SongKong - https://bitbucket.org/ijabz/jaudiotagger/issues/216/cannot-read-mp4s-when-mdat-length-is

I have fixed this, it was because your s/w was using a 64bit value for the audio data length rather than the more standard 32bit.

Please try replacing your jaudiotagger.jar file in your Jaikoz lib folder with this one

http://www.jthink.net/jaikoz/scratch/jaudiotagger.jar

OUTRAGEOUS! I had to wait a full half day for my answers!!!

Seriously, you’re one of the best. And may I extend to title of ‘media file savvy’ to you as well. You nailed it. ISSUE RESOLVED.

Thanks again

Oops, celebrated too quickly.

M4a (64bit) file OPENS in jaikoz now, but can’t save basic changes to tags, error window:

“Unable to save song… because of following error… org.jaudiotagger.tag.TAG.setField(Lorg/jaudiotagger/tag/FieldKey;Ljava/lang/String;)V”

Hmm,maybe there is some incompatability but it works for me. Please email your support files. I do plan to get a new bugfix Jaikoz release out in the next few weeks

Can you try the new version of Jaikoz please and see if now works for you.