SnapperTalk

January 29th, 2009

5D MkII Video playback with VLC

5dmark2 vlc

The Canon EOS 5D MkII can shoot video in either 640×480 (VGA) or 1920×1080 (1080P, Full HD) resolution, both encoded with H.264 video compression. Playing video files in the former is easy, but the sheer amount of data that needs to be processed with 1920×1080 resolution can tax even quite modern computers.
VLC has been my video player of choice for many years as it is free, open-source, and will play virtually everything you can throw at it – but disappointingly I couldn’t get it to play 5D MkII videos without major stuttering or no playback at all.

Thanks to this post on the Photography Within blog, I’ve now found a trick that enables VLC to play these files very smoothly – you just have to change one setting:

Go to Tools > Preferences
In the lower left of the box click the checkbox “Show settings – All”
Then go to Input & Codecs > Other Codecs > FFmpeg and look for the option called “Skip the loop filter for H.264 decoding”
Change it from “none” to “all”
Restart VLC

I’ve tried it on Windows and all the 5DmkII videos that were problematic before now play perfectly. It also works on Mac, though you may not need to do it on that platform.
Bear in mind this method DOES reduce the playback quality (by not doing any de-blocking noise reduction), so if you aren’t having problems with playback then don’t do it, but if you are then it’s pretty useful.

16 Responses to ' 5D MkII Video playback with VLC '

Subscribe to comments with RSS or TrackBack to ' 5D MkII Video playback with VLC '.

  1. Tony said:

    This works perfectly! The videos now load and play instantly and correctly! Truly appreciated!

    March 1st, 2009 at 21:29 UTC

  2. Ben said:

    Tony, you’re welcome… The 5DmkII video files are quite tough for computers to play back (H.264 encoding at a very high bitrate). I believe the hack above disables the loop or deblocking filter in VLC which appears to be very processor intensive. This may result in a very slight reduction of playback quality (slightly less smoothing of jagged edges) but is extremely helpful if your processor is having trouble keeping up.

    March 9th, 2009 at 19:40 UTC

  3. Charlie said:

    Awesome, this made playback completely smooth on my computer!

    March 18th, 2009 at 19:22 UTC

  4. Videographer said:

    Hello,

    Thanks for sharing this useful information!

    For those who might be interested in Manual Control for 5D Mark II, please take a look at:
    http://5dmark2.wordpress.com

    Thanks a lot in advance.

    April 12th, 2009 at 22:27 UTC

  5. Justin said:

    Amazing! Stumbled upon this randomly, and now I can view the raw footage smoothly (on Mac). As noted, slight reduction in playback quality, but without the dropped frames and lag. Brilliant!

    April 26th, 2009 at 16:03 UTC

  6. Ben said:

    Justin, it does indeed render the footage with slightly reduced quality – notably less smoothing of the jagged parts of compression artifacts. But it’s a small price to pay for smooth motion playback compared to the constant stop-start playback interruptions that many of us were getting without using this hack. Anyway, glad you found it useful… Cheers, Ben

    April 29th, 2009 at 01:52 UTC

  7. Alejandro said:

    Ben, thanks for the tip about using VLC for playback. It works very well.
    I have a question for you. Do you know if there is a way to copy an edited video back to the CF card and have the 5DMII play it back. I have tried, after saving the final footage as H.264 format, but the camera says it cannot playback the file. I would be cool to take a final edit and play it back on anyone’s HD TV using the camera.

    Thanks for your thoughts.

    May 15th, 2009 at 21:09 UTC

  8. Ben said:

    Hi Alejandro… Can’t say I have tried that, but cannot see why it would not work, so long as it was saved back in exactly the same format. I assumed you checked that the file extension and container format (.mov or .avi) was the same as the original? Can’t really help further except to say maybe someone on one of these forums may know:
    http://www.dvinfo.net/conf/canon-eos-5d-mk-ii-hd/
    http://www.cinema5d.com/index.php

    May 15th, 2009 at 21:14 UTC

  9. HelmutsBlog » How to play 5D2 Files fluently on your PC said:

    [...] I found this recipe on http://www.snappertalk.com/index.php/20090129/5d-mkii-video-playback-with-vlc/ [...]

    July 1st, 2009 at 09:32 UTC

  10. Gary said:

    Ben,
    I changed the preferences, but my Dell is 4 years old. I plays the 5D video in short bursts, with decoding mosaic artefacs. Do you think I just need a new computer? 1.5 GHz and 2 GB RAM.
    Gary

    July 6th, 2009 at 03:23 UTC

  11. Ben said:

    Can’t say for sure but a 1.5Ghz single-core processor probably is too weak for 5DMkII playback. RAM isn’t that important, from what I understand.
    If you really want to try and get such files playing on old hardware, you might try CoreAVC codec used with Media Player Classic (they have a trial version you can use to test). I haven’t used it but some people report it useful on old hardware:

    http://www.coreavc.com/
    http://en.wikipedia.org/wiki/Media_Player_Classic

    July 6th, 2009 at 20:56 UTC

  12. Matt said:

    When people refer to some reduction of quality during playback, will that have any effect whatsoever when I ultimately render and publish my movie?

    Thanks,

    Matt

    February 23rd, 2010 at 20:48 UTC

  13. Ben said:

    Matt – VLC is a video playback tool only. The quality loss (which is fairly limited and generally much preferable to the stuttering it gets rid of) from the settings suggested in the orginal post only affects playback of the file in VLC (and on your machine). The original file is untouched.

    February 23rd, 2010 at 20:53 UTC

  14. sebh said:

    Thanx. Great help!!

    March 29th, 2010 at 10:59 UTC

  15. teppo said:

    I tried to follow your steps, btu when i got to Input and Codecs, there was no other codecs section? Hmm. anyone help me here?

    May 9th, 2010 at 16:58 UTC

  16. Ben said:

    @teppo – Are you sure you did this step?:

    In the lower left of the box click the checkbox “Show settings – All”

    May 9th, 2010 at 18:13 UTC

Leave a reply

Subscribe without commenting

Bad Behavior has blocked 1092 access attempts in the last 7 days.