kalehrl
27th February 2012, 16:13
Yesterday I tried to do my first HD h264 mkv encode but it didn't go well. In the past I successfully encoded SD h264 mkvs using MeGUI.
I captured a DVB full HD recording in a ts file.
The specs are these:
General
ID : 1 (0x1)
Complete name : D:\Dreambox\movie\convertxtodvd\Nat Geo Wild HD - Ultimate Predator (02).ts
Format : MPEG-TS
File size : 3.86 GiB
Duration : 44mn 59s
Overall bit rate : 12.3 Mbps
Video
ID : 513 (0x201)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 44mn 59s
Bit rate : 11.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.221
Stream size : 3.60 GiB (93%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 644 (0x284)
Menu ID : 1 (0x1)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 3
Duration : 44mn 59s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 72.1 MiB (2%)
Language : English
I extracted the audio and video using a HD Streams Extractor and got a mkv file which plays fine.
SAMPLE (http://www.mediafire.com/?d87ixx51uc56a8d)
I then indexed it and tried to encode it using this script which I created with MeGUI:
LoadPlugin("D:\Programs\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\ffms\ffms2.dll")
FFVideoSource("D:\Dreambox\movie\convertxtodvd\T1_Video - .mkv", threads=1)
Load_Stdcall_Plugin("D:\Programs\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 0, 0, 0, 0)
Spline36Resize(1280,720) # Spline36 (Neutral)
LoadPlugin("D:\Programs\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
After 4.5 hours I got a file which stutters like crazy.
SAMPLE (http://www.mediafire.com/?54c307hna9vd93a)
Instead of 25fps it now reports 50fps.
I also tried playing the avs script using MPC and there it also stutters. Tried also DSS2 or DirectShowSource but I get the same stuttering.
Thank you for your opinions.
I captured a DVB full HD recording in a ts file.
The specs are these:
General
ID : 1 (0x1)
Complete name : D:\Dreambox\movie\convertxtodvd\Nat Geo Wild HD - Ultimate Predator (02).ts
Format : MPEG-TS
File size : 3.86 GiB
Duration : 44mn 59s
Overall bit rate : 12.3 Mbps
Video
ID : 513 (0x201)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 44mn 59s
Bit rate : 11.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.221
Stream size : 3.60 GiB (93%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 644 (0x284)
Menu ID : 1 (0x1)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 3
Duration : 44mn 59s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 72.1 MiB (2%)
Language : English
I extracted the audio and video using a HD Streams Extractor and got a mkv file which plays fine.
SAMPLE (http://www.mediafire.com/?d87ixx51uc56a8d)
I then indexed it and tried to encode it using this script which I created with MeGUI:
LoadPlugin("D:\Programs\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\ffms\ffms2.dll")
FFVideoSource("D:\Dreambox\movie\convertxtodvd\T1_Video - .mkv", threads=1)
Load_Stdcall_Plugin("D:\Programs\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 0, 0, 0, 0)
Spline36Resize(1280,720) # Spline36 (Neutral)
LoadPlugin("D:\Programs\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
After 4.5 hours I got a file which stutters like crazy.
SAMPLE (http://www.mediafire.com/?54c307hna9vd93a)
Instead of 25fps it now reports 50fps.
I also tried playing the avs script using MPC and there it also stutters. Tried also DSS2 or DirectShowSource but I get the same stuttering.
Thank you for your opinions.