Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to compress 4k HD video to mp4 using hevc and h265 codec and fdk_aac. (Read 1032 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to compress 4k HD video to mp4 using hevc and h265 codec and fdk_aac.

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.
Regards,
Rupesh.

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

Reply #1
While there are people on here who can, no doubt, help you, you would be better to ask your question on the Doom9 forums:

https://forum.doom9.org/

which is dedicated to re-encoding of video, etc.

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

Reply #2
Encoding using the x265 encoder takes a lot of cpu power, so hours on an old cpu is perfectly normal.
Try the "very fast" preset in Handbrake. Or maybe an even faster setting.
Or if it is still not fast enough for you, then use h.264.

And be patient :)

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

Reply #3
Hello Rupesh!

Like Mark7 said, H265 is slow, painfully slow, even on modern hardware.
Based on your specifications, I would say forget about it. Use H264, it is much faster.
All these things can be done using ffmpeg but there is a problem. fdk-aac is not included in it so you will need to
compile your own version. There is a script that can help you compile it.
https://github.com/m-ab-s/media-autobuild_suite
If you are familiar with ffmpeg and CLI in general, you can even encode audio separately using the better Apple AAC codec.
You mentioned that you want to use 1100 kbit/s bitrate. This means that you will need to use two pass encoding.
(Think of it as encoding the same video twice.)
Quality will be much better and size will be smaller.
Be careful about desired bitrate tho. Encoding a video with lots of still images
(for example Photoshop tutorials or something similar) or gameplay videos are extremely different.
There is no one-bitrate-for-everything.
Everything above 16/44 is scam.
Always download first release, never remastered/HD release.

 

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

Reply #4
Quote
5500 kbps and audio bitrate is 320 kbps and video resolution is 2400 by 2000 etc.,.
A regular DVD has a resolution of 720x480 (NTSC) or 720x576 (PAL).     Of course, you can burn anything onto a blank DVD disc but since you have VOB files, I assume it's a standard video DVD.

Standard VOB files are MPEG-2 video.  The audio has to be LPCM or Dolby AC3 on NTSC discs and PAL also allows MPEG-2 audio.   It can have DTS audio, but it has to be in addition to one of the standard formats that all players have to support.

There are DVD ripping programs that will convert to almost any A/V format while combining the VOB files to make a continuous movie file.     Most of them are black market applications because most of them also crack the copy protection.

XMedia Recode can do almost any audio/video conversion but it won't crack copy protection.

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

Reply #5
I have not seen correctly the video resolution of the vob file but I have seen clearly that video bitrate is more than 5500 kbps.

While coming to audio properties the bitrate is 320 kbps and it has 5.1 channel audio.

I have seen all properties of the vob file in Windows explorer itself.
Regards,
Rupesh.

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

Reply #6
If you have multiple computers available to you, RipBot264 has a distributed encoding more that can make x265 encodes fly.

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

Reply #7
You said that you bought three DVDs. Do you need three separate MP4 files or do you need to combine all of them into single MP4 file?
For ripping the DVD, I would suggest the good old DVD Decrypter. After that you can use ffmpeg's concat function to join the files.
Keep in mind that some VOB files are used only for intro and menu background so you will not need them.
If your DVDs are standard DVDs like DVDdoug mentioned, there is no need to use H265. H264 is more than enough.
For audio, there is no way to have 5.1 audio with 96 kbit/s. Best you can do is stereo.
What would really help is to have more information about your files. Install MediaInfo if you can and send us the details.
Everything above 16/44 is scam.
Always download first release, never remastered/HD release.

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

Reply #8
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

Regards,
Rupesh.

 
SimplePortal 1.0.0 RC1 © 2008-2021