apandada1
Posts: 21
Joined: Mon Sep 23, 2013 4:31 pm

Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 9:05 am

I installed a fresh image of Raspbian Buster in my Raspberry Pi 2.

When I run the Big Buck Bunny video in VLC (both in full screen and window mode), the video lags. As far as I can remember, this did not happen in Stretch.

However, when I play it from OMXPlayer it does not lag anymore.

How to solve this issue?

apandada1
Posts: 21
Joined: Mon Sep 23, 2013 4:31 pm

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 9:24 am

I would like to open a bug report in GitHub. Which repository should I refer to?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5854
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 10:56 am

Are you using the .h264 file in /opt/vc or a proper download of Big Buck Bunny from somewhere else?

apandada1
Posts: 21
Joined: Mon Sep 23, 2013 4:31 pm

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 11:38 am

The file test.h264 in /opt..../hello_video

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5854
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 12:07 pm

Not a bug then, just a change in VLC's behaviour. That file is just a video bitstream without a container, so VLC has no FPS information, causing that stutter. If you stick it into a container, it should play as it did before.

apandada1
Posts: 21
Joined: Mon Sep 23, 2013 4:31 pm

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 12:30 pm

I did not really understand what you mean by container, but the file lags in VLC both when running in a window and in full screen mode.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5854
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 3:23 pm

The short version is that it's a bad file. A 'real' .mkv file (for example) will work.

apandada1
Posts: 21
Joined: Mon Sep 23, 2013 4:31 pm

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 3:32 pm

If it is a bad file, is there a github repository where I can open a bug report?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5854
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Tue Jul 16, 2019 8:12 pm

The file is fine for the purpose it's meant for. The program in the directory demonstrates the pi's ability to decode h264 data. That's all it is and that's all it does. Its not meant to be played by other media players. There is no issue to report.

apandada1
Posts: 21
Joined: Mon Sep 23, 2013 4:31 pm

Re: Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

Wed Jul 17, 2019 3:19 am

Well, the version of VLC currently shipped is supposed to have proper hardware acceleration. That is why I opened the thread.
I will play some other video and report what happens.

Return to “Troubleshooting”