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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link | |
|
Registered User
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
|
h265 file to MKV
Hello Guys,
I encoded AVS file to .h256 using the "x265GUI" Preset I used: Quote:
I checked the avs script with AvsP and it works fine...! Here is the screenshots and media info of the muxed video.. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Code:
General
Unique ID : 196873714358907975396528014394624923709 (0x941C7F885FCF4C9AB0B3849388F9583D)
Complete name : I.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 399 MiB
Duration : 2h 50mn
Overall bit rate : 327 Kbps
Encoded date : UTC 2015-02-25 11:05:29
Writing application : mkvmerge v7.6.0 ('Garden of Dreams') 32bit built on Feb 8 2015 12:51:39
Writing library : libebml v1.3.1 + libmatroska v1.4.2
DURATION : 02:50:19.520000000
NUMBER_OF_FRAMES : 239520
NUMBER_OF_BYTES : 81673491
_STATISTICS_WRITING_APP : mkvmerge v7.6.0 ('Garden of Dreams') 32bit built on Feb 8 2015 12:51:39
_STATISTICS_WRITING_DATE_UTC : 2015-02-25 11:05:29
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L2.1
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2h 50mn
Width : 608 pixels
Height : 256 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 2h 50mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Delay relative to video : 31ms
Default : Yes
Forced : No
![]() Thanks & Regards, Music Rockz |
|
|
|
|
|
|
#3 | Link |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
|
It looks like your VLC decoding is broken, not your encoding, most likely because 608 isn't a multiple of 16. When was the last time you updated VLC?
Edit: Looking at it again, I think it's a bug in ffmpeg's handling of avisynth, since the frame breaks are in the middle of encoding blocks. The x265ui developers will have to fix or workaround that; in the meantime if you make everything mod-16 it'll probably work better. Last edited by foxyshadis; 26th February 2015 at 00:09. |
|
|
|
|
|
#7 | Link |
|
Guest
Posts: n/a
|
This is the first I've heard of x265GUI. I can't recommend it. There are many other better choices available including Handbrake, Hybrid, MeGUI, IFME, and Staxrip.
Don't use --rd 0. That is an experimental RD level, and it is not producing worthwhile results. I wouldn't recommend changing any x265 options that are defined by our performance presets unless you are willing to first test your changes to see if they are actually better than the default preset values. |
|
|
|
#8 | Link | |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Quote:
Also, last I checked (a few months ago), VLC didn't allow users to input AviSynth scripts through libavformat. It doesn't seem to automatically expose any codec or demuxer present in the libavcodec/format libraries. |
|
|
|
|
|
|
#10 | Link | |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
|
Quote:
|
|
|
|
|
|
|
#12 | Link | |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Quote:
x265GUI (Build180 by ozok) uses x265 0.4.1+546-ccac3a7d3622, which is way too old to be at all useful (October 2013). It's little wonder why the output from it is borked. I can't even remember if it supported y4m piping at that point. It could be taking it in raw. I've never seen any video corruption like in those screenshots when using FFmpeg with AviSynth (before or after the complete overhaul of libavformat's AviSynth demuxer in 2013; it uses the library directly now, just like x264 does), but seeing the old version number from x265 jogged my memory: I do remember that I did see corrupted output like that from wonky configurations of x265 at really early points in its history. The simple answer to how to convert an AviSynth script to HEVC in MKV is to use a current build of FFmpeg linked against x265: Code:
ffmpeg -i input.avs -vcodec libx265 -crf 18 -acodec flac output.mkv |
|
|
|
|
|
|
#13 | Link | |
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
Quote:
have not used it in a long time. |
|
|
|
|
|
|
#14 | Link | |
|
Registered User
Join Date: Nov 2014
Location: Sri Lanka
Posts: 40
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|