Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th May 2021, 00:32   #1  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
Are the x264vfw and x264 8 bit/10 bit encoders similar to each other?

While I heard of this codec on on other forums, I never would had thought that it was actually a command line or even that it was good for animation. I also have similar encoders in the form of x264 8 bit/10 bit in Virtualdub however I have no idea if there similar to the one made for windows. What I would like to know if these codecs are similar or if there are any significant differences between the two?
GAP is offline   Reply With Quote
Old 18th May 2021, 03:04   #2  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
They are very similar, based on the same code in fact.

Any differences are down to the limitations of VFW and different versions of the code (x264vfw is based on an older version of x264). Whether or not these differences are significant depends on what you need, but anything encoded by either can be played back using the same decoder.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 20th May 2021, 12:20   #3  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
So where does SAR and DAR fit in? And which is better?
GAP is offline   Reply With Quote
Old 25th May 2021, 21:37   #4  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
x264 is a H.264 (AVC) encoder library.

You can use x264 in many different ways: It comes with an "official" command-line encoder. Other options include FFmpeg (also command-line) as well as Avidemux (GUI application), both of which integrate the x264 library directly.

The VfW (Video for Windows) wrapper, alias "x264vfw", is yet another option. It allows to integrate x264 into any application that support the VfW interface, such as VirtualDub.

Regardless of which one of all these options you choose, the "core" x264 encoder library is always exactly the same!

However, one thing that you should be aware of is that "x264vfw" is no longer maintained by the x264 team. Other people have continued updating "x264vfw", every now and then, but it may be lacking behind the latest x264 development.

Also note: A while back, x264 could be built either as "8-Bit" or "10-Bit" variant, so separate "8-Bit" and "10-Bit" libraries were used. Latest x264 has now merged "8-Bit" and "10-Bit" support into a single "multilib" binary.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 25th May 2021 at 21:54.
LoRd_MuldeR is offline   Reply With Quote
Old 1st June 2021, 07:24   #5  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
Where do I find the latest version of x264 that merges elements of "8-Bit" and "10-Bit"? And is it still widely used? I was looking for an Xvid alternative and I learned that x264 is better than Xvid.
GAP is offline   Reply With Quote
Old 1st June 2021, 21:23   #6  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
https://artifacts.videolan.org/x264/release-win64/

x264 is still widely used, and is better than Xvid too.
__________________
madVR options explained

Last edited by Asmodian; 1st June 2021 at 21:29.
Asmodian is offline   Reply With Quote
Old 2nd June 2021, 10:54   #7  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by GAP View Post
Where do I find the latest version of x264 that merges elements of "8-Bit" and "10-Bit"?
This was implemented in x264 back in 2017! So it should be included in any build of x264 from the past ~4 years
https://github.com/mirror/x264/commi...45522e57127db4

You now use the command-line option "--output-depth" to select the desired output bit-depth, instead of having to use separate "8-bit" and "10-bit" binaries of x264.

For the latest x264 binaries, I suggest you also have a look here:
https://www.mediafire.com/?bxvu1vvld31k1

Quote:
Originally Posted by GAP View Post
And is it still widely used?
Yes, x264 is by far the most widely used H.264 (AVC) software encoder. But H.265 (HEVC) and other "new" formats (e.g. AV1) are becoming more popular these days.

Quote:
Originally Posted by GAP View Post
I was looking for an Xvid alternative and I learned that x264 is better than Xvid.
Xvid is an encoder for the MPEG-4 ASP format, whereas x264 is an encoder for the H.264 (AVC) format. So that's two different pairs of shoes!

Having said that, there is really no reason to use the old MPEG-4 ASP format (and thus Xvid) nowadays, except maybe for compatibility to "legacy" devices that cannot support the H.264 format.

Using the H.264 format (preferably via x264 encoder) will usually give you much better results at the same bitrate, compared to old MPEG-4 ASP format!

Of course, we have even newer formats, such as H.265 (HEVC) and AV1, by now. So you probably want to check out x265 as well! x265 is the "H.265 (HEVC)" counterpart to x264.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 2nd June 2021 at 11:08.
LoRd_MuldeR is offline   Reply With Quote
Old 5th July 2021, 03:43   #8  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
Is there a difference between DAR and SAR?
GAP is offline   Reply With Quote
Old 5th July 2021, 19:42   #9  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 293
https://en.wikipedia.org/wiki/Aspect...)#Distinctions
lvqcl is offline   Reply With Quote
Old 13th July 2021, 17:02   #10  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by GAP View Post
Is there a difference between DAR and SAR?
At some stage sample aspect ratio became commonly used instead of pixel aspect ratio, but it can also mean storage aspect ratio (width / height).

There's a table of pixel/sample aspect ratios here for PAL and NTSC. As a rule of thumb use the mpeg4 PARs for 4:3 DVDs and the generic PARs for 16:9 DVDs, unless they're old or the source was originally analogue or they have a reasonable amount of black/crud down each side, in which case they'd probably also use an mpeg4 PAR.

https://forum.doom9.org/showthread.p...27#post1058927

The ITU and mpeg4 SARs/PARs are interchangeable as they're virtually the same, but the mpeg4 PARs are easier to remember. You can work out the corresponding DARs with the formula Width×PAR/Height but the generic PARs result in exact 16:9 and 4:3 DARs for both PAL and NTSC. The mpeg4 PARs result in DARs of 20:11 or 15:11 for both PAL and NTSC.

Last edited by hello_hello; 13th July 2021 at 17:18.
hello_hello is offline   Reply With Quote
Old 23rd July 2021, 01:40   #11  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
I have an older version of x264vfw that I am planning on using on Windows XP. Are the settings similar to the newer versions? Or do I need to use the newer versions on a newer computer? It is a 2017 version of x264vfw and I am mostly planning on recording in AVI before converting to MP4 in Virtualdub2. Is it just as good or am better just getting a newer version?
GAP is offline   Reply With Quote
Old 23rd July 2021, 09:32   #12  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by GAP View Post
It is a 2017 version of x264vfw and I am mostly planning on recording in AVI before converting to MP4 in Virtualdub2.
Why the AVI container?
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 23rd July 2021, 17:46   #13  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
Quote:
Originally Posted by SeeMoreDigital View Post
Why the AVI container?
Because I do not know how to export it as MP4. I mostly use Virtualdub2 for that but is there a way to export it as MP4?
GAP is offline   Reply With Quote
Old 23rd July 2021, 17:53   #14  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
Quote:
Originally Posted by GAP View Post
Because I do not know how to export it as MP4. I mostly use Virtualdub2 for that but is there a way to export it as MP4?
Select: File -> Save Video... And under 'Save as type:' select '.MP4' or even '.MKV'

Here's an example:

__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 23rd July 2021 at 18:03.
SeeMoreDigital is offline   Reply With Quote
Old 24th July 2021, 23:33   #15  |  Link
GAP
Registered User
 
Join Date: Sep 2020
Posts: 135
Quote:
Originally Posted by SeeMoreDigital View Post
Select: File -> Save Video... And under 'Save as type:' select '.MP4' or even '.MKV'

Here's an example:

Thanks for that.

Edit: Although the program I used to dump my videos with only records in AVI. I will look for other ways to dump my videos in MP4.

Last edited by GAP; 25th July 2021 at 01:08.
GAP is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.