#Videos not playing!

97 messages · Page 1 of 1 (latest)

weak fjord
#

I'm facing an issue where the videos are either buffering or lagging whether it's Youtube or mpv or vlc or any web embedded video idk it just isn't playing
All I hear is the audio track, please elp 😭

shut zodiac
#

Hello

#

Did you install the multimedia codecs?

#

Have you checked your internet?

#

Internet is crazy

weak fjord
shut zodiac
#

Btw vlc comes with its own codecs

#

So multimedia codecs doesn't matter

weak fjord
#

it does but it's issue is

#

video is good but audio lags

#

the problem suddenly occured

shut zodiac
#

Specs?

#

Pc specs?

weak fjord
#

its been like 3 months since i installed linux

weak fjord
shut zodiac
#

Okay

#

That's decent hardware

shut zodiac
weak fjord
#

i can;t

#

i didn't do anythinggg

shut zodiac
#

Possibly updating or tinkering with your system or otherwise

weak fjord
#

i didn't

shut zodiac
#

Have you tried changing browser by chance? If that fix

weak fjord
#

but the issue is beyond the browser

shut zodiac
#

With so little evidence

#

It's hard to figure out

weak fjord
#

it is

#

not even discord videos are playing

shut zodiac
#

Huh

formal rose
#

Is this problem only with online videos, or with local too?

weak fjord
#

online and local

formal rose
#

So, only sound when you try to play a video from a file, yes?

shut zodiac
#

I figured it out

#

It's either pipewire or pulseaudio issue

formal rose
#

Pipewire and pulseaudio are audio related, but you said you don't get video, while op can hear audio.

#

@weak fjord Can you try to run

mpv --hwdec=auto /path/to/video_file

and tell me the result, along with terminal output?

weak fjord
#

Okay

formal rose
#

How did the video played?

weak fjord
#

the video is like

#

paused and only audio isplaying

formal rose
#

Ok, now try

mpv --no-hwdec /path/to/video_file

give me terminal output and how the video plays

weak fjord
#

that's not an option

formal rose
#

not an option?

weak fjord
formal rose
#

Oh, hold on

#

try

mpv --hwdec=no /path/to/video_file

formal rose
#

seems the same

weak fjord
#

yeah

formal rose
#

Plays the same too?

shut zodiac
#

This is very unique problem I've ever seen

weak fjord
#

seems like it

weak fjord
formal rose
#

Can you show us output of

inxi -G

please

formal rose
#

Alright, next give output of

vainfo

if not installed

sudo apt install vainfo

weak fjord
formal rose
#

Do you have same problem in browser when trying to view videos?

weak fjord
#

but they;re atleast playing

#

i mean the video is either buffering or lagging

#

audio is fine

formal rose
#

Do you get very high cpu usage when trying to play the videos?

formal rose
#

Did it work fine before? If so when did it change?

weak fjord
#

only audio and a paused video

formal rose
#

How about

mpv --hwdec=vaapi --vo=gpu /path/to/video.mp4

does that play the video?

#

Also, look for possible clues in the logs

dmesg | grep -i drm

and

journalctl -xe | grep video

weak fjord
#

@formal rose i just realised if i pause the audio, the video starts to work properly

#

could it be something with the codecs?

formal rose
#

Are you on mint 22?

weak fjord
formal rose
#

Try reinstalling ffmpeg

sudo apt install --reinstall ffmpeg libavcodec-extra

weak fjord
#

Cuz it didn't fix

formal rose
#

no harm in rebooting.

Also, what did you mean by "when I pause audio - the video works"?

weak fjord
formal rose
#

Does that work on local files?

weak fjord
#

nope

formal rose
#

If you boot from live usb, do these problems persist?

weak fjord
formal rose
#

Can you test real quick? both online and offline videos.

weak fjord
#

i dont have a live usb

#

but i can assure you

formal rose
#

Does

sudo apt install -f

give you anything?

weak fjord
#

nope

formal rose
#

Well I'm stumped

weak fjord
#

i hate this

weak fjord
#

Update on the issue: Found a fix, install pulseaudio

shut zodiac
#

As I said