Strange DVD playback skip/freeze
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. I am wondering if this is something that could be remedied with more lax error checking or somehow by jumping a few frames ahead. The problem appears to be confined to such a small time frame that detecting the problem and just jumping to the next working part would be OK. It might be that there is an encoding problem in the video stream itself. However, I find it strange that such a problem would freeze the whole DVD playback. My question would be, is this a libdvdread or libdvdnav problem and could it be possible to fix such a problem. Also, any other pointers towards a solution would be appreciated. VLC -vvv output just before the freeze (such output is not encountered elsewhere in the log): [0xab900828] dvdnav demux debug: DVDNAV_NOP [0xab900828] dvdnav demux debug: DVDNAV_CELL_CHANGE [0xab900828] dvdnav demux debug: - cellN=13 [0xab900828] dvdnav demux debug: - pgN=13 [0xab900828] dvdnav demux debug: - cell_length=17420400 [0xab900828] dvdnav demux debug: - pg_length=17420400 [0xab900828] dvdnav demux debug: - pgc_length=221220000 [0xab900828] dvdnav demux debug: - cell_start=180280800 [0xab900828] dvdnav demux debug: - pg_start=180280800 [0xab900828] dvdnav demux debug: DVDNAV_SPU_CLUT_CHANGE [0xab900828] dvdnav demux debug: DVDNAV_SPU_STREAM_CHANGE [0xab900828] dvdnav demux debug: - physical_wide=128 [0xab900828] dvdnav demux debug: - physical_letterbox=128 [0xab900828] dvdnav demux debug: - physical_pan_scan=128 [0xab900828] dvdnav demux debug: buttonUpdate not done b=3 t=1 [0xab900828] dvdnav demux debug: DVDNAV_AUDIO_STREAM_CHANGE [0xab900828] dvdnav demux debug: - physical=0 [0xab900828] dvdnav demux debug: buttonUpdate not done b=3 t=1 Best regards, -- Tuomo Sipola tuomo.sipola@iki.fi
On 4/22/14, Tuomo Sipola <tuomo.sipola@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.
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.sipola@iki.fi
On 4/22/14, Tuomo Sipola <tuomo.sipola@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 [?])
23.04.2014 21:14, Roger Pack kirjoitti:
On 4/22/14, Tuomo Sipola <tuomo.sipola@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 2>&1 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? -- Tuomo Sipola tuomo.sipola@iki.fi
On 4/24/14, Tuomo Sipola <tuomo.sipola@iki.fi> wrote:
23.04.2014 21:14, Roger Pack kirjoitti:
On 4/22/14, Tuomo Sipola <tuomo.sipola@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 2>&1
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?
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 2>&1
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.sipola@iki.fi
On 4/25/14, Tuomo Sipola <tuomo.sipola@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 2>&1
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...
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=221220000 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.sipola@iki.fi
On 4/26/14, Tuomo Sipola <tuomo.sipola@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=221220000 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?
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.sipola@iki.fi
On 4/28/14, Tuomo Sipola <tuomo.sipola@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?
28.04.2014 23:40, Roger Pack wrote:
Do commercial DVD software play it ok?
Sorry to say but I don't have such commercial software nor any external DVD players. -- Tuomo Sipola tuomo.sipola@iki.fi
participants (2)
-
Roger Pack -
Tuomo Sipola