Log in

View Full Version : How to compress 4k HD video to mp4 using hevc and h265 codec and fdk_aac.


rupeshforu3
10th March 2021, 13:32
Hi I am Rupesh from India and I have PC and a DVD drive. From others I have bought a DVD which consists of video but the quality is too high and so size also. I want to compress them to mp4.

I have brought three DVDs from my friend and these consists of upto 30 .vob files and the total files size is upto 32 GB.

I have opened the properties of one file and it is showing that video bitrate is 5500 kbps and audio bitrate is 320 kbps and video resolution is 2400 by 2000 etc.,.

Now I want to convert these vob files to mp4 using hevc and h265 video codec and fdk_aac audio codec.

I have tried to convert these vob files using handbrake and avidemux in both Windows and Linux operating systems.

To convert one file it is taking time upto two hours.

Someone suggested that we must have separate hardware hevc pci card to encode any video to mp4 but my PC is old I mean it has amd radeon 3000 HD graphics.

Can any one of you suggest how to convert these vob files to mp4 with 1024 by 768 resolution and at 1100 video bitrate and 96 kbps audio bitrate.

Regards,
Rupesh.

rupeshforu3
10th March 2021, 13:33
Hi I am providing text below which consists of the properties extracted from media info tool

General
Complete name : G:\VIDEO_TS\VTS_02_1.VOB
Format : MPEG-PS
File size : 1 024 MiB
Duration : 23 min 19 s
Overall bit rate mode : Variable
Overall bit rate : 6 137 kb/s

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Duration : 23 min 19 s
Bit rate mode : Variable
Bit rate : 5 567 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.537
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
Stream size : 929 MiB (91%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B/G
Matrix coefficients : BT.470 System B/G

Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 23 min 19 s
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 74.7 MiB (7%)
Service kind : Complete Main

Menu

tebasuna51
11th March 2021, 14:46
Video
...
Bit rate : 5 567 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Color primaries : BT.601 PAL

Audio
...
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs

...Can any one of you suggest how to convert these vob files to mp4 with 1024 by 768 resolution and at 1100 video bitrate and 96 kbps audio bitrate.

1) Upsize to 1024x768 a source of 720x576 is a bad idea, much more if you want a low video bitrate. Preserve the source resolution for best quality, any TV or player can upsize the video when play to fit the screen resolution.

2) A audio bitrate of 96 Kb/s is to low for 6 channels, if you don't need multichannel maybe is better downmix to stereo.

3) To convert DVD videos there are other questions to see:
Crop black bordes, adjust the aspect ratio and color space, add VOB files to a unique output movie file, ...
I recommend you use some soft like MeGUI or others to help you (https://forum.doom9.org/forumdisplay.php?f=78).

rupeshforu3
12th March 2021, 04:18
OK I don't want to upsize the video resolution and also I don't want to change aspect ratio. Coming to audio I want to downmix to stereo with bitrate at 96 kbps.

Can I post again in MeGUI so that many people will see and give suggestions.

stax76
12th March 2021, 09:18
MeGUI isn't maintained, is it? It is hopelessly outdated. As beginner Handbrake or VidCoder is a good choice.

rupeshforu3
12th March 2021, 15:55
I think that I have not created thread in right place and so no one has seen my thread except only three people and so I want to create a new thread with same content under megui section.

Can I do it.

kolak
12th March 2021, 18:15
OK I don't want to upsize the video resolution and also I don't want to change aspect ratio. Coming to audio I want to downmix to stereo with bitrate at 96 kbps.

Can I post again in MeGUI so that many people will see and give suggestions.

Just encode as square pixels.
16x9 files change to 720x406 (don't see point going 1024x576 as different won't be worth it)
4x3 files change to 720x540

Separate issue is interlacing. If they are interlaced then you maybe want to deinterlace them.
All can be done in eg. Handbrake.
Also- at those resolutions you may want to use x264 as x265 wont gain that much. For you it will be huge gain in encoding time.
You are trying to hard. All those re-encodes are simply not worth it and will just waste time and energy :)