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 > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th August 2019, 13:55   #1  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
FFmpeg vs x265 + AVS/VPY ?

Hi,
I would like to know if there is an interest to use x265 + AVS/VPY instead of FFmpeg ?
Any speed gain ? Any quality gain ? With the same parameters of course.
Thank you.
Nico8583 is offline   Reply With Quote
Old 5th August 2019, 17:51   #2  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
I've never used ffmpeg to do x265 encoding. Always AVS/VPY piped to x265. I'm not seeing any benefits using ffmpeg in my use case.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 5th August 2019, 18:17   #3  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thank you. FFmpeg is easier to use than create a script and pipe to x265 when the script is very basic. What do you use to pipe for each ?
Nico8583 is offline   Reply With Quote
Old 5th August 2019, 23:53   #4  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
avs4x264mod if I understand your question correctly.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 6th August 2019, 07:16   #5  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thank you
Nico8583 is offline   Reply With Quote
Old 13th November 2021, 00:07   #6  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Two years later, I'm getting up this topic to get new tips if anyone has it
Is there a difference (quality, speed) between FFmpeg as decoder+encoder versus AviSynth/VapourSynth (with plugins ?) as decoder + x265 as encoder ? Without any filters, just serve the source as it.
Thanks !
Nico8583 is offline   Reply With Quote
Old 13th November 2021, 14:42   #7  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,902
Quote:
Originally Posted by Nico8583 View Post
Two years later, I'm getting up this topic to get new tips if anyone has it
Is there a difference (quality, speed) between FFmpeg as decoder+encoder versus AviSynth/VapourSynth (with plugins ?) as decoder + x265 as encoder ? Without any filters, just serve the source as it.
Thanks !
Yes.
Technically, using FFMpeg would allow you to skip the indexing part and serve the decoded frames on the fly.
That being said, I've never used FFMpeg to decode and encode anything directly.
Also you would have no control over which build of libx265 is being used and which assembly optimizations have been used in the build (SSE, SSE2, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512). On top of that, I don't trust FFMpeg 'cause I don't know if it's actually turning on some filters under the hood, so my suggestion is to stick with Avisynth + x265
FranceBB is offline   Reply With Quote
Old 21st November 2021, 21:56   #8  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Quote:
Originally Posted by FranceBB View Post
Yes.
Technically, using FFMpeg would allow you to skip the indexing part and serve the decoded frames on the fly.
That being said, I've never used FFMpeg to decode and encode anything directly.
Also you would have no control over which build of libx265 is being used and which assembly optimizations have been used in the build (SSE, SSE2, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, AVX512). On top of that, I don't trust FFMpeg 'cause I don't know if it's actually turning on some filters under the hood, so my suggestion is to stick with Avisynth + x265
ffmpeg is fine. It doesn't turn on any filters just like that. You have full control. Also if at the end you need to mux elementary streams with ffmpeg your can actually have more problem when you use already existing streams.
Avisynth/vs has other more important benefits than this compared to ffmpeg. If you need a lot of filters then nothing can beat avs/vs.

ffmpge allows you to control builds- it always says which x264/5 build it's using and you can aways build ffmpeg with specific x264/5 version if needed.

If anything I'm not that confident with avs/vs input filters, except avi (plenty issues with frame accuracy, missing frames etc). For me it's avs/vs weakest part (ffms2 is far from been very reliable).

Last edited by kolak; 22nd November 2021 at 17:11.
kolak is offline   Reply With Quote
Old 13th November 2021, 17:51   #9  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thanks !
Which AviSynth version and which plugin (to serve H264/H265, FHD/UHD, HDR10/HDR10+/DoVi streams) would you recommend ? I'm using Windows 10 x64 and Ryzen 7 3700X.
Thanks.
Nico8583 is offline   Reply With Quote
Old 22nd November 2021, 17:19   #10  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Quote:
Originally Posted by Nico8583 View Post
Thanks !
Which AviSynth version and which plugin (to serve H264/H265, FHD/UHD, HDR10/HDR10+/DoVi streams) would you recommend ? I'm using Windows 10 x64 and Ryzen 7 3700X.
Thanks.
Latest Avisynth+ together with DGSource (if you have an nVidia GPU).
videoh is offline   Reply With Quote
Old 22nd November 2021, 12:33   #11  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thanks kolak !
Which version/build of FFmpeg do you use ? And are you on Windows or Linux ?
Nico8583 is offline   Reply With Quote
Old 22nd November 2021, 17:10   #12  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
It doesn't matter much which you use.
Use latest stable build.
I use own build as I needed more AAC encoding options.
kolak is offline   Reply With Quote
Old 22nd November 2021, 17:51   #13  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thanks !
I don't have an nVidia GPU, just an Intel GPU
Nico8583 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 14:03.


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