VideoHelp Forum
+ Reply to Thread
Page 1 of 4
1 2 3 ... LastLast
Results 1 to 30 of 104
Thread
  1. I was using Avidemux a lot to test encoding times. Basically I was testing one computer's CPU vs another. I found with certain CPU's the times were WAY off.

    Avidemux gave me a pathetic encode time of 24 minutes with a core i7 3770k w/ hyper-threading. This was done encoding a 16gb raw video file.

    I go and install Handbrake and it encodes the same file in under 4 minutes...

    Not only that but Handbrake encoded the file SMALLER by a significant amount. No quality difference at all.

    I made sure to check Avidemux settings that it was using all cores. Still no difference.

    I reproduced the results on a vast number of CPU's. Handbrake always encoded faster with smaller files - H264 high definition.

    Why would I ever touch Avidemux again? For simple editing? It can't even do that. I was trying to combine flash clips and it totally warped the audio and slowed down the whole video. I can use a free editing program instead of goofing with Avidemux.

    Someone tell a use for this program. I really liked it at first for it's simplicity until I found out these astonishing results.
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by DUDERANCH View Post
    I was using Avidemux a lot to test encoding times. Basically I was testing one computer's CPU vs another. I found with certain CPU's the times were WAY off.

    Avidemux gave me a pathetic encode time of 24 minutes with a core i7 3770k w/ hyper-threading. This was done encoding a 16gb raw video file.

    I go and install Handbrake and it encodes the same file in under 4 minutes...

    Not only that but Handbrake encoded the file SMALLER by a significant amount. No quality difference at all.

    I made sure to check Avidemux settings that it was using all cores. Still no difference.

    I reproduced the results on a vast number of CPU's. Handbrake always encoded faster with smaller files - H264 high definition.

    Why would I ever touch Avidemux again? For simple editing? It can't even do that. I was trying to combine flash clips and it totally warped the audio and slowed down the whole video. I can use a free editing program instead of goofing with Avidemux.

    Someone tell a use for this program. I really liked it at first for it's simplicity until I found out these astonishing results.
    Spoken like a true amateur who doesn't know whether to wind his butt or scratch his watch.
    Quote Quote  
  3. Member
    Join Date
    Feb 2008
    Location
    United States
    Search Comp PM
    Both AviDemux and Handbrake use x264. If one is faster or gives a different file size it means you are using different settings in each one. You can't really compare it in that case.

    I combine flash videos all the time using AviDemux and never had the problems you described. I suspect there is something wrong with your source files. Many times a flv file is not properly indexed or has corrupted meta data.
    Quote Quote  
  4. Originally Posted by hech54 View Post
    Originally Posted by DUDERANCH View Post
    I was using Avidemux a lot to test encoding times. Basically I was testing one computer's CPU vs another. I found with certain CPU's the times were WAY off.

    Avidemux gave me a pathetic encode time of 24 minutes with a core i7 3770k w/ hyper-threading. This was done encoding a 16gb raw video file.

    I go and install Handbrake and it encodes the same file in under 4 minutes...

    Not only that but Handbrake encoded the file SMALLER by a significant amount. No quality difference at all.

    I made sure to check Avidemux settings that it was using all cores. Still no difference.

    I reproduced the results on a vast number of CPU's. Handbrake always encoded faster with smaller files - H264 high definition.

    Why would I ever touch Avidemux again? For simple editing? It can't even do that. I was trying to combine flash clips and it totally warped the audio and slowed down the whole video. I can use a free editing program instead of goofing with Avidemux.

    Someone tell a use for this program. I really liked it at first for it's simplicity until I found out these astonishing results.
    Spoken like a true amateur who doesn't know whether to wind his butt or scratch his watch.
    who are you... the creator of Avidemux?

    I can show you tests if you want.

    All settings are the same.

    x264
    container mp4
    quality - 18

    There is no excuse whatsoever for Avidemux taking 20+ minutes to render on an i7. Handbrake does it with proper times, Avidemux does not.
    Quote Quote  
  5. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    and there is no excuse for you being so rude and unappreciative of the people who write these programs and make them available for free - I guess you are from the gimme generation...

    A much nicer way of posting whould be "why is Avidemux slower than Handbrake in my experience?" Methinks you may have received some useful information.
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  6. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by DUDERANCH View Post
    Handbrake does it with proper times, Avidemux does not.
    I'm a huge fan of HandBrake too. Even my wife is a HandBrake fanatic......but we both know the difference between an editor and a transcoder.....one of the many things apparently you do NOT know.
    Quote Quote  
  7. Originally Posted by hech54 View Post
    Originally Posted by DUDERANCH View Post
    Handbrake does it with proper times, Avidemux does not.
    I'm a huge fan of HandBrake too. Even my wife is a HandBrake fanatic......but we both know the difference between an editor and a transcoder.....one of the many things apparently you do NOT know.
    I would think it would come down to the codecs themselves, not how the editor is coded? No?

    Also don't take the word bad so serious.
    Quote Quote  
  8. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by DUDERANCH View Post
    Originally Posted by hech54 View Post
    Originally Posted by DUDERANCH View Post
    Handbrake does it with proper times, Avidemux does not.
    I'm a huge fan of HandBrake too. Even my wife is a HandBrake fanatic......but we both know the difference between an editor and a transcoder.....one of the many things apparently you do NOT know.
    I would think it would come down to the codecs themselves, not how the editor is coded? No?

    Also don't take the word bad so serious.
    When you are in a hole....stop digging.
    Originally Posted by DUDERANCH View Post
    I can use a free editing program instead of goofing with Avidemux.
    Avidemux is a free video editor
    https://www.videohelp.com/tools/AviDemux
    Quote Quote  
  9. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    I like Avidemux, and I would use it more if not for one oddity.

    I've found Avidemux to be about 33% slower when encoding to x264 than when using Ffmpeg to encode to x264.
    That's with no filters in Avidemux and copying the audio.
    The identical settings used in both Avidemux and Ffmpeg, and the output file sizes are identical.

    Why is Avidemux slower ?
    Quote Quote  
  10. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by gregalan View Post
    Why is Avidemux slower ?
    Because FFMpeg isn't an editor?
    Quote Quote  
  11. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    I know Ffmpeg isn't an editor, but with no editing in Avidemux shoudn't the encode be closer to the same speed ?

    Doesn't avidemux use Ffmpeg and x264 code to decode/encode the video ?
    Last edited by gregalan; 9th Aug 2013 at 02:09.
    Quote Quote  
  12. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    I need to correct that speed difference, I forgot I was using a 64 bit build of FFmpeg.
    I tested with a 32 bit build of FFmpeg to compare to 32 bit avidemux and FFmpeg is stil around 25% faster.
    Last edited by gregalan; 9th Aug 2013 at 02:23.
    Quote Quote  
  13. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by gregalan View Post
    I know Ffmpeg isn't an editor
    Then why are you comparing it to an editor? Why not compare the speed differences between all of the other various front-ends available for FFMpeg that also are not editors?
    Quote Quote  
  14. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    Jeesh !!

    I was just comparing the encoding speed, shouldn't the encoding speed be pretty close if it's just a simple transcode with no filters and copy audio ?

    Then I suppose you advise everyone to not use Avidemux as an encoding frontend then right ?

    Just to be clear I don't think Avidemux is "bad", it's just slower than FFmpeg.
    I also compared Mencoder, it's a lot slower than Avidemux.

    I don't usually use frontends to encode, I prefer the command line so I can't say anything about other frontends.
    Last edited by gregalan; 9th Aug 2013 at 03:04.
    Quote Quote  
  15. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by gregalan View Post
    I was just comparing the encoding speed, shouldn't the encoding speed be pretty close if it's just a simple transcode with no filters and copy audio ?
    Should encoding speed be close between an editor and a dedicated transcoder? I don't remember seeing any such claims in AviDemux's documentation. Do the free gregalanEditor and DUDERANCHEditors claim such speeds?

    Originally Posted by gregalan View Post
    Then I suppose you advise everyone to not use Avidemux as an encoding frontend then right ?
    I recommended HandBrake to my wife for her DVD to iPhone encoding because she has no need to edit any of the DVD footage. Is that what you are trying to ask me?

    Now if I need to losslessly edit DVD footage(cutting on key frames of course), Avidemux is pretty high on my list along with MPEGVCR. If I need to exchange/replace audio in a video file(MPEG2 mostly) and adjust the sync of the new audio to the video then Avidemux is on TOP of my list of chosen software. I then output those results(with ZERO video quality loss/changes) to a new MPEG2 file with brand new LPCM audio(if the replacement audio came from a CD). Then if I need an iPod/iPhone version to take with me I break out HandBrake because it's usually faster because it's a dedicated transcoder.

    Does that about take care of it for you?
    Quote Quote  
  16. btw. small idea, to be sure the tools really use the same x264 settings compare the outputs with MediaInfo, the 'Encoding settings' should show if different settings were used or not.
    Quote Quote  
  17. Originally Posted by gregalan View Post
    I was just comparing the encoding speed, shouldn't the encoding speed be pretty close if it's just a simple transcode with no filters and copy audio ?
    No. Just because you used the same quality setting (CRF value) that doesn't mean all the other x264 encoder settings are the same. Which Handbrake preset did you use? The High Profile preset uses the default x264 settings and will probably be the slowest Handbrake preset. There's many x264 settings which can dramatically effect encoding speed.

    x264 has it's own speed presets built in. The default is "Medium". They're designed to automatically change x264's advanced settings to give you an appropriate balance between encoding speed and quality/file size (so you don't need to fiddle with advanced options yourself). Handbrake gives you access to x264's speed presets (at least the latest version does). Try running an encode using the default medium preset, then again using one of the fast presets, then again using one of the slow presets.... you'll get the idea. You'll find the x264 speed presets under Handbrake's encoder configuration.

    I have no idea what x264 settings Avidemux uses by default. If it's the default x264 settings and you used one of Handbrake's own presets which doesn't, then Handbrake will probably be faster, or much faster..... depending on the Handbrake preset you use.

    The basic rule of thumb would be to start with x264's default settings (High Profile for Handbrake) and pick a quality you're happy with. Then adjust the x264 speed preset to the slowest you can stand (the Medium speed preset is fine to use). At the same CRF value (quality) slower presets will probably reduce the output file size for the same quality but there's no guarantee.... sometimes the output file size may increase.... that's a whole other story but it depends on the video being encoded. If you use 2 pass encoding (preselect an output file size) slower speed presets should (theoretically) increase the quality a little for a given CRF value.

    Keep in mind the above can be "theoretical" to a certain extent. For example if you run an encode using CRF 18 and the medium speed preset, then the same encode again using CRF 18 and a slower preset, the encoding speed will be different, the output file size will be different, but the quality may appear identical. At a high enough quality setting any differences in quality might be there in theory, but nothing you'll physically see etc. Or the quality may be the same but the slower speed preset allowed the encoder to compress the video more efficiently.

    PS A little while ago I ran some test encodes using Handbrake vs the commandline version of x264 (MeGUI) because someone said they thought the latest version of Handbrake was slower than the previous version. There were some small differences when running 2 pass encodes (slightly different first pass speed) but for CRF (quality) encoding using identical x264 settings the encoding speed was virtually the same.
    Last edited by hello_hello; 9th Aug 2013 at 07:43.
    Quote Quote  
  18. Member
    Join Date
    Mar 2011
    Location
    Nova Scotia, Canada
    Search Comp PM
    Originally Posted by DUDERANCH View Post
    Originally Posted by hech54 View Post
    Originally Posted by DUDERANCH View Post
    I was using Avidemux a lot to test encoding times. Basically I was testing one computer's CPU vs another. I found with certain CPU's the times were WAY off.

    Avidemux gave me a pathetic encode time of 24 minutes with a core i7 3770k w/ hyper-threading. This was done encoding a 16gb raw video file.

    I go and install Handbrake and it encodes the same file in under 4 minutes...

    Not only that but Handbrake encoded the file SMALLER by a significant amount. No quality difference at all.

    I made sure to check Avidemux settings that it was using all cores. Still no difference.

    I reproduced the results on a vast number of CPU's. Handbrake always encoded faster with smaller files - H264 high definition.

    Why would I ever touch Avidemux again? For simple editing? It can't even do that. I was trying to combine flash clips and it totally warped the audio and slowed down the whole video. I can use a free editing program instead of goofing with Avidemux.

    Someone tell a use for this program. I really liked it at first for it's simplicity until I found out these astonishing results.
    Spoken like a true amateur who doesn't know whether to wind his butt or scratch his watch.
    who are you... the creator of Avidemux? ...
    No, he's actually one of the users here who know what they're talking about.

    Unlike you.
    Quote Quote  
  19. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    "No. Just because you used the same quality setting (CRF value) that doesn't mean all the other x264 encoder settings are the same. Which Handbrake preset did you use? The High Profile preset uses the default x264 settings and will probably be the slowest Handbrake preset. There's many x264 settings which can dramatically effect encoding speed."

    All settings were identical, I made sure of that.
    I set all the x264 options in Avidemux to be equal to the "veryfast" preset.
    I double checked with media info to make sure the x264 settings were the same in the output files, also the encoded file sizes were identical.
    Last edited by gregalan; 9th Aug 2013 at 19:31.
    Quote Quote  
  20. Banned
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    there just so many wrong things said in this thread, by both sides i might add, that it's very difficult to know where to begin.

    1) the OP said that handbrake produce the destination file 5 times faster with a much smaller file size to boot but he also claims that he used the exact same settings between avidemux and handbrake. the much smaller file size produced by handbrake at the same crf should be a dead giveaway that the same bit rate wasn't used for both encodes and that the settings differed substantially between applications.

    BUT, the position that a video editor should not be expected to encode video at the same speed as a transcoder, when both applications are using the same underlying encoder for the encoding duties is ridiculous beyond belief because, wait for it, in both cases neither app is actually doing the encoding, they are both acting as front ends for the underlying encoder.

    of course there another big but because I LIKE BIG BUTTS AND I CAN NOT LIE, sorry i thought i was Sir Mix Alot for a second, even if both apps use the same decoder and underlying encoder there are still differences in how they handle I/O, what version of a particular decoder/encoder they are using and more importantly what compiler options they used in the case of open source software where the developer builds the underlying encoder from source. using a different compiler build with different compiler optimization options can and does have big difference in final app performance.

    having said that, in my experience, avidemux does seem to finish encodes slower than other apps, including video editing apps, like virtual dub. i strongly believe they use less than optimal build options when they compile their app or more likely that cheesy gcc compiler they use sucks balls (it really is worth every penny you pay for it).
    Quote Quote  
  21. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by gregalan View Post
    I double checked with media info to make sure the x264 settings were the same in the output files, also the encoded file sizes were identical.
    Identical?
    In every way?
    Do you know what the odds of that are?

    I'd LOVE to see a screenshot of that.


    Of course we will never see the screenshot.
    We MAY see a MediaInfo text file but I'm SURE you won't edit it to make the two encodes identical....RIGHT?
    Quote Quote  
  22. if the MediaInfo encoding settings data is identical, the next thins that can differ is the used filters
    Quote Quote  
  23. Originally Posted by gregalan View Post
    All settings were identical, I made sure of that.
    I set all the x264 options in Avidemux to be equal to the "veryfast" preset.
    I double checked with media info to make sure the x264 settings were the same in the output files, also the encoded file sizes were identical.
    I just realised you're not the original poster. I thought you were contradicting yourself there until I worked out you're two different people.

    Well you've made me curious.... so sometime tomorrow I'll download and install AviDemux and give it a test drive while comparing the speed with Handbrake. I wouldn't say you're imaging things until I've tested it for myself..... because when it comes to computers I've learned even the impossible is possible.... even likely, so I'll take your word for it until then.

    Originally Posted by gregalan View Post
    I set all the x264 options in Avidemux to be equal to the "veryfast" preset.
    Did you run single pass encoding each time? I ask, as when I compared Handbrake and MeGUI a while back, when running 2 pass encoding with different x264 speed presets, the chosen x264 speed preset effected the speed of the first pass when using one program, but not the other (I think the first pass speed stayed pretty much the same when using MeGUI but slower speed presets slowed the first pass using Handbrake and faster ones sped it up... I think). I was a little curious as to why the two programs behaved differently, but as I virtually never run 2 pass encoding myself I didn't find the motivation to investigate.

    So AviDemux doesn't give you access to x264's speed presets? I didn't know that. I wonder if it'll be added at some stage. Or does AVIDemux let you manually add the speed presets to the command line? Maybe I should stop asking questions and just try it for myself.
    Quote Quote  
  24. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Encoding/transcoding a video in an editor is like buying Photoshop for cropping and resizing family vacation photos.
    Quote Quote  
  25. WhyTF does Avidemux use the x264 settings it does and whytf doesn't it have a button to load the x264 defaults and why are quite a few of the settings greyed out??

    I just ran a couple of quick encodes (2 minutes of the same 720p video). I clicked the "load defaults" button in MeGUI's encoder setup to load the x264 defaults as you'd expect to be able to do because not having a button to load the defaults is seriously mental....

    Then I fiddled with the advanced settings in AVIDemux's encoder setup until I thought I had most of them at their defaults, but chances are I missed a lot so I'll need to do go through the x264 wiki to work out what the defaults are, given Avidemux wasn't endowed with a button to load them automatically.....

    Anyway.... I wanted to run a couple of quick encodes tonight but I'll probably try to test it properly tomorrow. MeGUI took 35 seconds longer to encode the same 2 minutes of video. So for me.... Avidemux was quicker but no doubt that'll change when I get the x264 settings the same for each program.

    gregalan,
    How did you work out what the x264 veryfast preset settings are? I can probably work it out using MeGUI's encoder setup but unfortunately many other encoder GUIs don't change x264's advanced options in their configuration when you change the speed preset (ie Handbrake/Vidcoder) so you can't tell what the new defaults are.... which as I explained to the Vidcoder developer in a thread over at doom9 is completely mental.....

    Anyway.... I'm going to try to get AVIdemux to use the x264 defaults, but my money's on x264's settings being the cause of any encoding speed differences.... at least until I run some more tests.
    Last edited by hello_hello; 10th Aug 2013 at 10:37.
    Quote Quote  
  26. Banned
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    Originally Posted by hech54 View Post
    Encoding/transcoding a video in an editor is like buying Photoshop for cropping and resizing family vacation photos.
    how can you be so obtuse, is it deliberate? the reason why people would use a video editor to transcode a video is because maybe they don't like having numerous apps installed when one is capable of doing the job just fine.

    furthermore the line between video editor and transcoder is kind of blurred and has been for at least 10 years. most apps that you would consider a transcoder have had rudimentary editing capabilities for year, media coder, xvid4psp, xmedia recode, procoder, the venerable TMPGEnc, even handbrake has filtering and cutting capabilities, you simply set the start and end frame/time/chapter of what you want to encode, virtual dub, the list is endless.

    even people that use x264 from the command line often frame serve video to it via avisynth, unless you have a raw uncompressed source that is already edited to your liking chances are you're not feeding video straight to x264 via a cli.

    and as for family pictures, yes, i would spend the cash and buy photoshop elements rather than some free app because you never know when you're going to want to do more than just cropping and resizing.

    do you also buy your cars with the the most basic necessities like brakes, a manual transmission, base engine, steering wheel and base interior?

    or how about your meals, do you only eat that most basic of concoction needed to keep you alive or do you go for a few frills?

    you're on the wrong side of the argument on this one, sorry.
    Quote Quote  
  27. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Originally Posted by deadrats View Post
    Originally Posted by hech54 View Post
    Encoding/transcoding a video in an editor is like buying Photoshop for cropping and resizing family vacation photos.
    how can you be so obtuse, is it deliberate? the reason why people would use a video editor to transcode a video is because maybe they don't like having numerous apps installed when one is capable of doing the job just fine.
    And that is less moronic than breaking out a stopwatch to see which FREE program encodes faster then saying the slower one is "BAD" on a very busy and highly respected forum?
    The OP never mentioned anything like "just fine" in his original post.
    Quote Quote  
  28. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    The OP has gone rather quiet.

    I seem to recall a request to provide reports of both encodes just to give an idea of what, other than bitrate, is different.

    Maybe I have been living under a stone but I would have thought that 24 minutes is reasonable but then again what, in this example, is a 'RAW' file ?.

    By the same token, 4 minutes appears too quick.
    Quote Quote  
  29. Banned
    Join Date
    Nov 2005
    Location
    United States
    Search Comp PM
    Originally Posted by hech54 View Post
    And that is less moronic than breaking out a stopwatch to see which FREE program encodes faster then saying the slower one is "BAD" on a very busy and highly respected forum?
    The OP never mentioned anything like "just fine" in his original post.
    oh. i'm sorry, i didn't realize that the OP saying avidemux is "bad" for being slower than handbrake somehow brought this "very busy" forum to a crawl.

    now that you had the chance to go all batty over his statement we can all return to our "very busy" schedules of explaining to various users how to transcode and edit their porn.

    seriously, what are you smoking?
    Quote Quote  
  30. [QUOTE=deadrats;2259584]
    Originally Posted by hech54 View Post

    how can you be so obtuse, is it deliberate? the reason why people would use a video editor to transcode a video is because maybe they don't like having numerous apps installed when one is capable of doing the job just fine.

    you're on the wrong side of the argument on this one, sorry.
    Your reply loses merit since Avidemux as well as many other open source/freeware apps do come in portable form.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!