SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-12-13 05:58:55

rabidfox
#! CrunchBanger
Registered: 2010-09-22
Posts: 116

Fix lag with HD video on VLC

This is probably universal, but I'm running Statler ftr...

My computer is old and mkv files caused video lag in VLC.  After many other efforts, I got rid of the lag by going to / Tools / Preferences / Input & Codecs / Codecs ... and set "Skip H.264 in-loop deblocking filter" to "All".

Rather old computers can still do HD just fine! cool


...But I'm ever so squeezable!

Offline

Be excellent to each other!

#2 2010-12-13 06:49:25

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 11,946

Re: Fix lag with HD video on VLC

^ COOL!!! cool cool cool

Is there a similar trick for Totem, or is it just VLC?  Because this really tempts me to use VLC...


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Offline

#3 2010-12-28 19:52:49

charlie01
#! Die Hard
Registered: 2009-02-09
Posts: 556

Re: Fix lag with HD video on VLC

pvsage wrote:

^ COOL!!! cool cool cool

Is there a similar trick for Totem, or is it just VLC?  Because this really tempts me to use VLC...

On my Ubuntu machine this is what i did for totem.
I went to usr/share/applications and clicked on multimedia selector,From there you click video and than change then
change the setting to x11 or something to that nature.

This worked fairly well for me in Ubuntu,The issue is that Crunch doesnt have a multimedia selector installed.
I think its a gnome thing.

Ive done all sorts of things to get VLC to work without flickering,Skip loop filter,Increasing the file cache
changing from default to x11 and its helped,But it hasnt fixed it.Every time theres a fast paced action scene,thats when it ripples,or tears(horizontal line appears).

So this is what ive done,I set my VLC to play h264 720p movies the best,Smaller avi movies still flicker.
I installed Xine-ui player,This plays avi much better for some reason.
And i installed Totem-Gstreamer.I have found this to be hit or miss.

AMD Phenom Quad core Ati Vision graphics 4 gigs ddr3 and an LED screen.
and the flickering annoys the hell out of me.
In my windows 7 side,Movies play clear and clean.So im hoping for a future update or an upgraded VLC player
in the future.

On my Acer Aspire one D255,led screen,ati vision graphics ,but using standard vga driver and I have none of these issues.
I was able to do the skip loop in VLC and change the default to x11 and it plays most 720p movies without a glitch.

On my Quadcore,I installed the fglrx driver thinking it would help over the standard vga,But no go,Its the same.

LOL

I just juggle media players to find the one that plays the best,,   lol

Offline

#4 2010-12-28 23:02:14

iann
#! Die Hard
Registered: 2010-09-10
Posts: 708

Re: Fix lag with HD video on VLC

Does XVideo not work for you?  I find it is usually the best if your drivers support it.

Offline

#5 2011-01-09 15:13:12

jr0xY
Member
From: Scotland
Registered: 2011-01-09
Posts: 11

Re: Fix lag with HD video on VLC

Thanks for this tip for vlc i had some lags before on videos

Offline

#6 2011-01-12 10:02:47

linanaux
New Member
Registered: 2011-01-12
Posts: 3

Re: Fix lag with HD video on VLC

Im new to linux and those are really bad news for me

I have been using the hardware acceleration on win 7 whenever I played a hd video and Im pretty sure my laptop cant do 1080p without it sad.

Offline

#7 2011-01-16 22:12:49

ugh
Member
Registered: 2011-01-10
Posts: 29

Re: Fix lag with HD video on VLC

linanaux wrote:

Im new to linux and those are really bad news for me

I have been using the hardware acceleration on win 7 whenever I played a hd video and Im pretty sure my laptop cant do 1080p without it sad.

The good news is that VLC isn't the only media player for *nix. wink

While the above adjustments to VLC do also make a difference here, VLC simply cannot perform as well as Mplayer multi-thread.  For example, on my hardware VLC cannot play Sintel.mp4 2048 x 872 without screen tearing while mplayer-mt can.  I can even leave the laptop on 'power saver' mode and still have excellent HD video playback
If you have more than 1 core try it and see.  Available in the Debian Multimedia repo.

My hardware:
Intel(R) Pentium(R) Dual  CPU  T2390  @ 1.86GHz
3G RAM
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller

As you can see the graphics card is integrated Intel graphics - hardly known for performance yet it is certainly possible to watch HD video quite smoothly under Linux.

*Note You must call mplayer-mt (not just mplayer) so ff you use Smplayer be sure to set the mplayer executable as mplayer-mt.


Toshiba laptop - 1.86GHz x 2
3 G RAM
Crunchbang Statler upgraded to Sid
2.6.XX-X.dmz.X-liquorix-amd64

Offline

#8 2011-10-01 11:07:06

Andrinho7
Member
From: Italy
Registered: 2011-10-01
Posts: 41

Re: Fix lag with HD video on VLC

Thanks! Had the same problem on my old pc and I solved thanks to your tip.


Lenovo Thinkpad T60 -- Intel T5500 -- 1 GB RAM -- 40 GB HD

Offline

#9 2012-06-18 14:04:10

floydpepper
#! Member
Registered: 2010-03-13
Posts: 56

Re: Fix lag with HD video on VLC

In addition to  set "Skip H.264 in-loop deblocking filter" to "All" I also installed libavcodec53. If you are still having issues despite the vlc setting, try installing libavcodec53 as well.

Offline

#10 2012-06-18 14:31:27

aeqel
Member
From: Australia
Registered: 2012-06-12
Posts: 25
Website

Re: Fix lag with HD video on VLC

VLC players a lot of formats but is not the best at H.264.

For people who are lucky enough to have an nVidia card with VDPAU support, your best bet is installing MPlayer2 with VDPAU support.

For those who don't have a computer with VDPAU support. If you have a desktop, you could just buy an nVidia card - they're pretty cheap.
If that is not an option. MPlayer2 and CoreAVC works pretty well together. I can play 720p H.264 on an Atom N270 with it. There should be guides online to build MPlayer2 with CoreAVC.

Offline

#11 2012-07-09 02:08:34

johnywhy
New Member
Registered: 2012-07-09
Posts: 1

Re: Fix lag with HD video on VLC

rabidfox wrote:

/ Tools / Preferences / Input & Codecs / Codecs ... and set "Skip H.264 in-loop deblocking filter" to "All".  cool

you are cool!

Offline

#12 2012-07-09 02:44:47

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,961

Re: Fix lag with HD video on VLC

aeqel wrote:

For people who are lucky enough to have an nVidia card with VDPAU support, your best bet is installing MPlayer2 with VDPAU support.
For those who don't have a computer with VDPAU support. If you have a desktop, you could just buy an nVidia card - they're pretty cheap.

^^ This. For about $20 you can get an nvidia geforce 210 with 84 cores in it that can be used for video playback with mplayer or mplayer2. This will let you seamlessly play 1080p video on any computer that is new enough to have a pcie slot in it (which even includes some single core P4 and athlon XP machines). If you're stuck with a laptop and can't put a video card in it, I find that GLX output in VLC gets a nice frame rate usually, even from old Intel 915 GPUs and stuff like that.

Offline

#13 2013-06-24 21:59:40

Spoony
New Member
Registered: 2013-05-27
Posts: 4

Re: Fix lag with HD video on VLC

Great tip, worked like a charm on my aspire one. Thanks for sharing rabidfox.


"We make a living by what we get, but we make a life by what we give." Winston Churchill

Offline

#14 2013-06-25 00:47:47

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 11,946

Re: Fix lag with HD video on VLC

@Spoony:  We typically discourage necroposting (posting to threads that have sat idle for over 6 months or so).  However, I'm willing to allow this thread to remain open, since the information in it seems to remain valid.


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Offline

#15 2014-04-11 19:28:49

ashutosh41
New Member
Registered: 2014-04-11
Posts: 1

Re: Fix lag with HD video on VLC

ops i love u.and thanks for support...i tried many things and finally i got it...

Offline

#16 2014-04-12 12:04:15

Nili
#! CrunchBanger
From: 127.0.0.1
Registered: 2013-03-20
Posts: 226
Website

Re: Fix lag with HD video on VLC

Wow, VLC performance grew 90% positive. i can play 1080p without lag. thanks for this tip.


#! @debian gnu/linux testing (jessie)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo