Skip to content

AVCHD lite video playback glitches

When playing back an AVCHD lite file, there are block-like playback artifacts every few seconds.

When converting the AVCHD lite file to H.264, the artifacts are gone.

This occurs on all versions of VLC, including the latest git build, as this report was filed. Tested under WinXP, Win7, Ubuntu 9.10 and 10.04.

There are some console outputs, which occur with all AVCHD files:

libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 0

libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 256

[0x7fea340085f8] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:192000

number of reference frames exceeds max (probably corrupt input), discarding one

number of reference frames exceeds max (probably corrupt input), discarding one

number of reference frames exceeds max (probably corrupt input), discarding one

[...]

You can reproduce the problem with this file, straight from an Panasonic Lumix DMC-TZ7 camera:

http://www.steve-m.de/files/avchd_glitches.mts

Also, here is a screenshot of the problem:

http://www.steve-m.de/files/avchd_glitch.png

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information