Tuesday, August 31, 2010

Optimizing VLC Media Player for h264 Playback

Tech Blog - Here is a simple howto on configuring your VLC player to play h264 or MKV files(720p and up) without lagging or with minimal lagging, for this howto I'm using VLC Media PLayer 1.1.4 running on Windows Vista.

Below is are thing need to be selected on your VLC media player, this configuration are base on my experience I dont guarantee it will work for you, however if your experiencing lagging issue with video files encoded in h264 give this howto a try.

Now to the howto - open your VLC Media Player


Go to Tools > Preferences > Input & Codecs Settings > then Make sure

"Skip H.264 in-loop deblocking filter" is set to All

Then select "Show setting" at the bottom right corner of the Window click on All it should show "Advance settings" now

Click on Advanced make sure on the "Performance options" the following are selected
  • "Allow only one running instance"
  • "One instance when started from file"
  • "Increase the priority of the process"
Now click on "Input / Codecs" -> "Video codecs"

Click on FFmpeg make sure the following is selected
  • "Hurry up"
  • "Allow speed tricks"
  • "Quality level" is rd

Then click on x264 on "H.264 profile" select "main"

Thats it Hope this works for you too!

18 comments:

Winston said...

OMGOMGOMG, Thank you so much!! I finally can watch all my h264 mpg files!! Gosh, been keeping them in my HDD for ages cuz couldn't find a way to solve my problem. You are the best!

Btw, do you know how to fix it for KMPlayer? It's still my favourite video player though, lol.

Genius24k said...

Sorry have never used KMPlayer :)

Michel Maas said...

Wow, really helped me! Thanks mate!

Anonymous said...

Didn't work for me ((

Anonymous said...

Try getting a faster pc haha. It did'nt work for me but SM Player does play h264. Try that

cborgon said...

Thank you very much! Works perfectly.

Anonymous said...

wow wow wow wow wow wow wow wow wow wow wow.... You are the best...The best...Thanks a TON...Works like a charm...

Anonymous said...

I´m brasilian! Very good!Work perfect!! Thanks a lot!

Unknown said...

Thanks so much. Your suggestions really worked.

Unknown said...

Thanks very much for your advice.
Works great!

Anonymous said...

Thank you very much - it helped! a lot :)

Kamlanjan Kokolu said...

finally a perfect solution.. Thanks a ton..

jan said...

thank you, now my disappointment over my new notebook is gone and only the beautiful picture stayed, I would never have thought about this

Anonymous said...

dude u rock... :)

Anonymous said...

hoooooooooooooo its not working for me,,,, anyway thanks...

magnogmusic said...

thanks and many blessings to you for yr. help regarding the vlc player! i own an ancient dinosaur of a computer and could not play a majority of the 10-bit anime encodes out there - it now is smooth like buttah.....genius!!!

vaffangool said...

This is totally unnecessary:

Then click on x264 on "H.264 profile" select "main"

Because x264 is an encoder, selecting a less-complex level has absolutely no effect on task of decoding the video stream.

It doesn't place any more stress on your processor--it's just categorically irrelevant.

freefree said...

Thank you very much - it helped! a lot :)

For suggestion and concerns E-mail