Picking encoder / decoder technology

VIRB Edit 3.4 introduced allowing the user to pick which encoder and decoder to use.

You can select this under Settings / General / Advanced.

Encoder (only affects export / sharing):
Media Foundation: Fast, lower quality. Cannot create videos bigger than 4GB on Windows 7, and cannot create videos larger than 1920x1080 or frame rates greater than 120fps. These constraints are caused by Microsoft, so they cannot be fixed by us.
Ffmpeg: Slow (extremely slow at higher quality settings), high quality. No file size or resolution constraints. Produces smaller files than Media Foundation.

Decoder (affects export/sharing and playback):
Media Foundation: (Fast over all performance, but low quality and can't read videos that are too big) Uses graphics hardware, but with lower quality (causes some color quality loss causing videos to look gray). Does not work with videos larger than 1080p. Uses lots of memory
Ffmpeg: (Very fast on PCs with decent CPUs) Higher quality with no resolution constraints. Uses less memory. CPU power is the limiting factor on speed. Fastest performance for PCs with newer CPUs, very very slow for machines with older or slower CPUs.
DXVA: (Really really fast on laptops / notebooks) Uses graphics hardware with comparable quality to ffmpeg. Extremely fast on laptops and other devices with integrated graphics hardware. Slower on machines with dedicated graphics cards. No constraints on resolution.

Summary
Over all, if you have a laptop, DXVA is likely your best option. For PC users, if you want high quality and don’t mind waiting, use Ffmpeg for everything. If you want your video faster, use Media Foundation for everything. Using the Media Foundation decoder and Ffmpeg encoder is a good compromise between quality and speed.
  • Former Member
    0 Former Member over 8 years ago
    slowly flanagan

    @EnduroKTM This is very interesting, thank you! The way I read the data, it looks like the decoding technology you use has almost no impact on export speed, it is all about the encoder. All tests that used Media Foundation to encode took on the order of 30 seconds, while all the ones that used ffmpeg took around 5:00. That is quite a difference! Sadly, on Windows 7, the Media Foundation encoder cannot produce files larger than 4GB, so its not a viable universal option

    Using the max quality setting is sure to make things slow. I'd be curious to see what difference using medium quality makes.


    Yeah not a lot of difference however that is only 10 seconds of video.. Imagine how long it would take do a 5 Minute video..

    My biggest gripe is the colour loss when you want it fast. Blacks turn to a dull grey, everything just seems to get duller. I'm yet to experiment with colour correction using Adobe Premiere or Youtube's colour correction.

    Real shame there is no middle ground. I can try doing medium and high settings, but I don't really want to lose quality or I might as well film in 720p.
  • My biggest gripe is the colour loss when you want it fast. Blacks turn to a dull grey, everything just seems to get duller.


    For that, I´d suggest to implement a setting for a preview-decoder and a rendering-decoder.

    If this is separated, you are able to preview and cut the video fast, where the colorloss is unimportant. But I don´t want to change the setup all the time, when I´d like to export the video. I always want to go for the highest quality, available :)

    And thank you very much for your tests, EnduroKTM! Highly appreciated :)
  • @wilmar13
    My apologies, you are right. It turns out that when Youtube re encodes your videos, it does not handle our overlays well (or other HUD-like content), leading to significant quality loss. I'm told that the same video without overlays ends up looking pristine, which I realized doesn't help you at all. We're looking into what, if anything, we can do about this problem.


    One possible solution to this export the video in 4k for upload to YouTube. The 1080p version will still look pretty average around the gauges, however if you play the 4k version (even if your screen is only 1080p), the gauges will look perfect. It's not the best solution as most people won't view in 4k if they don't have a 4k monitor, but it does give you an option.

    Regards,
    Brett
  • I do not want to re-encode the videos with Virb Edit (last ver.)....
    I just want to use the PNG sequence and edit my video in Adobe Premiere!!
    I have 3 hours of onboard video with my racing team .. I need the 3h video :p
    I have a pc with 64gb ram and an nvidia 980gtx and this one takes too much :( (+ 4h encoding and then + 2.5h doing the png sequence)
    By size I can only use ffmpeg :(

    There is no option to export only PNG? and spend only 2.5h .. work with my project in premiere and render in just 10min with AME ¿?
    I have not been able to find this option .. where is it?
  • Former Member
    0 Former Member over 7 years ago
    Same here

    I do not want to re-encode the videos with Virb Edit (last ver.)....
    I just want to use the PNG sequence and edit my video in Adobe Premiere!!
    I have 3 hours of onboard video with my racing team .. I need the 3h video :p
    I have a pc with 64gb ram and an nvidia 980gtx and this one takes too much :( (+ 4h encoding and then + 2.5h doing the png sequence)
    By size I can only use ffmpeg :(

    There is no option to export only PNG? and spend only 2.5h .. work with my project in premiere and render in just 10min with AME ¿?
    I have not been able to find this option .. where is it?


    If you figure this out please let me know! I want to know as well for the exact same reasons!
  • best format for youtube upload?

    Not sure if this is out of scope for thread but I have been very disappointed with video quality uploaded to youtube.

    I will have to try a test with the Ffmpeg export format, but not sure that will solve the issue.

    After I export a video that is crystal clear in Virb Edit, to an MP4 file, that MP4 file still looks 95% as good on my PC. After I upload to youtube, it looks terrible and the image is often very blurry. Have tried 1080p 30fps, 720p in both 30 and 60fps, all same result. I assume the issue is on youtube, but clearly other people manage to get files uploaded in some format that stay clear after upload for sharing.


    I have the same problem that you have found some solution?
    Thanks for advance
  • I have the same problem that you have found some solution?
    Thanks for advance


    I am also having this problem. The video, recorded with a gopro at 720 res and 60 fps and processed with virb edit (adding segments, g-metrix, gauges, music, etc) plays excellently in my laptop (gaming ASUS with i7, 16Gb RAM, Nvidia geoforce gtx 850 M) but when I upload it to youtube the quality is bad and blurry (even forcing 720res) . A friend of mine, with similar setup gets excellent youtube videos with no blurry

    Any ideas what could be wrong in my setup?