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. |
28th January 2021, 15:49 | #1 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
x264 10 bit decoder and script
I have a bunch of files I encoded years ago as x264 10 bit, some 4:2:0 and others 4:4:4.
With my horror, I discovered there are no hw decoder for those formats and my TV is dying trying to playing them. I am so used to DGIndexNV that I almost don't know anything about other decoders. What can I use to decode them and feed as same bitdepth stream to x265? A script example would be great.
__________________
@turment on Telegram |
29th January 2021, 00:26 | #2 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
FFMS2 or L-SMASH-Works. There's really not much to using those source filters at all; the index will get created on script open, but for FFMS2 you can create it ahead of time with ffmsindex. For LwLibav*Source, there is no separate indexing app aside from aui_indexer (right?), but you can just open the script in ffprobe to see the indexing process without it then continuing onto encoding.
Then hand it over to libx265 in FFmpeg, which keeps the input depth without having to force it the way the x265 CLI* requires. *requires a patched build of x265's CLI that accepts AviSynth input. Code:
ffmpeg -i input.avs -vcodec libx265 [x265 options] output-video.mp4 Although honestly, I'd probably just transcode straight through ffmpeg and not bother with AviSynth in this case, unless you also wanted to use AviSynth filters on the videos. Code:
ffmpeg -i input.mkv -vcodec libx265 [x265 options] -acodec copy output.mkv |
29th January 2021, 13:07 | #3 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,542
|
Quote:
I prefer to use AVS to x265 instead of FFMPEG to have the possibility to use other filters too.
__________________
@turment on Telegram |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|