Page 1 of 1

AVI files from QNAP Surveillance Station aren't playing on macOS

Posted: 28 Mar 2019 14:49
by northwoods
I'm using the Surveillance Station package on a QNAP NAS to record video from a camera. When I open the AVI files in VLC the codec details shows "QNAP H.264/MPEG-4 AVC (q264)". The timeline shows the correct video length and it looks like it is playing, but there is no video output (these files don't include audio).

So far I've only been able to play these files by passing them through handbrake, which shows the following output in the log.

Code: Select all

[08:46:35] dvd: not a dvd - trying as a stream/file instead Input #0, avi, from '/Volumes/surveillance-station/record_nvr_alarm/channel1/2019-03-28/08D/2019-03-28 08-23-29~08-24-48.avi': Metadata: VGN0 : Backyard VGT0 : VGT1 : Duration: 00:04:49.13, start: 0.000000, bitrate: 1019 kb/s Stream #0:0: Video: h264 (Main) (q264 / 0x34363271), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 3679 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc Stream #0:1: Audio: none ([172][10][0][0] / 0x0AAC), 8000 Hz, 1 channels, 128 kb/s

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 28 Mar 2019 15:18
by Jean-Baptiste Kempf
Please share your logs.

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 29 Mar 2019 11:41
by northwoods
Debug logs and sample clip at the following dropbox location.

https://www.dropbox.com/sh/cm0dprgwe8zq ... GAB0a?dl=0

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 07 Apr 2019 11:52
by Jean-Baptiste Kempf
This plays fine on Linux, with VLC 3.0.6

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 10 Apr 2019 22:06
by northwoods
Interesting, it works on Windows as well. Not Mac or iOS though.

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 12 Apr 2019 13:27
by Jean-Baptiste Kempf
macOS 3.0.6 too? logs?

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 12 Apr 2019 14:25
by northwoods
The logs I posted earlier (at the dropbox URL) show that the VLC version is 3.0.6. What they do not appear to show is that I'm running macOS 10.14.4.

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 16 Apr 2019 08:45
by Jean-Baptiste Kempf
Ok. Disable hardware decoding in preferences, and try again.

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 17 Apr 2019 01:48
by northwoods
That did the trick! With "Hardware decoding" unchecked the videos play back now.

FWIW

Code: Select all

Intel Iris Plus Graphics 650: Chipset Model: Intel Iris Plus Graphics 650 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel Device ID: 0x5927 Revision ID: 0x0006 Metal: Supported, feature set macOS GPUFamily2 v1

Re: AVI files from QNAP Surveillance Station aren't playing

Posted: 19 Apr 2019 07:09
by Jean-Baptiste Kempf
OK, then please open a bug.

Re: AVI files from QNAP Surveillance Station aren't playing on macOS

Posted: 19 Apr 2019 15:19
by northwoods
Done

https://trac.videolan.org/vlc/ticket/22208

Hope I did that right!

Re: AVI files from QNAP Surveillance Station aren't playing on macOS

Posted: 22 Apr 2019 15:33
by Jean-Baptiste Kempf
Cool.

Re: AVI files from QNAP Surveillance Station aren't playing on macOS

Posted: 07 Jul 2019 00:28
by rhill333
been pulling my hair out with this exact issue, running QNAP Surveillance workstation, can't view AVI files on a Mac running VLC (or ANY other video player!!)

seeing this with VLC 3.0.7.1, MacOS 10.3.6 - so bug not fixed with this latest version of VLC for Mac.

Turning off hardware decoding magically fixed the issue.

Thanks all for the workaround ! Hoping for a permanent fix soon please :)