0

I have a raspberry pi model 4B. This the os version I have

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I'm trying to run a video using cvlc.

When I run the video from my remote terminal, the video runs successfully on my Raspberry Pi. To run the video on my Raspberry screen I first need to export the DISPLAY env variable, which I figured out from Here. DISPLAY env variable is needed otherwise it starts playing video as ascii within the terminal.

Here are the steps to run a video from the remote SSH terminal. It shows some errors, but runs the video.

enter image description here

When I try to run the same video from inside the rasbperry from raspberry built-in terminal, it shows segmentation fault.

enter image description here

I have an external display is attached with my raspberry with a HDMI cable.

Do anyone has any idea why this is happening, I actually wanted to create a program using python-vlc, but same issue when I use it from python. I digged into the issue and found it's cvlc that actually shows the issue down the line. Can anyone guide me the direction of how I can fix this error?

SHIVAM SINGH
  • 111
  • 2

1 Answers1

1

Thanks for anyone who tried to solve this.

I have a workaround for this issue. As nothing worked for me and running in verbose did not give enough information, I decided to re-install the Pi OS. And it fixed the issue.

SHIVAM SINGH
  • 111
  • 2