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 13th May 2024, 21:38   #1  |  Link
burnix
Registered User
 
Join Date: Jan 2003
Posts: 55
ffmpeg versus x265 speed

Hi community.

Since 2 or 3 years i use a 2 pass ffmpeg script to encode my 1080p video in h265 700kbs. I use veryfast profile that give me really good result.

Recently after some search over internet to found a cost effective cpu mainboard to buy to encode my films, i have read, that recent x265 build are more efficcient than ffmpeg.

Can someone confirm that and can someone give me an example of a 2 pass x265 encoding script.

Thanks.
burnix is offline   Reply With Quote
Old 14th May 2024, 06:33   #2  |  Link
Ritsuka
Registered User
 
Join Date: Mar 2007
Posts: 103
If you are already using x265 with ffmpeg, there won't be any difference in using the stand-alone version.
Ritsuka is offline   Reply With Quote
Old 14th May 2024, 16:55   #3  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 344
If you're using veryfast profile you'd be better off to just buy an Intel Arc GPU and call it a day, as Arc encodes are comparable to x265 medium preset, with astounding speeds.
RanmaCanada is offline   Reply With Quote
Old 30th November 2024, 14:08   #4  |  Link
burnix
Registered User
 
Join Date: Jan 2003
Posts: 55
Thanks for your response. But my goal is to obtain low bitrate (700k video at hd resolution). Do you think i can acheave that with good quality on arc chips ????
burnix is offline   Reply With Quote
Old 1st December 2024, 09:10   #5  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Posts: 329
At this point I'd suggest really consider using AV1.
Z2697 is offline   Reply With Quote
Old 1st December 2024, 22:45   #6  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,435
Quote:
Originally Posted by burnix View Post
But my goal is to obtain low bitrate (700k video at hd resolution). Do you think i can acheave that with good quality on arc chips ????
Yes, better than the veryfast profile, at least.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 11th December 2024, 18:43   #7  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,936
Quote:
Originally Posted by Asmodian View Post
Yes, better than the veryfast profile, at least.
At likely at least as fast. On reasonably modern mid-tier desktop hardware, there's rarely a material perf difference between veryfast and faster if there's decoding and preprocessing going on; the bottleneck will be in other elements.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 11th December 2024, 18:55   #8  |  Link
burnix
Registered User
 
Join Date: Jan 2003
Posts: 55
Thanks benwaggoner for your response (i've read a lot of your post). But for low bitrate and even on a 13th i5 proc, hardware encoding is still blocky.

i'm not expert enough in hardware encoding and vpp filter so i keep my 2 pass ffmpeg hevc 800k software script but it take very long time (even on xeon).

The reality is that hardware encoders are made to fast transcoding at hight bitrate.

Thanks all for your help and if i dont come here before the end of the year, merry christmas and an happy new year
burnix is offline   Reply With Quote
Old 12th December 2024, 01:25   #9  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,936
Quote:
Originally Posted by Z2697 View Post
At this point I'd suggest really consider using AV1.
Not if extremely fast encoding speed is a requirement!
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 12th December 2024, 01:34   #10  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,936
[QUOTE=burnix;2011334]Thanks benwaggoner for your response (i've read a lot of your post). But for low bitrate and even on a 13th i5 proc, hardware encoding is still blocky.

i'm not expert enough in hardware encoding and vpp filter so i keep my 2 pass ffmpeg hevc 800k software script but it take very long time (even on xeon).
Quote:
Do you know that the encoder is the bottleneck versus other processing you're doing? Try using incrementally slower, better presets and use the best one that gives you acceptable speed. Veryslow turns off a ton of the features that help HEVC at low bitrates.

The reality is that hardware encoders are made to fast transcoding at hight bitrate.
Yeah, HW encoders are much faster, but given enough time, a well-tuned, slow SW encoder can deliver similar quality at 10-25% lower bitrate, but at >10x the encoding time.

800 Kbps is way too low to expect good quality with typical film/video HEVC at any encoding speed. If you're willing to spend >10x encoding time you can make it less bad, but not good (unless is is clean animation or something easy to encode).
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 12th December 2024, 09:28   #11  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Posts: 329
Quote:
Originally Posted by benwaggoner View Post
Not if extremely fast encoding speed is a requirement!
Some svt-av1 presets run faster than x265, but what I meant is low bitrate.

Even for the faster side, svt-av1 is still better at low bitrate.
Z2697 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 09:19.


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