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. |
![]() |
#21 | Link | |
Registered User
Join Date: Oct 2017
Posts: 56
|
Quote:
We will also push some changes, probably later today, to the xvc repo (https://github.com/divideon/xvc) with the most recent modifications related to the binding with ffmpeg. I will let you know when it's available and provide some instructions for building. |
|
![]() |
![]() |
![]() |
#23 | Link |
Registered User
Join Date: Oct 2017
Posts: 56
|
The xvc repo has been updated with the latest changes related to integration with ffmpeg: https://github.com/divideon/xvc/commits/master
As mentioned in an earlier post, the ffmpeg version with xvc support is available here: https://github.com/perher/FFmpeg/tree/release/4.0-xvc That ffmpeg version can be built using the normal process (e.g. as described at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu) with the additional steps of checking out and building xvc: Code:
cd ~/ffmpeg_sources && \ git -C xvc pull 2> /dev/null || git clone --depth 1 https://github.com/divideon/xvc && \ mkdir xvc_build && \ cd xvc_build && \ PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DBUILD_TESTS=OFF ../xvc && \ PATH="$HOME/bin:$PATH" make && \ make install We have not tested integration with HandBrake which as far as I understand would require creation of a new module definition for xvc in HandBrake's contrib folder. |
![]() |
![]() |
![]() |
#24 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,929
|
Quote:
![]()
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 10th November 2018 at 17:29. |
|
![]() |
![]() |
![]() |
#26 | Link |
Silent Reader
Join Date: Dec 2003
Location: Germany
Posts: 306
|
With mentioned settings in 1st post, that parallelization isn't possible.
Hanging at 50% utilization with an Ryzen 2700x Increased to 95% with -ctu 32 and -merange 26 (at FullHD). The highend quality settings aren't optimized for parallelism. Edit: oops xvc, not x265... sorry (have no experience with xvc, maybe parallelization is there much better) Last edited by Wishbringer; 13th November 2018 at 11:12. |
![]() |
![]() |
![]() |
#27 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,929
|
Easy if you divide movie in chunks...
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
![]() |
![]() |
![]() |
#28 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
There are a lot of downsides to doing a lot of chunks on a small clip without a reasonably sophisticated control system. Generally fixed Closed GOPs. And VBV around the stitch points has to be conservative.
Obviously it CAN be done, but it limits the peak efficiency somewhat. |
![]() |
![]() |
![]() |
#29 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
Quote:
I'll do a test encode to the same ABR this weekend with all the whistles on and see what x265 can do. Probably not as good, but it'd be nice to have an apples-to-apples comparison. Still hoping someone will provide their best-effort AV1 and/or VP9 encodes! |
|
![]() |
![]() |
![]() |
#30 | Link | |
I am maddo saientisto!
Join Date: Aug 2018
Posts: 95
|
Quote:
In a recent set of tests I run I used this: Code:
vpxenc --codec=vp9 --frame-parallel=0 --tile-columns=2 --good --cpu-used=0 --tune=psnr --passes=2 --threads=2 --end-usage=q --cq-level={} --test-decode=fatal --ivf -o test.vp9.cq{}.ivf orig.i420.y4m EDIT: just to make sure, I'm downloading the ToS_1920x800_xdither.7z file. Is this good for the test? Last edited by SmilingWolf; 17th November 2018 at 15:28. |
|
![]() |
![]() |
![]() |
#32 | Link |
I am maddo saientisto!
Join Date: Aug 2018
Posts: 95
|
libvpx (VP9) 1.7.0-1363-gfa1e85b09
ffmpeg -i ToS_1920x800_xdither.y4m -c:v libvpx-vp9 -enable-tpl true -row-mt false -tile-columns 0 -tile-rows 0 -auto-alt-ref 1 -frame-parallel false -cpu-used 0 -deadline good -b:v <1/1.5/2>M -maxrate 4M -bufsize 12M -g 120 -pass 2 <outfile.mkv> 1M (937 kb/s): https://mega.nz/#!Q1wF0Q6Z!hv5R2ZECI...7r8YoadlVH8cAI 1.5M (1400 kb/s): https://mega.nz/#!I451lSpD!P3pYAUzMw...0WXme2YkEdsESs 2M (1931 kb/s): https://mega.nz/#!F4phRQBZ!RG_bsXj3n...g8hSlY03CrI1ks It gets especially bad around the 5:00 mark. Also, that "halo" effect which surrounds moving objects is really really annoying Last edited by SmilingWolf; 26th November 2018 at 20:40. |
![]() |
![]() |
![]() |
#33 | Link |
Registered User
Join Date: Oct 2017
Posts: 56
|
I created a lower bitrate xvc encode as well.
This one is below 0.5 mbps (462 kbps) but still I think it keeps it together quite ok. https://drive.google.com/open?id=1i2...LAHbfQnGIDksUO You need a player with xvc support to play it (such as the ffplay build from my earlier post: https://forum.doom9.org/showthread.p...84#post1855884) It took 20 hours to encode on my 4 core desktop computer. |
![]() |
![]() |
![]() |
#35 | Link | |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,345
|
Quote:
![]()
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
|
![]() |
![]() |
![]() |
#36 | Link |
I am maddo saientisto!
Join Date: Aug 2018
Posts: 95
|
libaom 1.0.0-943-ga7f959f06
aomenc --frame-parallel=0 --tile-columns=1 --auto-alt-ref=1 --cpu-used=4 --tune=psnr --passes=2 --pass=2 --fpf=<file.log> --threads=2 --end-usage=vbr --target-bitrate=1000 --maxsection-pct=400 --buf-sz=12000 --kf-max-dist=120 --test-decode=fatal --ivf -o <file.ivf> <file.y4m> 0.5M (484 kb/s): https://mega.nz/#!1owA1CaB!NHTMNqAS6...q213Bq5D2fLbLI 1M (921 kb/s): https://mega.nz/#!so5SUSCB!79tHA8d78...byXW7mYInkS5rQ 1.5M (1364 kb/s): https://mega.nz/#!MggEgQzA!71cMBPcjP...iIlZ7GG6330B3Q The aomenc CLI requires an unholy mix of times, percents and bitrates and it took tre different manuals to understand which options I needed, so I can only hope the encoded files honor the limits imposed by the challenge. Seriously, this thing needs a proper manual Last edited by SmilingWolf; 23rd November 2018 at 09:17. |
![]() |
![]() |
![]() |
#37 | Link |
Registered User
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 440
|
For progressive content MPEG-1 and MPEG-2 are very similar. then again resolutions larger than 352x288 and bitrates higher than 1.25Mbit are only in MPEG-2 profiles and levels as far as is know. That does not mean that unconstrained MPEG-1 video would not be able to reach almost the same quality as MPEG-2 video. The standards are only 2 years apart ( 1992 and 1994 ? ).
Now H.261 from 1989 would be interesting but it only supports QCIF and CIF resolutions without standard breaking modifications. |
![]() |
![]() |
![]() |
#38 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,997
|
Quote:
VP9 and VVC are the ones I’m most interested in adding to the hopper. And maybe we should add a 750 Kbps version based on the excellent showing of xvc? Last edited by benwaggoner; 26th November 2018 at 18:46. Reason: SmilingWolf gave us AV1! |
|
![]() |
![]() |
![]() |
#39 | Link |
Registered User
Join Date: Jan 2002
Posts: 333
|
I just tried the first 1500 frames with AV1 @1000 kb/s. aomenc is really slow 34 fpm ( cpu-used 4 )
Here the file is someone is interested to see the result : https://www.sendspace.com/file/dcf6ii peharps I'll try to encode it entirely if I find some time. Last edited by easyfab; 26th November 2018 at 22:38. |
![]() |
![]() |
![]() |
#40 | Link |
Registered User
Join Date: Feb 2017
Posts: 149
|
Benwaggoner, I'm sure you know, but Amazon is considered the gold standard for video encodes often times beating out blu-ray. Now that I've buttered you up, I have a question: What's your opinion on using HEVC and animation? As it is, there is no animation tune given by the x265 developers and it appears it's because the combination of hard edges, flat cels, grain, and detailed backgrounds tends to throw HEVC for a loop. There are a few dedicated scene groups with their own "optimized" encoder settings, but none have really seemed to get it. Has Amazon "gotten it"?
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|