VLC 3.0.16 can't play MKV file from Linux camera app Motion

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
doctorhok
New Cone
New Cone
Posts: 1
Joined: 14 Mar 2022 16:13

VLC 3.0.16 can't play MKV file from Linux camera app Motion

Postby doctorhok » 14 Mar 2022 16:33

I recorded videos using a Raspberry PI as a surveillance camera with 1 fps and motion detection.
The video is stored as MKV in seperate files (one file per motion, i.e. sequence of consecutive frames with differences).

When I transfer the files to Windows 10 I can't watch them using VLC.
VLC opens the file and displays only the first frame; the time line ticks away every second of the video, but the video never changes.
The messages window shows:
avcodec info: Using D3D11VA (Intel(R) UHD Graphics, vendor 8086(Intel), device 9b41, revision 2) for hardware decoding
main error: buffer deadlock prevented
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
The last line is repeated several times.

The computer is surely not too slow to play a 1 fps video.
Windows Media Player can play the file, but it can't skip or change playback speed.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: VLC 3.0.16 can't play MKV file from Linux camera app Motion

Postby InTheWings » 14 Mar 2022 18:04

That's the frame drop algorithm going in because next frame is considered late.

you can try playing with hurry-up parameter in avcodec.

VLC can't play low fps movies since the beginning.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Mad_Jones and 43 guests