Re: [DVDnav-discuss] Strange DVD playback skip/freeze
On 4/26/14, Tuomo Sipola tuomo.sip...@iki.fi wrote: 26.04.2014 00:37, Roger Pack wrote: What is the console output of mplayer when it passes over the pause? What about VLC - Tools - Messages? I wonder what is going on here... Message level 6 in mplayer gives the following near the problematic part: [ac3 @ 0xb6a4b980]frame CRC mismatch [ac3 @ 0xb6a4b980]frame sync error lavc_audio: error A:2003.2 V:2003.3 A-V: -0.056 ct: -0.020 195/195 6% 0% 0.5% 1 0 49% DVD sub: len=1256 v_pts=2003.294 s_pts=2003.414 ts=180307231 In VLC messages (Verbosity 2) we get this: main debug: Decoder buffering done in 9 ms dvdnav debug: DVDNAV_NOP dvdnav debug: DVDNAV_CELL_CHANGE dvdnav debug: - cellN=13 dvdnav debug: - pgN=13 dvdnav debug: - cell_length=17420400 dvdnav debug: - pg_length=17420400 dvdnav debug: - pgc_length=22122 dvdnav debug: - cell_start=180280800 dvdnav debug: - pg_start=180280800 dvdnav debug: DVDNAV_SPU_CLUT_CHANGE dvdnav debug: DVDNAV_SPU_STREAM_CHANGE dvdnav debug: - physical_wide=128 dvdnav debug: - physical_letterbox=128 dvdnav debug: - physical_pan_scan=128 dvdnav debug: buttonUpdate not done b=3 t=1 dvdnav debug: DVDNAV_AUDIO_STREAM_CHANGE dvdnav debug: - physical=0 dvdnav debug: buttonUpdate not done b=3 t=1 pulse debug: underflow Hmm looks like some type of split between cells or something...though I don't really know what I'm talking about. If there is a long pause within both VLC (did you try nightlites/git master?) and mplayer then you and I both imagine that it's some type of weirdness in libdvdnav...hmm... Anyway I'm out of ideas, anybody else want to handle this one? ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
28.04.2014 19:54, Roger Pack wrote: Hmm looks like some type of split between cells or something...though I don't really know what I'm talking about. If there is a long pause within both VLC (did you try nightlites/git master?) and mplayer then you and I both imagine that it's some type of weirdness in libdvdnav...hmm... Anyway I'm out of ideas, anybody else want to handle this one? My guess is that the video stream itself is corrupted, i.e., that they saved a corrupt file on the DVD because, as I stated, I tested with another physical DVD box that I bought. Or maybe this is something that might work on a DVD player but not on my computer, I haven't tested. I currently have newest stable builds. VLC freezes for a long time (earlier versions had blocks on the screen and skipped to the next chapter). Mplayer shows the blocks and skips to the next chapter. I am not sure if this is a libdvdnav problem or a problem with the players or codecs or whatever. -- Tuomo Sipola tuomo.sip...@iki.fi ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
On 4/28/14, Tuomo Sipola tuomo.sip...@iki.fi wrote: 28.04.2014 19:54, Roger Pack wrote: Hmm looks like some type of split between cells or something...though I don't really know what I'm talking about. If there is a long pause within both VLC (did you try nightlites/git master?) and mplayer then you and I both imagine that it's some type of weirdness in libdvdnav...hmm... Anyway I'm out of ideas, anybody else want to handle this one? My guess is that the video stream itself is corrupted, i.e., that they saved a corrupt file on the DVD because, as I stated, I tested with another physical DVD box that I bought. Or maybe this is something that might work on a DVD player but not on my computer, I haven't tested. I currently have newest stable builds. VLC freezes for a long time (earlier versions had blocks on the screen and skipped to the next chapter). Mplayer shows the blocks and skips to the next chapter. I am not sure if this is a libdvdnav problem or a problem with the players or codecs or whatever. Do commercial DVD software play it ok? ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
26.04.2014 00:37, Roger Pack wrote: What is the console output of mplayer when it passes over the pause? What about VLC - Tools - Messages? I wonder what is going on here... Message level 6 in mplayer gives the following near the problematic part: [ac3 @ 0xb6a4b980]frame CRC mismatch [ac3 @ 0xb6a4b980]frame sync error lavc_audio: error A:2003.2 V:2003.3 A-V: -0.056 ct: -0.020 195/195 6% 0% 0.5% 1 0 49% DVD sub: len=1256 v_pts=2003.294 s_pts=2003.414 ts=180307231 In VLC messages (Verbosity 2) we get this: main debug: Decoder buffering done in 9 ms dvdnav debug: DVDNAV_NOP dvdnav debug: DVDNAV_CELL_CHANGE dvdnav debug: - cellN=13 dvdnav debug: - pgN=13 dvdnav debug: - cell_length=17420400 dvdnav debug: - pg_length=17420400 dvdnav debug: - pgc_length=22122 dvdnav debug: - cell_start=180280800 dvdnav debug: - pg_start=180280800 dvdnav debug: DVDNAV_SPU_CLUT_CHANGE dvdnav debug: DVDNAV_SPU_STREAM_CHANGE dvdnav debug: - physical_wide=128 dvdnav debug: - physical_letterbox=128 dvdnav debug: - physical_pan_scan=128 dvdnav debug: buttonUpdate not done b=3 t=1 dvdnav debug: DVDNAV_AUDIO_STREAM_CHANGE dvdnav debug: - physical=0 dvdnav debug: buttonUpdate not done b=3 t=1 pulse debug: underflow Best regards, -- Tuomo Sipola tuomo.sip...@iki.fi ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
24.04.2014 22:46, Roger Pack wrote: Recorded with command that plays only the position near the skip: mplayer -msglevel all=1 -ss 00:32:18 -endpos 00:01:08 dvd://1 mplayer_log.txt 21 We get these errors: [ac3 @ 0xb6a31980]frame CRC mismatch [ac3 @ 0xb6a31980]frame sync error So if it is not proper to discuss this on this list, where next? Is this near a poosible chapter break or some type of break? I just checked, no it is not. This happens mid-chapter. The position where the players jump is the beginning of the next chapter. -- Tuomo Sipola tuomo.sip...@iki.fi ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
On 4/25/14, Tuomo Sipola tuomo.sip...@iki.fi wrote: 24.04.2014 22:46, Roger Pack wrote: Recorded with command that plays only the position near the skip: mplayer -msglevel all=1 -ss 00:32:18 -endpos 00:01:08 dvd://1 mplayer_log.txt 21 We get these errors: [ac3 @ 0xb6a31980]frame CRC mismatch [ac3 @ 0xb6a31980]frame sync error So if it is not proper to discuss this on this list, where next? Is this near a poosible chapter break or some type of break? I just checked, no it is not. This happens mid-chapter. The position where the players jump is the beginning of the next chapter. What is the console output of mplayer when it passes over the pause? What about VLC - Tools - Messages? I wonder what is going on here... ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
On 4/24/14, Tuomo Sipola tuomo.sip...@iki.fi wrote: 23.04.2014 21:14, Roger Pack kirjoitti: On 4/22/14, Tuomo Sipola tuomo.sip...@iki.fi wrote: 23.04.2014 02:09, Roger Pack wrote: You may be able to get a stack trace while it is frozen by using gdb and ctrl+c when it is frozen. Attached (from VLC). I don't know if it is of any value. Hmm make certain you're not stripping debug symbols... I know mplayer's configure has a --enable-debug option (dunno VLC's equivalent, but it might need to be applied to your dvdnav as well, if you go the VLC route [?]) OK, now included gdb dumps from mplayer and vlc. I also included mplayer logs. If I'm interpreting this correctly the problem is not with libdvdread or libdvdnav. Recorded with command that plays only the position near the skip: mplayer -msglevel all=1 -ss 00:32:18 -endpos 00:01:08 dvd://1 mplayer_log.txt 21 We get these errors: [ac3 @ 0xb6a31980]frame CRC mismatch [ac3 @ 0xb6a31980]frame sync error So if it is not proper to discuss this on this list, where next? Is this near a poosible chapter break or some type of break? ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
On 4/22/14, Tuomo Sipola tuomo.sip...@iki.fi wrote: Hello, Summary: DVD playback freezes (or skips) on a physically OK disc. Is it a libdvd* problem? I have a DVD disc, Buffy 7th season R2 disc 6, which exhibits strange beahavior during the first episode, Touched. I have tested with two different discs from different boxes. I have also checked the disc with dvdisaster, so it is not a physical problem. The same problem occurs with VLC, mplayer and totem. Video playback freezes at 32:08 and depending on the player freezes for a long time (VLC) or jumps to 33:15 with blocky things briefly on the screen (mplayer). If I go to 32:09, the playback continues normally. Rewinding back to 32:08 freezes playback again. You may be able to get a stack trace while it is frozen by using gdb and ctrl+c when it is frozen. ___ DVDnav-discuss mailing list DVDnav-discuss@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
Re: [DVDnav-discuss] Strange DVD playback skip/freeze
23.04.2014 02:09, Roger Pack wrote: You may be able to get a stack trace while it is frozen by using gdb and ctrl+c when it is frozen. Attached (from VLC). I don't know if it is of any value. -- Tuomo Sipola tuomo.sip...@iki.fi Program received signal SIGTSTP, Stopped (user). 0xb7fdd424 in __kernel_vsyscall () (gdb) backtrace full #0 0xb7fdd424 in __kernel_vsyscall () No symbol table info available. #1 0xb7f84efc in do_sigwait (set=set@entry=0xbfffef74, sig=sig@entry=0xbfffeff4) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:60 resultvar = optimized out ret = optimized out tmpset = {__val = {0, 135127272, 3086862856, 3084648448, 3084648448, 3221221528, 0, 3221221236, 3086491519, 3087003648, 3087006008, 5, 3221221152, 3086926209, 3087006448, 3083425456, 1, 5, 0, 3084526772, 3079110981, 3086671872, 3221221124, 134524968, 134513792, 134513248, 1, 3086671872, 136028840, 3086449572, 3221221528, 3086544896}} #2 0xb7f84f79 in __sigwait (set=0xbfffef74, sig=0xbfffeff4) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97 oldtype = 0 result = optimized out #3 0x08048ef6 in ?? () No symbol table info available. #4 0xb7ddaa83 in __libc_start_main (main=0x8048bb0, argc=1, argv=0xb144, init=0x80496b0, fini=0x8049720, rtld_fini=0xb7fed180 _dl_fini, ---Type return to continue, or q return to quit--- stack_end=0xb13c) at libc-start.c:287 result = optimized out unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208565760, 0, 0, 0, 147227943, 1282629943}, mask_was_saved = 0}}, priv = {pad = { 0x0, 0x0, 0x1, 0x8049012}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}} not_first_call = optimized out #5 0x08049033 in ?? () No symbol table info available. (gdb) info registers eax0xfffc -4 ecx0x0 0 edx0x0 0 ebx0xbfffef74 -1073746060 esp0xbfffee80 0xbfffee80 ebp0xbfffeff4 0xbfffeff4 esi0x8 8 edi0xbfffef74 -1073746060 eip0xb7fdd424 0xb7fdd424 __kernel_vsyscall+16 eflags 0x206[ PF IF ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) x/16i $pc = 0xb7fdd424 __kernel_vsyscall+16: pop%ebp 0xb7fdd425 __kernel_vsyscall+17: pop%edx 0xb7fdd426 __kernel_vsyscall+18: pop%ecx 0xb7fdd427 __kernel_vsyscall+19: ret 0xb7fdd428: add%ch,(%esi) 0xb7fdd42a: jae0xb7fdd494 0xb7fdd42c: jae0xb7fdd4a2 0xb7fdd42e: jb 0xb7fdd4a4 0xb7fdd430: popa 0xb7fdd431: bound %eax,(%eax) 0xb7fdd433: cs 0xb7fdd434: push $0x687361 0xb7fdd439: cs 0xb7fdd43a: fs 0xb7fdd43b: jns0xb7fdd4ab 0xb7fdd43d: jae0xb7fdd4b8 (gdb) thread apply all backtrace Thread 32 (Thread 0xa9a5eb40 (LWP 28250)): #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7f80d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187 #2 0xb7d6bc23 in vlc_cond_wait () from /usr/lib/libvlccore.so.7 #3 0xb7d4dfa1 in block_FifoGet () from /usr/lib/libvlccore.so.7 #4 0xb7d0948a in ?? () from /usr/lib/libvlccore.so.7 #5 0xb7f7cf70 in start_thread (arg=0xa9a5eb40) at pthread_create.c:312 #6 0xb7ead70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129 Thread 31 (Thread 0xa6f17b40 (LWP 28249)): #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7f80d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187 #2 0xb7d6bc23 in vlc_cond_wait () from /usr/lib/libvlccore.so.7 #3 0xb7d4dfa1 in block_FifoGet () from /usr/lib/libvlccore.so.7 #4 0xb7d0948a in ?? () from /usr/lib/libvlccore.so.7 #5 0xb7f7cf70 in start_thread (arg=0xa6f17b40) at pthread_create.c:312 #6 0xb7ead70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129 ---Type return to continue, or q return to quit---(gdb) quit Thread 30 (Thread 0xac36db40 (LWP 28248)): #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7f80d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187 #2 0xa904d40a in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.54 #3 0xb7f7cf70 in start_thread (arg=0xac36db40) at pthread_create.c:312 #4 0xb7ead70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129 Thread 29 (Thread 0xa879bb40 (LWP 28247)): #0 0xb7fdd424 in __kernel_vsyscall () #1 0xb7f80d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187 #2 0xa904d40a in ?? () from