I record a satellite radio station (www.yesterdayusa.com). When I do I record 12 hours at a time. When I download this and then run tydemux to extract just an audio mp3 stream it will fail.
Tried to run tydemux on a 9GB Tivo file. 12 hour file.
Ran the command:
tydemux -s 2 -i /home/forsberg/sound/yusa/070311.ty -a output.mp3 -v /dev/null
Got the following errors a little after half way thru the file.
demux:chunk_check.c:285: Check Chunk: 38627 - Out of Sync with minus 4294961290 ticks - skipping
demux:chunk_check.c:286: Check Chunk: first_tick -2147483357, last_tick 2147477933
This is with 0.5 Beta 2 on Linux (SUSE 9.1)
Problem is time.c at line 257:
It currently is:
time = (((pt[0] & 0x0E) << 29) | (pt[1] << 22) | ((pt[2] & 0xFE) << 14) | (pt[3] << 7) | (pt[4] >> 1));
It should be:
time = ((((ticks_t)pt[0] & 0x0E) << 29) | (pt[1] << 22) | ((pt[2] & 0xFE) << 14) | (pt[3] << 7) | (pt[4] >> 1));
This prevents wrap.
Thanks,
Bruce Forsberg
forsberg@tns.net