[mpg123-devel] [ mpg123-Bugs-3393801 ] after each about 26h I got code 18
Brought to you by:
sobukus
From: SourceForge.net <no...@so...> - 2011-08-25 09:19:26
|
Bugs item #3393801, was opened at 2011-08-18 13:01 Message generated for change (Comment added) made by nopsoft You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=733194&aid=3393801&group_id=135704 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mpglib Group: 1.13.3 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Janusz Uzycki (nopsoft) Assigned to: Nobody/Anonymous (nobody) Summary: after each about 26h I got code 18 Initial Comment: (DVB) MPEG2-TS stream audio (MPEG1 Layer II) decoding: dumprtp | ts2es -stdin -stdout -pid 403 | mpg123 --stdout --resync-limit -1 - > /dev/null after about 26 hours (tested by 2 weeks - several attempts) I got: [...] ### Error reading TS packet in ts_extract_pid_packet ### Error reading TS packet in ts_extract_pid_packet Note: Illegal Audio-MPEG-Header 0x4b60d817 at offset 2152598041. Note: Trying to resync... Note: Skipped 432 bytes in input. [mpg123.c:665] error: ...in decoding next frame: Error reading the stream. (code 18) It seems it is caused by frame errors (part of TS frames is lost -> MPEG1 frames are cutted) and resync-ing. However the error 18 happens also when resync-limit is set below 0. Any ideas? ---------------------------------------------------------------------- >Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-25 11:19 Message: I have not tested audio output but long processing works great now. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 51380180462. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 51380198320. ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-25 11:09 Message: 1.13.4: Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 43632076428. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 43632094286. and is still working... Thanks a lot! Even for 512kbit/s stream we have 64kB/s. For output 48kHz 16bit stereo 48*4kB/s = 192kB/s - as you noticed it should increasing faster (just decompressed). 2^31 (long) / 192kB/s = 3.1h (over 12h any kind samples) 2^63 (long int) / 192kB/s = 1544444.3 years - I think enough:) By the way I noticed that both 1.13.3 and 1.13.4 return warnings: lfs_alias.c: In function 'mpg123_decode_frame_32': lfs_alias.c:123: warning: passing argument 2 of 'mpg123_decode_frame' from incompatible pointer type mpg123.h:498: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c: In function 'mpg123_framebyframe_decode_32': lfs_alias.c:131: warning: passing argument 2 of 'mpg123_framebyframe_decode' from incompatible pointer type mpg123.h:507: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c: In function 'mpg123_feedseek_32': lfs_alias.c:171: warning: passing argument 4 of 'mpg123_feedseek' from incompatible pointer type mpg123.h:557: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c: In function 'mpg123_index_32': lfs_alias.c:195: warning: passing argument 2 of 'mpg123_index' from incompatible pointer type mpg123.h:575: note: expected 'off_t **' but argument is of type 'long int **' lfs_alias.c:195: warning: passing argument 3 of 'mpg123_index' from incompatible pointer type mpg123.h:575: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c: In function 'mpg123_set_index_32': lfs_alias.c:203: warning: passing argument 2 of 'mpg123_set_index' from incompatible pointer type mpg123.h:583: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c: In function 'mpg123_position_32': lfs_alias.c:211: warning: passing argument 4 of 'mpg123_position' from incompatible pointer type mpg123.h:591: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c:211: warning: passing argument 5 of 'mpg123_position' from incompatible pointer type mpg123.h:591: note: expected 'off_t *' but argument is of type 'long int *' lfs_alias.c: In function 'mpg123_replace_reader_32': lfs_alias.c:235: warning: passing argument 3 of 'mpg123_replace_reader' from incompatible pointer type mpg123.h:1014: note: expected 'off_t (*)(int, off_t, int)' but argument is of type 'long int (*)(int, long int, int)' lfs_alias.c: In function 'mpg123_replace_reader_handle_32': lfs_alias.c:243: warning: passing argument 3 of 'mpg123_replace_reader_handle' from incompatible pointer type mpg123.h:1025: note: expected 'off_t (*)(void *, off_t, int)' but argument is of type 'long int (*)(void *, long int, int)' ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-25 09:39 Message: Isn't negative value effect of printf and "long" format? But ok, I will try with 1.13.4 too. ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2011-08-24 23:42 Message: Thinking twice ... that negative sample count in your log could be a similar effect at another part of mpg123. We're not done with mpg123 1.13.4 yet. ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2011-08-24 23:33 Message: Your recent log reminds me: When thinking about offset overflow, we need to include the _sample_ offsets, too, as they increase much more quickly! Mpg123 needs to check all offset increments for overflow and disable all position smartness on that occasion... this needs careful attention. But for the issue at hand: It's of course no good idea to put the return value of fr->rd->skip_bytes() into the integer ret. The return value is off_t! This is the point where the parser stumbles over an allegedly negative return value. Please have a go with the preliminary http://mpg123/download/mpg123-1.13.4.tar.bz2 ! ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-24 19:34 Message: hmmm... [libmpg123.c:607] debug: read frame [readers.c:622] debug: bc_forget: block 4096 pos 2986 [parse.c:464] debug: trying to get frame 3727872 at 2147494826 [parse.c:987] debug: bitrate index: 10 (192) [parse.c:774] debug: Frame 3727872 fffca400 572, next filepos=2147495402 [readers.c:622] debug: bc_forget: block 4096 pos 3562 [libmpg123.c:1031] debug: tell: 3727872/1 first 0 buffer 0; frame_outs=-458752 [libmpg123.c:610] debug: read of frame 3727872 returned 1 (to_decode=1) at sample -458752 [libmpg123.c:853] debug: got next frame, 1 [libmpg123.c:834] debug: decoding [mpg123.c:632] debug: play_frame [libmpg123.c:607] debug: read frame [readers.c:622] debug: bc_forget: block 4096 pos 3562 [parse.c:464] debug: trying to get frame 3727873 at 2147495402 [parse.c:987] debug: bitrate index: 10 (192) [readers.c:528] debug: bc_add: adding 4096 bytes at 2147495936 [readers.c:529] debug: first bytes: 51 1b 1a 14 [parse.c:774] debug: Frame 3727873 fffca400 572, next filepos=2147495978 [readers.c:622] debug: bc_forget: block 4096 pos 4138 [readers.c:633] debug: bc_forget: forgot 0x86760c8 with 4096, pos=42, size=4096, fileoff=-2147471360 [libmpg123.c:1031] debug: tell: 3727873/1 first 0 buffer 0; frame_outs=-457600 [libmpg123.c:610] debug: read of frame 3727873 returned 1 (to_decode=1) at sample -457600 [libmpg123.c:853] debug: got next frame, 1 [libmpg123.c:834] debug: decoding [mpg123.c:632] debug: play_frame [libmpg123.c:607] debug: read frame [readers.c:622] debug: bc_forget: block 4096 pos 42 [parse.c:464] debug: trying to get frame 3727874 at 2147495978 Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147495978 (JU8 p8). Note: Trying to resync... Note: Skipped 2 bytes in input. [parse.c:705] debug: Found valid header 0xfffca400... unsetting firsthead to reinit stream. [parse.c:987] debug: bitrate index: 10 (192) [parse.c:557] debug: doing ahead check with BPF 576 at 2147495984 [readers.c:622] debug: bc_forget: block 4096 pos 620 [libmpg123.c:1031] debug: tell: 3727873/0 first 0 buffer 0; frame_outs=-457600 [libmpg123.c:610] debug: read of frame 3727873 returned -2147470740 (to_decode=0) at sample -456448 [mpg123.c:665] error: ...in decoding next frame: Error reading the stream. (code 18) ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-24 18:58 Message: sizeof(off_t) = 8, sizeof(off_p) = 8 I tried also set _FILE_OFFSET_BITS=64 and enabling/disabling LFS - not helped. --enable-buffer=off also didn't. Wrapping seems just 32bits. Now I am trying with debug enabled. I will tail them and attach here. Tested under Linux ip165 2.6.35-25-generic-pae #44~lucid1-Ubuntu SMP Tue Jan 25 21:00:01 UTC 2011 i686 GNU/Linux. Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz stepping : 6 cpu MHz : 2527.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts bogomips : 5066.09 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz stepping : 6 cpu MHz : 1596.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts bogomips : 4601.71 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2011-08-24 18:32 Message: Eh, you got 64 bit off_t but still wrapping for 32 bits? I am puzzled as to what platform you are using. But, well, resolving the LFS issue will work around the issue, but this bug report shall stay open until I fixed the code to handle the overflow and just ignore file offsets from then on. ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-24 17:50 Message: It is interesting that sizeof(off_t) = 8, and: checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for size_t... yes checking for uintptr_t... yes checking for ssize_t... yes checking for off_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int16_t... yes checking for uint16_t... yes checking size of size_t... 4 checking size of ssize_t... 4 checking size of off_t... 8 checking size of int32_t... 4 checking size of long... 4 checking if we want to enable alias wrappers for largefile... yes I will try to combine: https://sourceforge.net/tracker/index.php?func=detail&aid=3314817&group_id=135704&atid=733194 and http://www.suse.de/~aj/linux_lfs.html ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-24 17:27 Message: You are right. Circular math will break file seeking. off_t as 64bit seems good workaround. The default configure: CPU Optimization ........ x86 Compiler Optimization ... 2 Gapless Support ......... enabled Debugging ............... disabled Seek table size ......... 1000 FIFO support ............ enabled Buffer .................. enabled Network (http streams) .. enabled Network Sockets ......... Posix IPv6 (getaddrinfo) ...... enabled File offsets ............ default LFS alias symbols ....... enabled (32) Alignment checks ........ Core libmpg123 features: Integer conversion ...... fast Layer I ................. enabled Layer II ................ enabled Layer III ............... enabled NtoM resampling ......... enabled downsampled decoding .... enabled Feeder/buffered input ... enabled ID3v2 parsing ........... enabled String API .............. enabled ICY parsing/conversion .. enabled Error/warning messages .. enabled Win32 Unicode File Open.. unneeded Feature Report Function.. enabled Output formats (nofpu will disable all but 16 or 8 bit!): 8 bit integer ........... enabled 16 bit integer .......... enabled 32/24 bit integer ....... enabled real (32 bit float) ..... enabled I will try to switch off_t into 64bit under 32bit system. ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2011-08-23 08:08 Message: Oh, I did wonder if there is trouble lurking with endless streaming. When you add logic to help working with finite files (like exact seeking, gapless decoding), you run into danger affecting basic dumb functionality. Well, I did. That stuff is too intertwangled and I'd like a sabbatical to clean it up properly... but, well. It's not wish-time now. Without spotting the peculiar value of offset just before final breakage, I'd have taken my sweet time to reproduce your issue: On a system with 64 bit off_t your 26 hours until overflow extend for 12 million years or so. I have to think about the proper overflow handling ... I tend towards making basic decoding independent of position tracking. If mpg123 cannot recall what position it is in in the stream, so be it. One could catch overflow and just mark stream position invalid ... seeking apart from small scratch buffer is disabled anyway. The quick hack would be to check if file position would overflow before incrementing and just ensuring that it stays positive. I don't see a point in pretending a stream position with circular math when it is clearly not valid anymore. But apart from that: Do you have largefile support disabled on purpose? ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-21 00:13 Message: Nice to see so fast reply - thanks. However apart from such work I wish you a nice weekend:) ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2011-08-18 20:07 Message: Thanks for your elaborate investigation and most importantly the submitting of test data. I'll digest this over the weekend and I am quite confident that we can come up with a fix. ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-18 18:51 Message: I've noticed that probably fr->rd->tell() returns negative value (off_t) in parse.c tell() is declared in readers.c as generic_tell() Do you happen to know consequences of introduction circular filepos in libmpg123? I can deliver the math for eg.31/32bits: /**************************************************************************/ /* cyclic offset counting */ /* maximum 32-bit offset value without a sign */ /*#define HOFFSET_MAX 0x7FFFFFFFL*/ #define HOFFSET_MAX 0x7FFFFFFF/*UL/L causes: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ */ /* distance a from b, condition: cyclic "a >= b", a is newer than b... (for forward counting assumption) */ #define HOFFSET_DIST_ba(a, b) ( ( (a) - (b) ) & HOFFSET_MAX ) #define min(a, b) ( a < b ? a : b ) /*#define max(a, b) ( a > b ? a : b )*/ /* the lowest circular distance between a and b */ #define HOFFSET_DIST(a, b) min(HOFFSET_DIST_ba(a, b), HOFFSET_DIST_ba(b, a)) /* check if circular "a >= b", ie. a is newer than b, or a = b (equal), or a = b + (HOFFSET_MAX+1)/2 */ #define HOFFSET_a_GE_b(a, b) (HOFFSET_DIST_ba(a, b) <= HOFFSET_DIST_ba(b, a)) /* check if circular "a > b", ie. a is newer than b, and a != b + (HOFFSET_MAX+1)/2 */ #define HOFFSET_a_GT_b(a, b) (HOFFSET_DIST_ba(a, b) < HOFFSET_DIST_ba(b, a)) /**************************************************************************/ best regards Janusz Uzycki ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-18 17:20 Message: mpg123 -v gives next surprise. Frame number difference of the succesive frames after resing is not constant (proper value seems to be 32). Is it ok? : Frame# 10688 [ 0], Time: 04:16.51 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6161056. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10720 [ 0], Time: 04:17.28 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6178914. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10752 [ 0], Time: 04:18.04 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6196772. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10784 [ 0], Time: 04:18.81 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6214630. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10816 [ 0], Time: 04:19.58 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6232488. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10848 [ 0], Time: 04:20.35 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6250346. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10880 [ 0], Time: 04:21.12 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6268204. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10904 [ 0], Time: 04:21.69 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6286062. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10936 [ 0], Time: 04:22.46 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6303920. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 10968 [ 0], Time: 04:23.23 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6321778. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 11000 [ 0], Time: 04:24.00 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6339636. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 11032 [ 0], Time: 04:24.76 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6357494. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 11048 [ 0], Time: 04:25.15 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6375352. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 11096 [ 0], Time: 04:26.30 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6393210. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 11128 [ 0], Time: 04:27.07 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6411068. Note: Trying to resync... Note: Skipped 2 bytes in input. Frame# 11152 [ 0], Time: 04:27.64 [00:00.00], RVA: off, Vol: 100(100)Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 6428926. ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-18 17:09 Message: I cut the last 2 bytes of the piece: dd if=a_cut.mp2 of=a_cut2.mp2 bs=1 count=17856 and again try with older 1.12.1 (1.13.3 has exactly the same bug - I've checked also): while [ 1 ]; do cat a_cut2.mp2; done | mpg123 --stdout - >/dev/null High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: - ... MPEG 1.0 layer II, 192 kbit/s, 48000 Hz stereo And here is no resync - the limit problem dissapeared (mpg123 does not finish itself). So the bug must be in resync section. ---------------------------------------------------------------------- Comment By: Janusz Uzycki (nopsoft) Date: 2011-08-18 16:08 Message: I attached short part of the stream (a_cut.mp2) extracted from MPEG2-TS. Now: while [ 1 ]; do cat a_cut.mp2; done | mpg123 --stdout - >/dev/null and after a moment: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: - ... MPEG 1.0 layer II, 192 kbit/s, 48000 Hz stereo [...] Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147353114. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147370972. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147388830. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147406688. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147424546. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147442404. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147460262. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147478120. Note: Trying to resync... Note: Skipped 2 bytes in input. Note: Illegal Audio-MPEG-Header 0x1ad0fffc at offset 2147495978. Note: Trying to resync... Note: Skipped 2 bytes in input. [mpg123.c:643] error: ...in decoding next frame: Error reading the stream. (code 18) [1491:08] Decoding of - finished. Is it offset value limit? How to workaround the limit? Is mpg123 able to decode a stream for more than 26 hours? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=733194&aid=3393801&group_id=135704 |